-
-
Save jonaskahn/27f727670ef7dd02dce217a09e4d7f40 to your computer and use it in GitHub Desktop.
Prune docker system and remove all containers, images, volumes with one command.
This file contains 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
docker container stop $(docker container ls -aq) | |
docker container rm $(docker container ls -aq) | |
docker system prune -a |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment