Remove Unused Containers, Networks, Images and Volumes
há 3 anos
It's safe to run the following command while containers are running, because it removes only unused resources (not used by at least one container):
docker system prune --all --volumes
More information: How to remove old and unused Docker images
Is the previous command the same as the following?
sudo docker container prune sudo docker image prune sudo docker volume prune sudo docker network prune