Skip to content

Instantly share code, notes, and snippets.

@bgmarx
Last active June 14, 2018 21:44
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 bgmarx/4d713bb8aba5775be1f114a023dc5dc7 to your computer and use it in GitHub Desktop.
Save bgmarx/4d713bb8aba5775be1f114a023dc5dc7 to your computer and use it in GitHub Desktop.
# Delete every Docker containers
# Must be run first because images are attached to containers
docker rm -f $(docker ps -a -q)
# Delete every Docker image
docker rmi -f $(docker images -q)
#
docker inspect
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment