Prepare an Unraid Host
Unraid is a leading network-attached storage (NAS) and application server platform. Unraid 7.0+ features Linux kernel 6.6+ and unified cgroup v2, making it a fully supported platform with dedicated development and testing appliances in our lab.
1. Storage Architecture & Planning
Unraid's storage architecture includes an un-striped parity-protected hard disk array, SSD cache pools, and unassigned direct disks. Proper storage placement is critical for gaming performance.
Never store your Steam game library on Unraid's user share array (/mnt/user/...).
Unraid's user share filesystem (SHFS) operates in user space via FUSE. Modern PC games and Steam's Proton compatibility layer perform extensive random read/write operations and memory-mapped file I/O (mmap). Running games across SHFS introduces significant I/O latency, micro-stutters, and frequent Proton disk write errors.
Recommended Storage Layout
- Container Profile, State, and Journal (
/home/steamheadless,/var/lib/steam-headless, and/var/log/journal): We recommend placing container appdata on an SSD cache pool (for example,/mnt/cache/appdata/steam-headless). While not a strict requirement, an SSD guarantees fast desktop boot times and responsive launcher behaviour. Use a separate journal directory for each container so historical logs remain isolated. - Game Library (
/mnt/games):
Your game library does not need to be on an expensive SSD pool, but it must bypass the merged user share array. We strongly encourage mounting a direct disk share:- Dedicated Array Disk (Direct Mount): Point the container directly to a specific disk, such as
/mnt/disk1/Gamesor/mnt/disk2/Games, instead of/mnt/user/Games. Direct disk access avoids FUSE overhead completely. - External Drives (Unassigned Devices): If you have an external SATA drive or portable SSD connected via USB 3.0+, install the Unassigned Devices plugin from Community Applications and mount the drive directly to
/mnt/disks/GameDisk.
- Dedicated Array Disk (Direct Mount): Point the container directly to a specific disk, such as
2. Kernel Device Nodes Are Built-in
On modern Unraid releases, the kernel modules required for virtual input and user-space filesystems (uinput, uhid, and fuse) are included and loaded by default. You do not need to manually configure module loading in /boot/config/go.
If you ever encounter an issue with a missing device node, consult our Missing Device Nodes Troubleshooting Guide.
3. Kernel resource and container task limits
Unraid runs multiple containerised services (media servers, file indexing, downloaders), all pulling from the host's per-UID inotify instance pool. Unraid's default limit of 128 instances will quickly be exhausted once desktop environments and Steam clients launch. Furthermore, Unraid defaults to 65,530 virtual memory mappings (vm.max_map_count = 65530), causing modern Steam and Proton games to crash silently during startup or shader compilation.
The steps below configure the standard 1,024-instance default, recommended for up to three concurrent Steam Headless containers. If you plan to run four or more containers, use the appropriate value from the inotify sizing table instead.
Step 3.1: Allow 8,192 container tasks
Unraid applies a Docker PID limit to protect the host from fork bombs. Linux counts every process and thread as a task, so Unraid's default limit of 2048 can also cause systemd to derive much smaller limits for Steam, games, and desktop applications. The Steam Headless Unraid template overrides this with --pids-limit 8192, retaining a container boundary with enough room for a full gaming desktop.
After deploying the container, verify the effective value from the Unraid terminal:
docker inspect steam-headless --format 'pids_limit={{.HostConfig.PidsLimit}}'
The result should be pids_limit=8192. If the web interface reports PID limit reached, follow the container task and PID troubleshooting guide.
Step 3.2: Persist kernel tuning across reboots
Unraid boots into a RAM filesystem on each restart. /boot/config/go is its persistent startup script. It starts Unraid's management service through /usr/local/sbin/emhttp, which can then start the array and Docker containers. Do not append Steam Headless commands after that line: place them before it so they complete first.
Open the Unraid WebGUI Terminal (the >_ icon in the top-right header), make a backup, then edit the existing file with Unraid's included nano editor:
cp -p /boot/config/go /boot/config/go.steam-headless-backup
nano /boot/config/go
Insert this block immediately before the existing /usr/local/sbin/emhttp line. Press Ctrl+O, then Enter, to save; press Ctrl+X to exit:
# Steam Headless kernel capacity (inotify and memory maps)
sysctl -w fs.inotify.max_user_instances=1024
sysctl -w vm.max_map_count=1048576
Step 3.3: Apply configuration immediately
Apply both limits right away without restarting your server:
sysctl -w fs.inotify.max_user_instances=1024
sysctl -w vm.max_map_count=1048576
Verify the active limits:
sysctl fs.inotify.max_user_instances vm.max_map_count
- Expected output:
fs.inotify.max_user_instances = 1024vm.max_map_count = 1048576
4. Graphics Drivers & Hardware Setup
Intel & AMD Radeon GPUs: Zero Setup Required
In modern Unraid releases, Intel integrated/discrete GPUs (VA-API) and AMD Radeon GPUs (amdgpu) work out of the box with in-kernel drivers. You do not need to install additional kernel plugins or third-party monitoring tools; Steam Headless provides complete built-in hardware encoder monitoring.
Verify that the graphics render node is present in the Unraid terminal:
ls -l /dev/dri/renderD*
NVIDIA GeForce GPUs: Install the Driver Plugin
NVIDIA graphics cards require the official Nvidia Driver plugin:
-
Open the Apps tab in the Unraid WebGUI.
-
Search for Nvidia Driver (authored by
ich777). -
Click Install.

