Nested Docker, TUN/TAP & Linux Distros
Run Docker Compose stacks cleanly on Btrfs LXC, understand supported OS images, and know the boundaries between LXC and KVM.
Supported 64-Bit Linux Distributions
You can deploy or reinstall any container across six official minimal Linux distributions at any time from Reinstall & Apps:
- Debian 12 (Bookworm): Default & base for all 1-Click Apps; lowest idle RAM (~35 MB).
- Ubuntu 24.04 LTS (Noble Numbat)
- Ubuntu 22.04 LTS (Jammy Jellyfish)
- Alpine Linux 3.20: Ultra-lightweight
musl+ OpenRC footprint (~12 MB idle RAM), ideal forNAT-256microservices. - AlmaLinux 9 & Rocky Linux 9: Enterprise RHEL-compatible distributions.
Running Nested Docker & Docker Compose
For the fastest setup on NAT-512 (512 MB RAM) or higher, choose the Docker Engine + Docker Compose (or Dockge) 1-Click App: everything is pre-tuned and ready to run docker compose up -d immediately.
If you install Docker manually on a clean Debian or Ubuntu container, note that our host nodes use enterprise Btrfs storage pools. Inside an unprivileged Btrfs LXC container, Docker's kernel overlay2 driver cannot mount directly over Btrfs, so you should install fuse-overlayfs and set it in /etc/docker/daemon.json:
apt-get update && apt-get install -y ca-certificates curl fuse-overlayfs
curl -fsSL https://get.docker.com | sh
mkdir -p /etc/docker
cat >/etc/docker/daemon.json <<'EOF'
{
"storage-driver": "fuse-overlayfs",
"log-driver": "json-file",
"log-opts": {
"max-size": "10m",
"max-file": "3"
}
}
EOF
systemctl restart docker
docker run --rm hello-world
The Docker (dockerd) and containerd daemons consume ~90–120 MB of resident memory before starting your first container. On NAT-256 (256 MB), running native binaries or systemd services (Caddy, PocketBase, WireGuard, Python, Node.js) leaves almost all 256 MB free for your workload.
TUN/TAP & FUSE Kernel Devices
Character devices /dev/net/tun and /dev/fuse are permitted safely on our Incus LXC profiles. VPN daemons (WireGuard via wireguard-go / kernel netns, AmneziaWG, Tailscale, OpenVPN) and FUSE filesystems (fuse-overlayfs, rclone mount, sshfs) work without opening a support ticket.
LXC vs KVM: What Works & What Doesn't
Incus LXC gives you near-bare-metal NVMe & CPU speed without hypervisor emulation overhead, while sharing the host's hardened Linux kernel:
| Capability | Supported on natvps.cc LXC? |
|---|---|
Full root SSH, systemd services, crontabs, users & apt/apk/dnf | Yes |
| Docker, Docker Compose, WireGuard, Tailscale, Caddy, Nginx, Databases | Yes |
Container-level firewalling (nftables / iptables-nft / ufw) | Yes |
Loading custom kernel modules (modprobe / dkms / custom kernels) | No (shared host kernel) |
Creating swap files (swapon), raw loop/LUKS block mounts, or NFS kernel server | No |
Booting Windows, FreeBSD, or custom .iso images | No (64-bit Linux distros only) |