Skip to content

Instantly share code, notes, and snippets.

@debianmaster
Last active August 29, 2015 14:10
Show Gist options
  • Save debianmaster/86cefbadab5bfe7bc2ea to your computer and use it in GitHub Desktop.
Save debianmaster/86cefbadab5bfe7bc2ea to your computer and use it in GitHub Desktop.
Docker Utility commands
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
@cjonagam
Copy link

docker stop $(docker ps -a -q)
docker rm $(docker ps -a -q)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment