Skip to content

Instantly share code, notes, and snippets.

@schie
Created October 23, 2017 22:48
Show Gist options
  • Save schie/6793b0e7a2b9a7d60625fce628b95a60 to your computer and use it in GitHub Desktop.
Save schie/6793b0e7a2b9a7d60625fce628b95a60 to your computer and use it in GitHub Desktop.
Useful Docker Commands

Delete All Containers

$ docker rm $(docker ps -a -q)

Delete All Images

$ docker rmi $(docker images -q)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment