Created
March 11, 2022 15:36
-
-
Save TheDeveloper/1b5ed5327416349e92e2b327751cdaa0 to your computer and use it in GitHub Desktop.
docker-prune
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
#!/bin/bash | |
set -x | |
docker stop $(docker ps -a -q) | |
docker system prune --volumes |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment