Skip to content

Instantly share code, notes, and snippets.

@KonradLinkowski
Forked from beeman/remove-all-from-docker.sh
Last active March 10, 2020 09:50
Show Gist options
  • Save KonradLinkowski/0384e8d0587928c8e69e1f54e5d20cf7 to your computer and use it in GitHub Desktop.
Save KonradLinkowski/0384e8d0587928c8e69e1f54e5d20cf7 to your computer and use it in GitHub Desktop.
Remove all from Docker
docker stop `docker ps -qa` && docker rm `docker ps -qa` && docker rmi -f `docker images -qa ` && docker volume rm $(docker volume ls -qf) && docker network rm `docker network ls -q`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment