Answered
Hey, So We Noticed The
Hey, so we noticed the /var/lib/docker/overlay2
directory on the clearml-server is growing a lot in size, we added more disk space but we want to put something in place to stop this growing too much.
These are the options I’ve looked into:
docker system prune
- removes all stopped containers, all networks not used by at least one container, all dangling images, all dangling build cache, Problem: we don’t really know what this is pruningdocker image prune --all
- removes all images without at least one container associated to them- Set the
max-size
in docker-compose.yaml for logging
Are the first 2 options safe to run without killing the server? I’m not happy on removing files without knowing what they are.
Are there any plans to automate this in the future?
Show more results
replies
26K Views
43
Answers
3 years ago
8 months ago
Tags
Similar posts