A Docker image to easily setup, maintain and run a Hytale Server from Day One.
877
This repository provides a production-ready Docker image for running a Hytale Private Server. It is built on a lightweight Alpine Linux base with Eclipse Temurin Java 25, ensuring a secure and efficient environment for your server.
HytaleServer.jar and Assets.zip automatically.hytale) with proper permission management.Create a docker-compose.yml file:
services:
hytale:
image: lucasformiga/hytale-server-docker:latest
container_name: hytale-server
restart: unless-stopped
ports:
- "5520:5520/udp"
volumes:
- ./hytale-data:/hytale/data
environment:
- HYTALE_OPTS=-Xmx4G -Xms2G
- DISABLE_SENTRY=true
stdin_open: true
tty: true
Start the Server:
Run the following command in your terminal:
docker compose up
Note: We recommend running without -d (detached mode) for the first run to easily see the authentication prompts.
Important: The first time you start the server, you will need to authenticate it with your Hytale account.
Monitor the Console: Watch the terminal output after starting the container.
Authenticate: When the server startup initializes, it will prompt you for authentication. You will see a message asking you to log in.
Execute Login Command: Type the following command directly into the server console (or your terminal if attached):
/auth login device
Complete Authentication: The server will provide a URL or a code. Copy this link/code and open it in your web browser to authorize the server.
Success: Once authenticated, the server will finish loading and be ready for connections.
If you are running the server in detached mode (-d), you can access the console using:
docker attach hytale-server
(Press Ctrl+P, Ctrl+Q to detach without stopping the container)
You can configure the server behavior using environment variables in your docker-compose.yml or docker run command.
| Variable | Default | Description |
|---|---|---|
BIND_ADDRESS | 0.0.0.0 | IP address the server listens on. |
HYTALE_OPTS | (empty) | Java Virtual Machine (JVM) arguments (e.g., -Xmx8G). |
SERVER_ARGS | (empty) | Additional arguments passed to the Hytale server executable. |
DISABLE_SENTRY | true | Set to false to enable Sentry telemetry and error reporting. |
DISABLE_AOT | false | Set to true to disable the AOT (Ahead-of-Time) cache. |
FORCE_UPDATE | false | Set to true to force the downloader to run again on startup. |
All server data is stored in the /hytale/data directory inside the container. This includes:
config.jsonpermissions.jsonHytaleServer.jarBy mounting a volume (as shown in the example), your data persists across container restarts and updates.
/hytale/data directory. If you manually edit files on the host, ensure they remain readable by the container user (UID 1000)./auth login device flow and that the server has internet access.All pull requests are welcome! Please ensure that your changes are well-documented and tested. Here is the GitHub Repository: https://github.com/lucasformiga/hytale-server-docker
This project is licensed under the MIT License. Hytale is a trademark of Hypixel Studios. This is an unofficial community-maintained image.
Content type
Image
Digest
sha256:377f6ce01…
Size
106.7 MB
Last updated
8 months ago
docker pull lucasformiga/hytale-server-docker