Create a gist now

Instantly share code, notes, and snippets.

Some docker command line magic to keep track of...

Remove all unlabelled images:

docker rmi $(docker images | grep "^<none>" | awk "{print $3}")

Remove all old containers:

docker rm `docker ps -notrunc -a -q`

Disable caching of build steps with docker build -no-cache ...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment