[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: clean docker library dir



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,

— 
Ezri

On Aug 2, 2024, at 20:13, Corey H <coreyh@free.fr> wrote:

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.


Reply to: