Created
August 30, 2015 12:59
-
-
Save hdemon/360b2a12d8d12f1b9233 to your computer and use it in GitHub Desktop.
docker idioms
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
# 全てのコンテナを消す | |
sudo docker ps -a | grep Exit | awk '{print $1}' | sudo xargs docker rm | |
# 全てのイメージを消す | |
sudo docker rmi $(sudo docker images -q) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment