Skip to content

Instantly share code, notes, and snippets.

@kenny1har
Created February 20, 2017 11:19
Show Gist options
  • Save kenny1har/3978f9db37aa668fbd3831e876079b17 to your computer and use it in GitHub Desktop.
Save kenny1har/3978f9db37aa668fbd3831e876079b17 to your computer and use it in GitHub Desktop.
docker rm $(docker ps -a | grep Exited | awk '{print $1}')
docker rmi $(docker images -q -f "dangling=true")
docker volume rm $(docker volume ls -qf dangling=true)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment