See: https://docs.docker.com/reference/cli/docker/system/prune/
You may also want to do `docker system prune --all` to also remove all
**stopped** containers.
Please also do `docker ps -a` to show all running *AND* stopped containers to
make sure you know what you are deleting.
Good luck,
—
Ez
Hello
My VPS has docker installed, which consumes a lot of disk.
/var/lib/docker# du -sh .
71.0G .
I tried 'docker system prune' which seems not to delete the libraries it
intalled.
Do you know how to clean the objects in '/var/lib/docker'?
Thanks.
2 matches
Mail list logo