New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Folder /var/lib/docker/vfs is huge ! #840
Comments
|
I don't have that folder on my mailcow system. So as a docker layman myself, I'd say this wasn't created by mailcow. |
|
Well it was... ;) I prepared an empty machine, installed docker and then the docker-compose pull took forever as I saw my disk getting nearly full. |
|
Something must have gone wrong, on my system all of mailcow fits into ~5 GB as advertised. Did you build the images instead of pulling? I'm not sure what might have happened. Maybe something about your LXC host throws Docker off? Did you follow the steps as described here? |
|
I simply followed this doc : https://mailcow.github.io/mailcow-dockerized-docs/install/ |
|
I think it would be helpful if you could do a new setup and run the output of |
|
Seems so that LXC edited the |
|
The vfs storage driver copies everything, while aufs and overlayfs2 do union mounts. If you chose the vfs driver, these 25 GB sound perfectly reasonable. This is not a Mailcow problem. It doesn't choose a storage driver. Docker chooses overlayfs2 by default (I think) and you can set a different one in /etc/docker/daemon.json. If LXC requires you to use vfs, then that is unfortunate. The issue @MAGICCC found is the right one, and using btrfs as suggested there may be a good workaround. |
|
Mine defaulted to vfs by default. There should be some information on this on the install instructions as an optional setting to check. |
Hello
On the docs it says we need about 5Gb to install mailcow, but once installed the folder /var/lib/docker/vfs is 25Gb in size and has about 150-200 folders... I tried a lot of docker commands to prune/pruge/clean/whatever but I just got 85Mb back...
I'm using docker on top of a LXC machine, I know it's not the best practice but I have 5 others LXC machines with different containers and no size problems up to now...
Did I miss something somewhere ? I'm pretty new to docker so I probably missed the magic command.
Thanks
The text was updated successfully, but these errors were encountered: