Skip to content

Instantly share code, notes, and snippets.

@robinvdvleuten
Created November 22, 2013 08:31
Show Gist options
  • Save robinvdvleuten/7596693 to your computer and use it in GitHub Desktop.
Save robinvdvleuten/7596693 to your computer and use it in GitHub Desktop.
Useful Docker commands
# Remove all stopped containers.
docker rm $(docker ps -a -q)
# Remove all untagged images
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