I’m having some misunderstanding about how Docker works and I would like to figure it out.
I’m running 6 containers in my system, and I have an issue : when I use
docker-compose up -d command to build and start my containers, everything goes fine, but after a while (~ a week), my /var/lib/docker filesystem grow to 100% disrupting my containers proper functioning. The only way to resolve the issue is to
docker-compose down then
docker-compose up -d again, then the filesystem goes back to ~ 50%.
Could you explain me how to solve this issue, for example limiting the usage of disk space for my containers ?
I can show you my docker-compose.yml file if needed.
Thanks you in advance for your answers, sorry for my bad english and sorry again if this question was already asked.