Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save stephenpatten/c24c7bbf66eaeb01730bcf2fe45498ee to your computer and use it in GitHub Desktop.
Save stephenpatten/c24c7bbf66eaeb01730bcf2fe45498ee to your computer and use it in GitHub Desktop.
How to remove unused Docker containers and images

May 8, 2018

I wrote this four years ago, so instead use this command:

$ docker rmi $(docker images -q -f dangling=true)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment