Docker Community Forums

Share and learn in the Docker community.

Docker with ElasticSearch takes +75Gb of storage, logs suspected


I play with Docker ELK for some days now and I am encoutering many storage problems.

The first time, Docker declared “no space left on drive”. For which I erased all unused containers, volumes and images.

The second time, it told me the same. So I’ve modified my docker daemon configuration :

  "storage-driver": "overlay2",
  "log-driver": "json-file",
  "log-opts": {
    "max-size": "10m",
    "max-file": "3"

And now, it seems I don’t experience the problem anymore, but I see in the “advanced” settings panel on Windows that the disk image of Docker takes 78Gb of storage ! What I inserted in ElasticSearch takes only 100Mb.

  • Is it normal ?
  • Are logs really limited with this configuration ?
  • How can we see the size of Docker containers logs in Windows, and suppress them ? (docker logs {container_id}).

Thank you.