# Docker Hard Disk Image File Being Too Large

**URL:** https://discuss.elastic.co/t/docker-hard-disk-image-file-being-too-large/347443
**Category:** Logstash
**Tags:** docker
**Created:** [November 18, 2023, 6:30am UTC](https://discuss.elastic.co/t/docker-hard-disk-image-file-being-too-large/347443 "2023-11-18T06:30:05Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![Ethan777100](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ethan777100/32/70366_2.png) [@Ethan777100](https://discuss.elastic.co/u/Ethan777100)
#### Post date: [November 20, 2023, 9:43am UTC](https://discuss.elastic.co/t/docker-hard-disk-image-file-being-too-large/347443/2 "2023-11-20T09:43:41Z")

</div>

TYPE TOTAL ACTIVE SIZE RECLAIMABLE  
Images 3 2 3.057GB 766.5MB (25%)  
Containers 3 2 1.32GB 0B (0%)  
Local Volumes 3 3 2.02GB 0B (0%)  
Build Cache 0 0 0B 0B

My "C:\Users\ethan\AppData\Local\Docker\wsl\data\ext4.vhdx" being 25.6GB huge when I'm merely ingesting 492MB worth of csv files?

I checked my configs in logstash.yml and logstash.conf.

I bind mounted these files to logstash to be piped in.

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/8/a/8a754adb89a2522db5c3a0916f5107d19f9738d7.png)

I have tweaked things. Now I am only ingested 1 month worth of csv files to investigate.

I did docker system df and i see that my Local Volumes are growing in sizze. Nothing can be relcaimed in space.

Within logstash, I can confirm bind mounts to my csv files.

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/7/a/7a6999400b3c76be9c1783b062e8949b734de5f3.png)

However, I searched within the ES file directory. Can't find anything big where my datalake resides.

So from 8.5GB -\> 14.6GB and counting.

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/6/4/640c9a2f7235c39225a77d01b65cde68d845e4d4.png)

========================================

I have tried shutting down docker and killing off `vmmem.wsl` so that I can use `diskpart` to `compact vdisk`. I could cut the file size fo 8.5GB.

However when docker restarts, the file grows again.

THis is not good. Im not sure what else to troubleshoot. Pls help me.

---

_[View the full topic](https://discuss.elastic.co/t/docker-hard-disk-image-file-being-too-large/347443)._
