Skip to content

Instantly share code, notes, and snippets.

View WillPapper's full-sized avatar

Will Papper WillPapper

View GitHub Profile
@RogWilco
RogWilco / docker_nuke.sh
Created October 10, 2019 23:50
Docker Nuke -> it's the only way to be sure!
#!/usr/bin/env bash
docker_nuke() {
local COLOR_RED="\033[0;31m"
local COLOR_GREEN="\033[0;32m"
local COLOR_CYAN="\033[0;36m"
local containers="$(docker ps -aq)"
local images="$(docker images -q)"
local success="$COLOR_GREEN✓"
@crypticmind
crypticmind / README.md
Last active March 25, 2024 06:26
Setup lambda + API Gateway using localstack
@beeman
beeman / remove-all-from-docker.sh
Created November 15, 2016 03:04
Remove all from Docker
# Stop all containers
docker stop `docker ps -qa`
# Remove all containers
docker rm `docker ps -qa`
# Remove all images
docker rmi -f `docker images -qa `
# Remove all volumes