Skip to content

Instantly share code, notes, and snippets.

@zdk
Last active December 24, 2015 01:59
Show Gist options
  • Save zdk/6727896 to your computer and use it in GitHub Desktop.
Save zdk/6727896 to your computer and use it in GitHub Desktop.
docker ps -a | grep Exit | awk '{print $1}' |xargs docker rm
@zdk
Copy link
Author

zdk commented Apr 5, 2014

Remove all images

docker images | awk '{print $3}' | xargs docker rmi

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