Created
September 16, 2016 09:17
-
-
Save take4/c182e51916296e7654a389ac78b0ff0c to your computer and use it in GitHub Desktop.
Dockerで溜まったゴミを削除する
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 rm $(docker ps -a -q) | |
docker rmi $(docker images -f "dangling=true" -q) | |
docker volume rm $(docker volume ls | awk 'NR > 1 {print $2}') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment