Last active
April 19, 2018 04:16
-
-
Save jericrealubit/133efd34f4c86a9979b83e1379b549aa to your computer and use it in GitHub Desktop.
docker system cleanup
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
#!/bin/bash | |
#check disk space | |
df -h | |
#check dangling volume | |
docker volume ls -qf dangling=true | |
docker system prune -a --volumes |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment