Skip to content

Instantly share code, notes, and snippets.

@jimbrig
Forked from zsoumya/readme.md
Created December 17, 2020 23:38
Show Gist options
  • Save jimbrig/5f72e89294243bdffa291ced833a92af to your computer and use it in GitHub Desktop.
Save jimbrig/5f72e89294243bdffa291ced833a92af to your computer and use it in GitHub Desktop.
Docker Cheat Sheet

Docker Cheat Sheet

Stop all containers

docker container stop $(docker container ls -aq)

Remove all containers

docker container rm $(docker container ls -aq)

Remove all images

docker image rm $(docker image ls -aq)

Prune system

docker system prune -af --volumnes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment