Skip to content

Instantly share code, notes, and snippets.

@julianobailao
Last active July 5, 2023 20:43
Show Gist options
  • Save julianobailao/2858a5fedded4dc3a9594c4b79ee16b5 to your computer and use it in GitHub Desktop.
Save julianobailao/2858a5fedded4dc3a9594c4b79ee16b5 to your computer and use it in GitHub Desktop.
Docker remove all containers

Command to stop and remove all docker containers

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