Over 30Gb HDD usage by Bitwarden on-premise install

Hi!

I just wanted to try bitwarden at home and the installation worked without a problem, but something doesn’t look right. A simply install without any password added has over 30GB on the hard disk.

[email protected]:/var/lib/docker/vfs/dir# du -hs .
32G .

The containers are running fine and there is no other containers on the system:

[email protected]:/var/lib/docker/vfs/dir# docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
36e91e88bbe7 bitwarden/identity:1.29.0 “/entrypoint.sh” 3 days ago Up 3 days 5000/tcp bitwarden-identity
885e2e6229ac bitwarden/mssql:1.29.0 “/entrypoint.sh” 3 days ago Up 3 days 1433/tcp bitwarden-mssql
369f408aacaa bitwarden/api:1.29.0 “/entrypoint.sh” 3 days ago Up 3 days 5000/tcp bitwarden-api
b3282193bbd6 bitwarden/admin:1.29.0 “/entrypoint.sh” 3 days ago Up 3 days 5000/tcp bitwarden-admin
ece0dc3e7301 bitwarden/attachments:1.29.0 “/entrypoint.sh” 3 days ago Up 3 days 5000/tcp bitwarden-attachments
050d5e88d860 bitwarden/web:2.8.0 “/entrypoint.sh” 3 days ago Up 3 days 5000/tcp bitwarden-web
bdb44bfcff96 bitwarden/notifications:1.29.0 “/entrypoint.sh” 3 days ago Up 3 days 5000/tcp bitwarden-notifications
22a9283f2554 bitwarden/nginx:1.29.0 “/entrypoint.sh” 3 days ago Up 3 days 80/tcp, 0.0.0.0:80->8080/tcp, 0.0.0.0:443->8443/tcp bitwarden-nginx
a4e097c5707a bitwarden/icons:1.29.0 “/entrypoint.sh” 3 days ago Up 3 days 5000/tcp bitwarden-icons

what did I do wrong? Thx for the help.

I was able to find the problem. I needed to load

aufs
overlay

in /etc/modules-load.d/modules.conf and checking within my lxc containter that overlay support is there before installing bitwarden.

[email protected]:~# docker info
Containers: 0
Running: 0
Paused: 0
Stopped: 0
Images: 0
Server Version: 18.06.1-ce
Storage Driver: overlay2
Backing Filesystem: extfs
Supports d_type: true
Native Overlay Diff: true
Logging Driver: json-file

Now I’ve about 2-3GB … looks better but small is something else :wink: