Skip to content

Instantly share code, notes, and snippets.

@vitorfs
Created November 7, 2017 12:57
Show Gist options
  • Save vitorfs/f961b7b0507109b14cee5ce87a578214 to your computer and use it in GitHub Desktop.
Save vitorfs/f961b7b0507109b14cee5ce87a578214 to your computer and use it in GitHub Desktop.
Stop and remove all Docker containers and images
docker stop $(docker ps -a -q)
docker rm -f $(docker ps -a -q)
docker rmi -f $(docker images -q)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment