Skip to content

Instantly share code, notes, and snippets.

@hhcordero
Last active November 6, 2015 07:58
Show Gist options
  • Save hhcordero/dd9c063902e49e050297 to your computer and use it in GitHub Desktop.
Save hhcordero/dd9c063902e49e050297 to your computer and use it in GitHub Desktop.
Docker Cheat Sheet
# Remove dangling images without warning if no image found
docker images -qf dangling=true | xargs docker rmi
# Remove exited container
docker rm -v $(docker ps -a -q -f status=exited)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment