Unraid
Running the Hytale server container on Unraid is straightforward using Docker, which is natively supported.
Prerequisites
- Unraid OS installed
- A valid Hytale game license for authentication
Setup via Web UI
-
Open the Unraid web interface and navigate to the Containers tab.
- Add a new container:
- Name:
hytale-server - Repository:
deinfreu/hytale-server:latest-alpine-liberica - Hostname: Your server hostname (e.g.,
unraid)
- Name:
- Configure Network:
- Add another Port: Host port
5520, Container port5520, ProtocolUDP
- Add another Port: Host port
- Configure Storage:
- Add another Path:
- Host path: Your desired data directory (e.g.,
/mnt/user/appdata/hytale) - Container path:
/home/container - Mode:
RW
- Host path: Your desired data directory (e.g.,
- Add another Path (machine-id):
- Host path: Leave blank initially
- Container path:
/etc/machine-id - Mode:
RO
- Add another Path:
- Configure Containers:
- Toggle Terminal/PTY to
ON(required for authentication) - Set Restart policy to
Unless-stoppedorAlways
- Toggle Terminal/PTY to
- Save and apply the container settings.
Machine-ID Configuration
Unraid may not persist /etc/machine-id reliably across reboots in Docker containers. To ensure persistent server authorization:
-
SSH into your Unraid server:
ssh root@<your-unraid-ip> -
Create a machine-id file in your Hytale data directory:
cat /etc/machine-id > /mnt/user/appdata/hytale/machine-id - Edit the container in the Unraid web UI and change the machine-id path mapping:
- Host path:
/mnt/user/appdata/hytale/machine-id - Container path:
/etc/machine-id - Mode:
RO
- Host path:
- Apply changes.
Authentication
- Start the container from the Unraid web UI.
- Open the console by clicking on the container name in the Containers tab.
- The first run will display an authentication URL. Open it in a browser and log in with your Hytale account.
- After authorization, the server will start. You can now connect from clients.
Post-Installation
After successful authentication, you may optionally stop the container and configure additional environment variables or mod mounts via the Unraid web UI under Settings.
Keeping Terminal/PTY enabled is recommended for initial setup. You can disable it after authentication if desired.