Skip to content

Instantly share code, notes, and snippets.

@tgkprog
Created June 14, 2023 21:31
Show Gist options
  • Save tgkprog/9366f4847f99ef90da1393bf4277c927 to your computer and use it in GitHub Desktop.
Save tgkprog/9366f4847f99ef90da1393bf4277c927 to your computer and use it in GitHub Desktop.
docker commands
Remove all containers, -v is to remove anonymouse volumes connected to that container as well. can add -f
sudo docker ps -a --format "{{.ID}}" | xargs -L1 sudo docker rm -v
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment