Last active
August 29, 2015 14:10
-
-
Save debianmaster/86cefbadab5bfe7bc2ea to your computer and use it in GitHub Desktop.
Docker Utility commands
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
remove all images which has temp in its name | |
docker rmi -f $(docker images | awk {'print $1,$3'} | grep temp | awk {'print $2'}) | |
for fig.yml | |
To make any changes effective following steps are needed | |
fig build imagename | |
fig stop | |
fig rm | |
fig up |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
docker stop $(docker ps -a -q)
docker rm $(docker ps -a -q)