> For the complete documentation index, see [llms.txt](https://support.spiderpool.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://support.spiderpool.com/ai/host/requirements.md). Agents can also search and read this documentation through its [MCP server](https://support.spiderpool.com/~gitbook/mcp).

# Machine requirements

The OS, driver, Docker, disk layout, network and GPU requirements for a hosted machine, how to prepare the data disk, and how to read the self-check results of your machines.

Prepare your machine against this page before you connect it. The **Machine requirements** page in the Console shows the platform's **current settings**; this page lists the defaults. If they differ, the Console is authoritative.

Where to find it: step ① **Requirements** of **Become a host**, or the **View requirements** links on **Host → Machines** (<https://www.spiderpool.com/ai/host/onboarding?step=1>).

## What the page shows

| Section                                        | Content                                                                                                                    |
| ---------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- |
| Green note at the top                          | "No public IP or port forwarding needed: the agent only makes outbound connections."                                       |
| **Machine requirements**                       | The hard requirements; items marked "(recommended)" do not affect verification                                             |
| **Supported GPUs**                             | The GPU models the platform accepts, grouped by family                                                                     |
| **GPU admission rules**                        | Minimum VRAM per GPU, same model per machine, allowed and rejected model rules; **Rule patterns** expands the raw patterns |
| **Support matrix (current platform settings)** | Version ranges for OS, kernel, driver, Docker and more; machine self-checks are compared against it                        |
| **Disk layout (required)**                     | The recommended partition table and an `/etc/fstab` example line                                                           |
| **Self-check results of my machines**          | The latest self-check of every machine you connected                                                                       |

## Hard requirements at a glance

| Item                     | Requirement (default)                                                                                                                                                   | How to check on the machine                                              |
| ------------------------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------ |
| Operating system         | Ubuntu 22.04 or 24.04 LTS; Secure Boot and unattended upgrades disabled                                                                                                 | `. /etc/os-release && echo $ID-$VERSION_ID`                              |
| Kernel                   | ≥ 5.15                                                                                                                                                                  | `uname -r`                                                               |
| NVIDIA driver            | ≥ 580                                                                                                                                                                   | `nvidia-smi --query-gpu=driver_version --format=csv,noheader \| head -1` |
| Docker (docker-ce)       | ≥ 24, using the classic image store (see below)                                                                                                                         | `docker version --format '{{.Server.Version}}'`                          |
| nvidia-container-toolkit | ≥ 1.14 (for CDI); the installer installs it if it is missing                                                                                                            | `nvidia-ctk --version`                                                   |
| cgroup                   | v2                                                                                                                                                                      | `stat -fc %T /sys/fs/cgroup` (should print `cgroup2fs`)                  |
| iptables backend         | legacy or nft, the same one Docker uses                                                                                                                                 | `iptables -V`                                                            |
| Disk                     | Dedicated SSD data disk ≥ 200 GB, xfs, mounted with `pquota` at `/var/lib/docker`; root partition ext4 ≥ 80 GB; ≥ 100 GB free on the data disk when you add the machine | See "Disk layout" below                                                  |
| Network                  | Outbound access to port 443                                                                                                                                             | See "Network" below                                                      |
| GPU                      | Meets the GPU admission rules; all GPUs in the machine are the same model                                                                                               | `nvidia-smi -L`                                                          |

The installer also needs systemd, and `nvidia-smi` must list the GPUs without errors.

What happens when something is not met:

* **Disk layout** not met: the installer refuses the machine before installing anything (exit code 3) and prints the recommended layout.
* **Docker uses the containerd image store**: the installer refuses the machine before installing anything.
* **Any other support matrix item** not met: the machine can connect, but it becomes **Degraded** with the short reason "unsupported stack" and takes no new rentals until you follow the fixes under **Machine self-check**.

## Support matrix

The rows of **Support matrix (current platform settings)** use the same names as the self-check items. Defaults:

| Row                                                      | Default                       |
| -------------------------------------------------------- | ----------------------------- |
| **Operating system**                                     | ubuntu-22.04 / ubuntu-24.04   |
| **Kernel version**                                       | ≥ 5.15                        |
| **NVIDIA driver version**                                | ≥ 580                         |
| **Docker version**                                       | ≥ 24                          |
| **nvidia-container-toolkit version**                     | ≥ 1.14                        |
| **cgroup version**                                       | v2                            |
| **xfs project quota (pquota) on the instance directory** | required                      |
| **iptables backend**                                     | legacy / nft                  |
| **Data disk size**                                       | ≥ 200 GB                      |
| **Root partition size**                                  | ≥ 80 GB                       |
| **Free space on the data disk**                          | ≥ 100 GB (checked at install) |

Sizes are decimal GB (1 GB = 10^9 bytes, the same way disks are labeled). Free space on the data disk is checked only at install; low disk space while the machine runs is handled by the "low disk space" degraded state, see [Manage machines](https://support.spiderpool.com/ai/host/machines.md).

Some templates need a newer driver than others. If your driver is older than a template requires, that template shows as **Unavailable** on your machine ("Requires NVIDIA driver ≥ …") and renters cannot use it there.

## Disk layout (required)

| Partition   | Size         | Format           | Mount             | Purpose                      |
| ----------- | ------------ | ---------------- | ----------------- | ---------------------------- |
| `/dev/sda2` | ≥ 80 GB      | ext4             | `/`               | System and agent             |
| `/dev/sdb1` | ≥ 200 GB SSD | **xfs (pquota)** | `/var/lib/docker` | Containers and instance data |

The `/etc/fstab` line for the data disk:

```
UUID=<uuid-of-sdb1> /var/lib/docker xfs defaults,pquota 0 0
```

The device names are examples; use the ones on your machine. What matters is that `/var/lib/docker`, where containers and instance data live, is a **separately mounted** xfs filesystem mounted with `pquota`.

**Why:** the renters' container writable layers and every instance's `/workspace` live on this disk. Docker uses it to cap each container's writable layer, and the agent uses xfs project quotas (pquota) to limit each instance's `/workspace` to the disk size the renter chose. Without project quotas a single renter could fill the whole disk and break the other instances on the machine. Loop-file disks are not accepted.

### Prepare an empty data disk

{% hint style="danger" %}
`mkfs.xfs` erases everything on the partition. Make sure the device name is right and nothing on it needs to be kept.
{% endhint %}

Using `/dev/sdb1` as the example, run as root:

1. Find the data disk partition (by size and model):

   ```bash
   lsblk -o NAME,SIZE,TYPE,FSTYPE,MOUNTPOINT
   ```
2. Format it as xfs (this erases `/dev/sdb1`) and create the mount point:

   ```bash
   mkfs.xfs -f /dev/sdb1
   mkdir -p /var/lib/docker
   ```
3. Look up the UUID and add the mount line to `/etc/fstab` (replace `<UUID>` with the value `blkid` prints):

   ```bash
   blkid /dev/sdb1
   echo 'UUID=<UUID> /var/lib/docker xfs defaults,pquota 0 0' >> /etc/fstab
   ```
4. Stop Docker, mount, and start Docker again:

   ```bash
   systemctl stop docker && mount /var/lib/docker && systemctl start docker
   ```
5. Check: it should print xfs, with `prjquota` in the options:

   ```bash
   findmnt -no FSTYPE,OPTIONS /var/lib/docker
   ```

Then run (or re-run) the install command. The installer creates the agent's data directory `/var/lib/spagent` as a link to `/var/lib/docker/.spagent`, so instance workspaces end up on the xfs disk.

Notes:

* If `/var/lib/docker` already held Docker images and containers, mounting the new disk hides them (they are no longer visible but still use space on the root partition). A fresh machine is not affected.
* If the machine already has a non-empty `/var/lib/spagent` directory (not a link to the data disk), the installer does not move it and the disk check fails. See "Reinstall, move or re-register" in [Add a machine](https://support.spiderpool.com/ai/host/add-machine.md).

## Docker settings

### Use the classic image store

Platform images are delivered as image bundles, which can only be loaded into Docker's classic image store (overlay2). Fresh Docker 29 installs default to the containerd image store, so switch it back:

1. Check: `docker info --format '{{.Driver}}'` prints `overlay2` for the classic store; if `docker info --format '{{json .DriverStatus}}'` contains `io.containerd.snapshotter.v1`, Docker uses the containerd store.
2. In `/etc/docker/daemon.json`, set `"features": {"containerd-snapshotter": false}` (merged with the keys already in the file).
3. Restart Docker: `systemctl restart docker`.

After the switch, images and containers in the containerd store are no longer visible to Docker, so check first that none are still needed.

A machine on the containerd store receives no platform image bundles: the templates in the platform catalog cannot be used on it, and every benchmark verification fails, so it never passes verification and cannot be rented.

### Settings the installer changes for you

The installer merges `/etc/docker/daemon.json` (backed up to `daemon.json.spiderpool-backup` on the first run): it makes the platform runtime `sprunc` Docker's default runtime and sets `live-restore=true` and `ipv6=false`. You do not need to edit these yourself.

The installer also:

* Puts the installed NVIDIA driver, nvidia-container-toolkit and Docker packages on `apt-mark hold` and adds them to the unattended-upgrades blacklist, so they are not upgraded while instances run. Before a planned upgrade you need `apt-mark unhold`; see "Maintenance" in [Manage machines](https://support.spiderpool.com/ai/host/machines.md).
* Generates the GPU device description (CDI spec). The agent regenerates it on start and whenever the driver or the GPUs change, so you never need to run `nvidia-ctk cdi generate` yourself.

### Never run nvidia-ctk runtime configure

{% hint style="warning" %}
Do not run `nvidia-ctk runtime configure --runtime=docker` on a hosted machine. It rewrites the default runtime in `daemon.json`; after that no platform instance can start and the machine becomes **Degraded** ("platform runtime broken").
{% endhint %}

If it has already happened, run on the machine:

```bash
sudo spagent runtime repair && sudo spagent doctor
```

## GPU admission rules

* **Supported models:** by default GeForce RTX 30 / 40 / 50 series, RTX A4000 / A4500 / A5000 / A6000, RTX 6000 Ada, L40 / L40S, A10 / A16 / A30 / A40, A100 / A800, H100 / H200 / H800 and H20. The **Supported GPUs** list on the page is authoritative.
* **Not accepted:** mining cards (P102 / P104 / P106 / CMP) and Tesla K / M / P cards.
* **Minimum VRAM per GPU:** 7169 MiB (more than 7 GB) by default.
* **Same model per machine:** all GPUs in one machine must be the same model.
* **Rule patterns** are regular expressions, case-insensitive, matched against the model name `nvidia-smi` reports.

A machine that does not meet the rules has verification **Failed** with the reason `gpu_not_allowed` (model not on the supported list, or on the deny list), `gpu_vram_too_small` (VRAM below the minimum) or `gpu_mixed_models` (mixed models), and cannot be listed. After you replace the GPUs, the next hardware report is re-checked and verified automatically. If a model meets the rules but the platform has no performance baseline for it yet, verification fails with `unknown_model`; contact support. See [Verification and spot checks](https://support.spiderpool.com/ai/host/verification.md).

## Recommendations

These do not affect verification, but they affect the renter experience and what you can charge:

* **CPU:** ≥ 2 physical cores per GPU.
* **RAM:** ≥ 0.95 × the total VRAM of all GPUs.
* **PCIe:** ≥ x4 per GPU.
* **sshd:** password login disabled (the installer prints a WARN line when it is allowed).
* **System time:** keep NTP in sync; a large offset shows up as "Clock skew" in the machine events.
* **Bandwidth:** there is no minimum. After verification passes, the platform measures the download / upload bandwidth between the machine and the platform and the read / write speed of the instance disk; the measured values appear on the machine detail page and are shown to renters.

## Network

* The machine needs **outbound** access to port 443 (HTTPS) on the internet. The agent's connection to the platform, agent upgrades, platform image and model downloads, bandwidth measurements and benchmark reports all use it.
* No inbound ports, public IP, port forwarding or dynamic DNS are needed.
* If outbound traffic goes through a proxy, firewall or web filter, allow the HTTPS requests of the agent and of the benchmark container. When benchmark reports cannot get through, verification fails with `no_report`.
* If nvidia-container-toolkit is not installed yet, the installer downloads it from NVIDIA's official package repository, so the machine also needs to reach that repository.

## Self-check results of my machines

The agent attaches a self-check to every hardware report. **Self-check results of my machines** has one entry per machine:

* The machine name (click to open the machine), a result badge ("Self-check passed", "N check(s) failed", "N warning(s)") and **Last self-check**.
* **Measured disks**: data disk size, free space on the data disk, root partition size; values below the requirement are red with "(below N GB)".
* **Expand / Collapse** the list of checks: failed first, then warnings, then passed. Each item shows its name, code and detail; failed and warning items also show a **Fix**. Machines with failed checks are expanded by default.

**WARN** items (yellow, ⚠) do not block rentals: the machine is rented as usual, only that capability is missing. They are not counted in "N check(s) failed".

Before you connect a machine, the section says "No self-check records yet". You can run the same checks on the machine with `sudo spagent doctor`; failed lines look like `FAIL <code>: <reason> → <fix>`, warning lines start with `WARN`.

### Checks and fixes

The **Fix** shown for each item in the Console is authoritative. Typical fixes:

| Code                                                                                                                                                                                          | Check                                                      | What to do when it fails                                                                                                                                                                                                                                 |
| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `os_unsupported`                                                                                                                                                                              | **Operating system**                                       | Reinstall with a supported distribution                                                                                                                                                                                                                  |
| `kernel_too_old`                                                                                                                                                                              | **Kernel version**                                         | Upgrade the kernel to the required version or newer, then reboot                                                                                                                                                                                         |
| `driver_unsupported`                                                                                                                                                                          | **NVIDIA driver version**                                  | Upgrade the driver to the required version or newer, then reboot                                                                                                                                                                                         |
| `docker_unsupported`                                                                                                                                                                          | **Docker version**                                         | Upgrade docker-ce, then `systemctl restart docker`                                                                                                                                                                                                       |
| `toolkit_too_old`                                                                                                                                                                             | **nvidia-container-toolkit version**                       | Upgrade nvidia-container-toolkit; the GPU device description is regenerated automatically                                                                                                                                                                |
| `cgroup_v1`                                                                                                                                                                                   | **cgroup version**                                         | Boot with cgroup v2, then reboot                                                                                                                                                                                                                         |
| `disk_not_pquota`                                                                                                                                                                             | **xfs project quota (pquota) on the instance directory**   | Make the data disk xfs mounted with `pquota` at `/var/lib/docker` as described above, then re-run the install command                                                                                                                                    |
| `iptables_backend`                                                                                                                                                                            | **iptables backend**                                       | Switch to legacy or nft with `update-alternatives --config iptables`, then `systemctl restart docker`                                                                                                                                                    |
| `disk_too_small`                                                                                                                                                                              | **Data disk size**                                         | Use an SSD data disk of ≥ 200 GB                                                                                                                                                                                                                         |
| `root_too_small`                                                                                                                                                                              | **Root partition size**                                    | Reinstall with a root partition of ≥ 80 GB                                                                                                                                                                                                               |
| `disk_free_too_small`                                                                                                                                                                         | **Free space on the data disk** (checked at install only)  | Free up space (for example `docker system prune`) until ≥ 100 GB is free, then re-run the install command                                                                                                                                                |
| `workspace_quota`                                                                                                                                                                             | **Instance workspace quota** (WARN)                        | Instance workspaces get no disk quota: put them on the xfs data disk mounted with `pquota`, then `systemctl restart spagent`. If the detail says `seccomp quota guard missing`, keep Docker's default seccomp profile (no `seccomp-profile: unconfined`) |
| `docker_image_store`                                                                                                                                                                          | **Docker image store (platform image bundles)** (WARN)     | Switch Docker back to the classic image store as described above                                                                                                                                                                                         |
| `runtime_shim`, `runtime_shim_missing`, `runtime_shim_sha256_mismatch`, `runtime_shim_path_mismatch`, `runtime_runc_invalid`, `default_runtime_overridden`, `docker_default_runtime_mismatch` | The platform runtime `sprunc` and Docker's default runtime | `sudo spagent runtime repair && sudo spagent doctor`                                                                                                                                                                                                     |
| `cdi_spec`, `cdi_spec_missing`, `cdi_spec_invalid`, `cdi_spec_stale`                                                                                                                          | **GPU device description (CDI)**                           | The agent regenerates it automatically; if it keeps failing, `sudo spagent cdi ensure && sudo spagent doctor`, and reboot first after a driver upgrade                                                                                                   |
| `cdi_toolkit_missing`                                                                                                                                                                         | **nvidia-ctk tool (nvidia-container-toolkit)**             | Re-run the install command (it installs the toolkit), or install nvidia-container-toolkit following NVIDIA's guide                                                                                                                                       |

## FAQ

**Can I use CentOS, Debian or another distribution?** No. The support matrix covers Ubuntu 22.04 and 24.04 only.

**Does the data disk have to be an SSD?** The recommended layout requires an SSD. Instance images, writable layers and `/workspace` all live on the data disk, so its speed directly affects how fast renters start instances and read or write data, and the platform measures and shows the instance disk speed.

**I have only one disk. Can a partition replace a separate data disk?** Yes, as long as the data partition meets the size requirement, is formatted as xfs and is mounted separately at `/var/lib/docker` with `pquota`.

**My driver or Docker version is much newer than required. Is that a problem?** By default there is only a minimum, no maximum; the **Support matrix (current platform settings)** card is authoritative. Reboot after a driver upgrade.

## Related

* [Add a machine](https://support.spiderpool.com/ai/host/add-machine.md)
* [Manage machines](https://support.spiderpool.com/ai/host/machines.md)
* [Verification and spot checks](https://support.spiderpool.com/ai/host/verification.md)
* [Troubleshooting for hosts](https://support.spiderpool.com/ai/host/troubleshooting.md)
* [Hosting guide](https://support.spiderpool.com/ai/host.md)