-
Go to Settings → Nvidia Driver and select the branch that matches your graphics card:
- GTX 900, GTX 10, or TITAN V, such as the GTX 950 or GTX 1050 Ti: select the
v580.xxbranch. NVIDIA 580 is the final branch that supports these cards. - GTX 16 series or any RTX series, such as the GTX 1650, RTX 2060, RTX 3090, or RTX 4090: select the latest production branch.
- GTX 900, GTX 10, or TITAN V, such as the GTX 950 or GTX 1050 Ti: select the
-
Note your GPU UUID (e.g.
GPU-xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx), which can be used if you wish to pin a specific card.
Enable NVIDIA modesetting and character devices
Steam Headless needs three parts of the NVIDIA graphics driver prepared before its container starts: the nvidia_drm.modeset=1 kernel setting, the NVIDIA modeset device, and the unified-memory device. The Nvidia Driver plugin loads the base driver, but it does not reliably create the latter two character devices on every boot.
-
In the Unraid WebGUI, switch to the Main tab, click the Flash device under Boot Device, then open Boot Parameters. In the Add Custom Parameter: field, add
nvidia_drm.modeset=1and click the Add button. You should now see below a box Parameters to Apply with contents like:append initrd=/bzroot nvidia_drm.modeset=1Ensure that the toggle Apply is on for the Unraid OS boot entry, then scroll to the bottom of the page and click Apply.
Use the normal Unraid OS boot entrySteam Headless does not need Unraid's local GUI Mode. Use the normal Unraid OS boot entry unless you have a separate reason to run a local graphical desktop. GUI Mode is not a replacement for the NVIDIA initialisation steps below.
-
Edit
/boot/config/gousing the backup-and-edit process in Step 3.2. Insert the following block immediately before the kernel-capacity block from that step, and therefore before/usr/local/sbin/emhttp. It initialises the modeset and unified-memory components and creates/dev/nvidia-modesetand/dev/nvidia-uvmon every boot:# Steam Headless NVIDIA character devices/usr/bin/nvidia-modprobe -m -c 0/usr/bin/nvidia-modprobe -u -c 0The resulting order must be NVIDIA initialisation, kernel-capacity tuning, then
/usr/local/sbin/emhttp. Unraid installs plugins before it executes/boot/config/go, so the Nvidia Driver plugin has already madenvidia-modprobeavailable. Do not add a trailing&toemhttp.Understanding-c 0on Multi-GPU ServersThe
-c 0flag specifies the NVIDIA device instance (minor number) to initialise, creating the primary per-GPU character node/dev/nvidia0. On single-GPU systems, this is always0.If your server contains multiple NVIDIA GPUs (or your designated gaming card is not the primary GPU), run
nvidia-smiin the Unraid terminal to identify each GPU's device index. You must pass an additional-c <index>flag for each NVIDIA card you intend to pass through to containers (for example:/usr/bin/nvidia-modprobe -m -c 0 -c 1for two GPUs). Note that/usr/bin/nvidia-modprobe -u -c 0initialises host-wide Unified Memory (/dev/nvidia-uvm) and only needs to be executed once regardless of how many GPUs are installed. -
Restart the Unraid server.
-
After rebooting, open the terminal and verify the loaded components, enabled mode, and required character devices:
lsmod | grep -E '^nvidia(_modeset|_drm|_uvm)?'cat /sys/module/nvidia_drm/parameters/modesetls -l /dev/nvidia-modeset /dev/nvidia-uvmAll four NVIDIA modules must appear, the modeset command must print
Y, and both paths must exist. If either check fails, run the twonvidia-modprobecommands above, correct the persistent configuration, and reboot again before creating a Steam Headless container.
5. Network Settings
For one Steam Headless container, Host network mode is the easiest choice. For two or more containers, use Unraid's Docker macvlan custom network so every container has its own LAN address.
-
Stop the Unraid array before changing its network or Docker settings. This stops Docker containers cleanly while you change the network type.
-
Open Settings → Network Settings. Set Enable bridging to No, then apply the change.

-
Open Settings → Docker. Set Docker custom network type to macvlan and Host access to custom networks to Enabled, then apply the change.

-
Start the array again. In the container form, select your custom physical network (such as
Custom : eth0orCustom : <interface>) and assign every Steam Headless container a different fixed LAN IP address outside your router's DHCP range.
Because bridging is disabled in Unraid's Network Settings to prevent macvlan call traces and host kernel crashes, the Docker custom network attaches directly to your physical host Ethernet interface rather than a virtual bridge such as br0. The network option in Unraid's Docker form appears as Custom : <interface> (typically Custom : eth0, or Custom : eno1 / Custom : eth1 depending on your motherboard hardware). Check Settings → Network Settings in Unraid to confirm the name of your primary active interface.
Macvlan requires wired Ethernet because it gives each container its own MAC address. Do not use it over Wi-Fi.
→ Next step: Deploy with the Unraid template.