Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save sannithibalaji/c243fc3692b17bfa90017665e9996a18 to your computer and use it in GitHub Desktop.
Save sannithibalaji/c243fc3692b17bfa90017665e9996a18 to your computer and use it in GitHub Desktop.
docker_snippets
-a for showing all, -q for only returning id.
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