Skip to content

Instantly share code, notes, and snippets.

@chipsenkbeil
Created October 6, 2015 15:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save chipsenkbeil/d664d810c20bf79aa38d to your computer and use it in GitHub Desktop.
Save chipsenkbeil/d664d810c20bf79aa38d to your computer and use it in GitHub Desktop.
Some common Docker lines
# Delete all containers including those that have completed
docker rm -f `docker ps -aq`
# Delete all images with <none> as the label
docker rmi `docker images | grep "<none>" | awk '{print $3}'`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment