Last active
May 27, 2019 17:04
-
-
Save verticalgrain/31e91c709c57f65c3797e95af17764d4 to your computer and use it in GitHub Desktop.
Docker Gist
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // clean cache and do some ot her scary stuff | |
| docker system prune -a | |
| // List all containers (only IDs) | |
| docker ps -aq. | |
| // Stop all running containers. | |
| docker stop $(docker ps -aq) | |
| // Remove all containers. | |
| docker rm $(docker ps -aq) | |
| // Remove 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