Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Purging All Unused or Dangling Images, Containers, Volumes, and Networks
- docker system prune -a
- # Remove all images
- docker rmi $(docker images -a -q)
- # Remove all exited containers
- docker rm $(docker ps -a -f status=exited -q)
- # Stop and remove all containers
- docker stop $(docker ps -a -q)
- docker rm $(docker ps -a -q)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement