L
L
Larisa .•º2020-08-18 08:15:46
Docker
Larisa .•º, 2020-08-18 08:15:46

Why is overlay2 growing in Docker?

To run multiple replicas, I use docker swarm from one image.
Now I have 6 replicas running and each replica has the --restart=always flag set.
And after a while I noticed that the size of /Containers in the docker is growing strongly, or rather the
/var/lib/docker/overlay2 directory.

Tell me which way to dig, I assume that the dosker does not delete itself when the container is restarted. How can this be overcome? Thank you.

Now the picture is
5f3b63d3e8e77924944541.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dmitry, 2020-08-18
@q2digger

docker system prune

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question