Choose a deployment method
Once you have prepared your host operating system, you need to choose how you will run the Steam Headless container.
Steam Headless delivers a remote gaming desktop featuring dual streaming engines: the native SHUI (Steam Headless User Interface) for zero-install browser streaming and management, and a custom, pinned build of Sunshine for high-fps Moonlight streaming. Our Sunshine component is specifically compiled and pinned with targeted Wayland capture and virtual input patches, ensuring rock-solid stability rather than simply shimming an unverified upstream RPM.
Four deployment methods are available:
Overview of deployment methods
1. Docker Compose (Recommended)
Docker Compose defines your container services, hardware mappings, environment variables, storage volumes, and network topology in a single, readable docker-compose.yml file.
- Why it is recommended: Steam Headless requires several device nodes (
/dev/dri/renderD128,/dev/uinput,/dev/uhid,/dev/fuse), security configurations (writable-cgroups=true), and volume mappings. Recording these in a Compose file makes your setup version-controlled and reproducible. Upgrading to a new release requires just two commands (sudo docker compose pull && sudo docker compose up -d). Docker Compose makes running multiple concurrent gaming containers straightforward by using YAML service blocks.
2. docker run (Command-line interface)
docker run launches the container using a single terminal command with arguments passed as flags.
- When to use it: Useful for quick command-line smoke tests, debugging, or continuous-integration environments where you do not wish to maintain a configuration file.
- Limitations: Because Steam Headless requires numerous capabilities, mounts, and device parameters, the resulting command string is long and unwieldy. Managing multiple containers, updating images, or remembering past configuration flags can be error-prone.
3. Unraid Template / Web UI
The Unraid template enables Unraid NAS users to deploy Steam Headless through Unraid's graphical web interface and the Community Applications ecosystem.
4. Docker and LXC (Proxmox VE & Linux Containers)
Docker and LXC documents running Docker inside an Ubuntu Server LTS LXC container with direct GPU, FUSE, and input passthrough.
- When to use it: Recommended for Proxmox VE administrators and LXC users who want near-bare-metal compute and streaming performance without the overhead of a full virtual machine.
- Why it is recommended: Running Docker inside LXC preserves simple, atomic image updates (
docker compose pull && docker compose up -d) while allowing declarative multi-container scaling with Macvlan networking.
Deployment comparison matrix
The table below compares each deployment method across key operational criteria:
| Feature / Criteria | Docker Compose (Recommended) | Docker and LXC (Proxmox VE) | docker run CLI | Unraid Template |
|---|---|---|---|---|
| Recommended Audience | Linux server users (Fedora Server, Ubuntu Server, Debian Server, TrueNAS) | Proxmox VE & LXC container administrators | Advanced CLI users & temporary testing | Unraid server administrators |
| Ease of Setup | High (copy & edit a single template) | High (configure LXC passthrough, then copy template) | Medium (long shell command) | High (guided graphical web form) |
| Ease of Updates | Trivial (sudo docker compose pull && sudo docker compose up -d) | Trivial (docker compose pull && docker compose up -d) | Manual (stop, remove, re-run long command) | Trivial (Unraid GUI "Update" button) |
| Multi-Container Scaling | Outstanding (define multiple services in one file) | Outstanding (define multiple services with Macvlan in one file) | Difficult (run separate commands per container) | Good (create distinct container templates) |
| Configuration Tracking | Version-controllable plain-text YAML file | Version-controllable plain-text YAML file inside LXC | Transient (stored in shell history or custom scripts) | Saved in Unraid XML application templates |
| Macvlan Network Management | Built-in (Docker Compose creates and manages macvlan) | Built-in (Docker Compose creates and manages macvlan on LXC eth0) | Manual (must create network via CLI before running) | Native (select Unraid custom network, e.g. Custom : eth0) |
| Input Device Security | Fully supported (device_cgroup_rules & tmpfs) | Fully supported (device_cgroup_rules & LXC cgroup passthrough) | Fully supported (CLI flags) | Fully supported (via Extra Parameters) |
Next steps
Select the guide corresponding to your preferred deployment method:
- Deploy with Docker Compose: Recommended for all Linux hosts and multi-container gaming setups.
- Deploy with Docker and LXC: For Proxmox VE and Linux Container (LXC) environments.
- Deploy with the Unraid template: For Unraid OS users using the web administration interface.
- Deploy with docker run: For single-container testing and script-based execution.
After choosing your deployment tool, proceed to Choose a network mode to configure your local network connectivity.