Removing All Unused Docker Objects
The docker system prune command removes all stopped containers, dangling images, and unused networks:
docker system prune
If you want to remove all unused images not just the dangling ones, add the -a (--all) option to the command:
docker system prune -a
Comments
Post a Comment