I am not a docker expert.
I know it is not recommended, but since debian 11/12 I have been using docker in LXC. It works fine and I do not want to change it.
I manage LXC via the Proxmox web gui.
I have installed LXC Debian 12 with docker compose and there are 4 dockers inside
Portainer, Adguard, RustDesk and DrawIO.
I am backing up this LXC with ZSTD compression.
This backed up/compressed LXC is 840MB in size.
I recently moved to Proxmox 9 (debian 13) and I am also reinstalling all LXC on Debian 13.
I am not solving the functionality, because everything works correctly.
However, my backup has grown significantly compared to the previous one.
LXC debian 12 (830MB)
LXC debian 13 (1.35GB)
I solved this situation with AI and supposedly /var/lib/docker/rootfs should have the value 0B
Is this correct?
535M /var/lib/docker/rootfs
535M /var/lib/docker
302K /var/lib/docker/containers
95K /var/lib/docker/volumes
24K /var/lib/docker/buildkit
9,5K /var/lib/docker/network
1,0K /var/lib/docker/tmp
1,0K /var/lib/docker/plugins
512 /var/lib/docker/swarm
512 /var/lib/docker/runtimes
I should also use overlay2 and not overlayfs.
sudo docker info | grep âStorage Driverâ
Storage Driver: overlayfs
I have nesting and keyctl enabled in LXC.