# Elastic stack 7.9.2 - my /var/lib/docker is heavy

**URL:** <https://discuss.elastic.co/t/elastic-stack-7-9-2-my-var-lib-docker-is-heavy/259880>\
**Category:** Elasticsearch\
**Tags:** docker\
**Created:** [December 30, 2020, 12:30pm UTC](https://discuss.elastic.co/t/elastic-stack-7-9-2-my-var-lib-docker-is-heavy/259880 "2020-12-30T12:30:27Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Waxman](https://avatars.discourse-cdn.com/v4/letter/w/c2a13f/32.png) [@Waxman](https://discuss.elastic.co/u/Waxman)\
**Post date:** [December 30, 2020, 12:30pm UTC](https://discuss.elastic.co/t/elastic-stack-7-9-2-my-var-lib-docker-is-heavy/259880/1 "2020-12-30T12:30:27Z")

</div>

Hi Everyone,

I've noticed that my folder /var/lib/docker is pretty huge for all ELK nodes. It's from 2GB up to 6GB (depending on how many dockers is running on a virtual server). When I stop running dockers (let's say on a first elk node) the size of /var/lib/docker is getting lower: from 2.6 GB to 1.3 GB. I"ve removed all unused dockers images and volumes - no changes. I have persistent volumes mounted in a docker-compose file:

```auto
 volumes:
      - /srv/data:/usr/share/elasticsearch/data
      - /srv/Docker/config:/usr/share/elasticsearch/config
      - /srv/Docker/logs:/usr/share/elasticsearch/logs
      - /srv/backup:/usr/share/elasticsearch/backup
      - /srv/backup2:/usr/share/elasticsearch/backup2

```

Dockers should be stateless - what's wrong with my config ?

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [January 27, 2021, 12:30pm UTC](https://discuss.elastic.co/t/elastic-stack-7-9-2-my-var-lib-docker-is-heavy/259880/2 "2021-01-27T12:30:54Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
