When your Proxmox host uses ZFS, shifting Docker from using the restricted host kernel overlay system to using a User-Space filesystem (fuse-overlayfs) bypasses the file-handle restriction.
Step 1: Enable FUSE on the Proxmox Host
- Go to the Proxmox Web GUI.
- Select your Debian LXC container -> Options -> Features.
- Click Edit, check the box for
fuse, and save. - Reboot the LXC container to apply this option.
Step 2: Install and Configure FUSE inside the LXC
- Open the terminal/console of your Debian LXC container.
Install the fuse-overlayfs binary:
apt update && apt install -y fuse-overlayfsTell Docker to explicitly use this driver by creating or editing the
/etc/docker/daemon.jsonconfiguration file:nano /etc/docker/daemon.jsonPaste the following configuration into the file:
{ "storage-driver": "fuse-overlayfs" }Save the file (Ctrl+O, Enter, then Ctrl+X) and restart the Docker service:
systemctl restart docker