Docker overlay2 uses entire disk space

Hello,

Im having an issue, that the docker overlay2 uses almost all of my disk space, it got more and more over time, but I’m only running storj on it. The main storage is dedicated to an HDD but the server (openmediavault) with the container runs on an SD card. Is there a way to free up space? I’m afraid of using “docker system prune”. So why is the overlay2 is getting bigger and bigger over time? I hope someone can help me out. TiA

i guess the log file is getting bigger and eating space. try to limit size of logs.
first, you can try to stop docker, rm and create again the node so the old logs will be deleted

1 Like

Hello @Dozoris,
You may configure logs for docker:

or configure storagenode to place logs to the disk with data: How do I redirect my logs to a file? - Storj Docs

You also may check the space usage by docker:

docker system df
1 Like

when your system already runs smoothly then I recommend to change log level from “info” to “error”. It will save much disk space and also lower the disk IO which is good.

i set it to fatal, because log was getting to 200MB real fast on error.

2 Likes