Created
June 8, 2018 08:03
-
-
Save cybrox/25fe448f68ee890ec9c3783b51c4f842 to your computer and use it in GitHub Desktop.
Reclaim Disk Space from Docker
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
docker rm -v $(docker ps -f status=dead -f status=exited -aq) | |
docker rmi $(docker images --no-trunc -qf dangling=true) | |
docker volume rm $(docker volume ls -qf dangling=true) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment