Sysbox
Sysbox is a container runtime that lets renters run Docker inside their pods without --privileged.
Every validator checks every node for the sysbox-runc runtime. A node without it is never listed and earns nothing. Setup takes about 5 minutes.
Requirements
| Component | Requirement |
|---|---|
| Kernel | 5.19 or newer (6.x recommended) |
| Docker | 27.x or 28.x as is. 29.x needs two settings: see Docker 29. |
| Docker storage driver | overlay2 (docker info --format '{{.Driver}}') |
| Architecture | x86_64 |
Kernel 5.19+ is mandatory for GPUs
On an older kernel (Ubuntu 22.04 ships 5.15), GPUs fail inside a Sysbox container with:
nvidia-container-cli: mount error: /var/lib/docker/overlay2/<id>/merged/proc/driver/nvidia: no such file or directory
Upgrade the kernel
Check with uname -r. Below 5.19, stop any rentals, then:
sudo apt-get update
sudo apt-get install -y linux-generic-hwe-22.04
sudo reboot
The NVIDIA driver must be DKMS-managed (dkms status lists nvidia), or it will not load on the new kernel. After the reboot, check uname -r and nvidia-smi.
Check the host first
The installer's --check mode changes nothing and prints one line per requirement:
curl -fsSL https://raw.githubusercontent.com/Datura-ai/lium-io/main/neurons/executor/nvidia_docker_sysbox_setup.sh | sudo bash -s -- --check
Each FIX line is followed by the command that clears it. It checks the kernel, Docker, the NVIDIA driver, the iptables modules, disk of at least 1.5× GPU memory, the node ports 8080 and 2200, and whether a container starts under sysbox-runc.
Install
curl -fsSL https://raw.githubusercontent.com/Datura-ai/lium-io/main/neurons/executor/nvidia_docker_sysbox_setup.sh | sudo bash
It installs the NVIDIA Container Toolkit, fuse3 and Sysbox, and sets up the vloopback volume plugin. It is safe to run again.
The installer installs Sysbox 0.7.1. On an older Sysbox, renter images with many layers cannot start. The node page in the provider portal then shows a notice. Idle pay and listing are not affected. To upgrade, re-run the installer while the node has no rental: it restarts Docker, which stops every pod on the host.
On Ubuntu 26.04 it also adds an AppArmor rule that Sysbox needs to mount its file systems. Without it every Sysbox container fails with failed to pre-register with sysbox-fs. If Sysbox got onto a 26.04 host another way, run the installer once.
Confirm the runtime
/etc/docker/daemon.json must include:
{
"runtimes": {
"sysbox-runc": {
"path": "/usr/bin/sysbox-runc"
}
}
}
Then restart Docker: sudo systemctl restart docker.
Verify
Run the validator's command, under sudo:
sudo docker run --rm --runtime=sysbox-runc --gpus all daturaai/compute-subnet-executor:latest nvidia-smi
nvidia-smi output means Sysbox runs your GPUs. Use sudo: a plain docker client can point at a different daemon.
Docker 29: two required settings
| Docker | Needs |
|---|---|
| 27.x, 28.x | Nothing |
| 29.0–29.1 | Nothing |
| 29.2.x–29.4.x | "cdi": false |
| 29.5.0 and later | "cdi": false and "time-namespaces": false |
Set them
Stop any rentals first: restarting Docker kills every container. Add to /etc/docker/daemon.json:
{
"features": {
"cdi": false,
"time-namespaces": false
}
}
On 29.2–29.4, set only "cdi": false. Then sudo systemctl restart docker and run Verify again.
Troubleshooting
| Error | Fix |
|---|---|
mount error: .../merged/proc/driver/nvidia: no such file or directory | Kernel older than 5.19. See Kernel 5.19+. |
namespace {"time" ""} does not exist | Docker 29.5+. See Docker 29. |
failed to open OCI spec file: ... permission denied | Docker 29.2+. Set "cdi": false. |
setting up ID-mapped mount on path 212/fs | Sysbox 0.6.6 or older. Re-run the installer while the node has no rentals. |
fusermount3: executable file not found | Re-run the installer, or sudo apt-get install -y fuse3. |
sysbox-runc not found or unknown or invalid runtime name: sysbox-runc | Re-run the installer and read its output. Verify with sudo. |
| GPU not visible in the container | Check nvidia-container-cli --version, then restart Docker. |
overlayfs: upperdir is in-use as upperdir/workdir of another mount in the kernel log after pods start | Expected with Sysbox on kernel 5.19+ (it remounts each pod's root filesystem with ID-mapping over Docker's upper directory). Ignore it. Do not add --disable-ovfs-on-idmapped-mount or --disable-rootfs-cloning to sysbox-mgr: Sysbox then re-owns every image file at each pod start and stop, so large templates start slower and can use more disk. If you added them, remove them (systemctl cat sysbox-mgr shows where), then run sudo systemctl daemon-reload && sudo systemctl restart sysbox while no pod is running. |
| Verify works, but the validator still reports Sysbox missing | Load the iptables modules (below), then wait one check (about 15 minutes). |
Load the iptables modules
sudo modprobe -a ip_tables iptable_nat iptable_filter
printf 'ip_tables\niptable_nat\niptable_filter\n' | sudo tee /etc/modules-load.d/lium-iptables.conf