Created
April 30, 2019 09:23
-
-
Save sysatom/d4fafcb32078cb244033803c94b7c2a4 to your computer and use it in GitHub Desktop.
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
# stop | |
docker stop $(docker ps -a | grep "Exited" | awk '{print $1 }') | |
# remove | |
docker rm $(docker ps -a | grep "Exited" | awk '{print $1 }') | |
# remove | |
docker rmi $(docker images | grep "none" | awk '{print $3}') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment