Re: clean docker library dir

2024-08-02 Thread Ezri Zhu
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

clean docker library dir

2024-08-02 Thread Corey H
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.