Skip to content

Instantly share code, notes, and snippets.

View onelittlebecca's full-sized avatar

Becca onelittlebecca

View GitHub Profile
@greyltc
greyltc / dockerSuperClean.sh
Last active December 7, 2022 12:16
removes all traces of all docker containers/images from your system
#!/usr/bin/env bash
# this removes every single docker container, image and volume on your system
# bash <(curl --silent --location https://gist.github.com/greyltc/361d6abb69d50090e62e/raw)
#FORCE="--force"
echo "Cleaning up all the docker things!"
echo "Containers..."
for c in $(docker container ls --all --quiet)
do