Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- docker stop `docker ps -q`
- docker rm `docker ps -aq`
- docker rmi `docker images -q` -f
- docker rmi `docker images -q` -f # because it doesnt always work the first time
- y | docker system prune
- y | docker image prune
- y | docker volume prune
Add Comment
Please, Sign In to add comment