Configure Steam Headless
Most people only need to choose a GPU, storage location, display size, and network name. Start with the guides below and leave settings at their defaults unless you have a reason to change them.
Choose your hardware and storage
- Configure your GPU: Find your GPU's render node and pass it to the container.
- Choose how many containers to run: Check whether your server has enough processor, memory, and GPU capacity for each gaming desktop.
- Configure devices and storage: Set up virtual controllers, persistent desktop data, and your Steam library.
- Use the desktop and install apps: Learn what is included, add apps through Discover, and choose a display mode.
Set the initial display mode
A new desktop starts at 1920x1080 and 120 Hz. You can choose another starting resolution and refresh rate with the INITIAL_DISPLAY_* options. After the desktop has started, change its mode through System Settings > Display & Monitor > Display Configuration. KDE remembers that choice, so it takes priority over the initial values on later starts.
Choose the GPU devices
For a normal one-GPU setup, map its /dev/dri/renderD* node and leave the compositor and encoder device options empty. Steam Headless finds the mapped node and uses it for the KDE desktop, SHUI, and Sunshine.
If you map two render nodes into one container, choose which GPU draws the desktop and which GPU encodes SHUI and Sunshine streams. See Use separate rendering and encoding GPUs for an example.
Steam Headless normally keeps Sunshine matched to the container's encoder GPU. Follow the SUNSHINE_ENABLE_AUTO_CONFIG option before choosing a different renderer or encoder in Sunshine's Configuration page, or the next container start will restore the managed choice.
Give each desktop its own identity
If you run more than one container, give each one a different Moonlight name using the option under Streaming. Each container also needs its own IP address, home directory, state volume, and journal volume. Steam Headless automatically gives each container an internal virtual seat name and keeps its virtual controllers separate.
Advanced options
Most other environment variables and Docker security settings should stay as shown in the deployment examples. The Container options reference lists them for users who need custom streaming, logging, TURN, or automation settings.
Next steps
- Use host networking for one container or macvlan networking for several containers.
- Start with Docker Compose or the Unraid template.
- When the container is running, complete first-run setup.