ASKA dedicated server on Linux: Alpine + Wine 11, ntsync, crash reports and save backups
2.3K
Run an ASKA dedicated server on Linux. The server binary is Windows-only, so it runs under Alpine's
own Wine 11, with ntdll.so patched for the Unity memory runaway. The image sizes Unity's worker
threads to your CPU cores, detects crashes, finds your save and can back it up on start, and runs as
a non-root user (UID 1000). Its healthcheck turns green only once the game has opened its session.
Image: jimbit0/aska-dedicated-server:experimental (x86-64 only)
Disconnected from chat with reason DisconnectByClientLogic. The server still restarts when it
sees that line, as it did before, but it no longer reports it as a crash. To turn the restart off,
see Crashes and restarts below.ASKA_NTSYNC_ENABLED (auto or 1)ASKA_MAX_CPU_CORES removed; it never did anything on this tagproton_stdout.log to wine_stdout.logunstable (Debian + Proton-GE) tag is retired and gets no further buildsservices:
aska:
image: jimbit0/aska-dedicated-server:experimental
container_name: aska-server
restart: unless-stopped
stop_grace_period: 90s # the game gets up to 75 s to exit; Docker's default 10 s kills it first
mem_limit: 8g
ports:
- "27015:27015/udp"
- "27016:27016/udp"
environment:
ASKA_DISPLAY_NAME: "My ASKA Server"
ASKA_SERVER_NAME: "my-server"
ASKA_AUTH_TOKEN: "YOUR_TOKEN_HERE"
ASKA_SAVE_BACKUP: "1"
volumes:
- ./aska/server:/home/steam/aska_server
- ./aska/saves:/aska-saves
With docker run, pass --stop-timeout 90 and --restart unless-stopped. The first boot downloads
the server from Steam, so expect several minutes before the container reports healthy.
ntsync module and /dev/ntsync passed in, so Wine uses ntsync| Variable | Default | Description |
|---|---|---|
ASKA_AUTH_TOKEN | none | Steam GSLT, required |
ASKA_DISPLAY_NAME | ASKA Server | Name in the server browser |
ASKA_SERVER_NAME | aska_default | Internal server identifier |
ASKA_PASSWORD | "" | Join password (empty = open) |
ASKA_REGION | default | default, Asia, EU, US, etc. |
ASKA_MODE | normal | Game mode |
ASKA_MAX_PLAYERS | 4 | Concurrent players |
ASKA_SEED | "" | World generation seed |
ASKA_KEEP_WORLD_ALIVE | false | Keep the world running with no players |
ASKA_AUTOSAVE_STYLE | every morning | every morning, frequent, manual |
ASKA_SAVE_ID | "" | World to load, see Saves below |
ASKA_SAVE_BACKUP / ASKA_KEEP_SAVES | 0 / 3 | 1 = tar.gz backup on start; keep the newest N |
ASKA_WORKER_THREADS | auto | Unity worker threads (auto = cores − 1, minimum 2) |
ASKA_NTSYNC_ENABLED | auto | auto = ntsync if /dev/ntsync opens; 1 = refuse to start without it |
ASKA_SKIP_STEAM_UPDATE | 0 | 1 = skip the game update on start |
ASKA_STEAM_VALIDATE | 0 | 1 = validate game files (slower) |
ASKA_STEAM_GAME_PORT / ASKA_STEAM_QUERY_PORT | 27015 / 27016 | Ports inside the container |
TZ | UTC | Log and backup timestamps, e.g. Asia/Kuala_Lumpur |
Rarely needed: ASKA_CRASH_PATTERN (see Crashes and restarts below), ASKA_CRASH_LOG_LINES (30),
ASKA_ENABLE_PROFILING, ASKA_XVFB_SCREEN, ASKA_PROPERTIES_FILENAME.
The server loads the first of: ASKA_SAVE_ID, the save id in server.properties.docker.txt, the
newest savegame_* folder in /aska-saves, or a new world. A save folder appears only after the
first auto-save.
To use an existing save, drop its savegame_* folder into /aska-saves and clear any stale
save id in the properties file, or set ASKA_SAVE_ID to the folder suffix
(savegame_0fef8_181125131111 becomes 0fef8_181125131111). A Windows server keeps its saves in
%USERPROFILE%\AppData\LocalLow\Sand Sailor Studio\Aska\data\server\.
Backups go to /aska-saves/backups/, taken at start before the server launches. A new world has
nothing to back up on its first boot.
jemalloc's page reclaim is tuned from the container's memory limit, or the host's RAM when there is none. It does not govern the footprint: Wine serves most of the game's memory from its own heap. Measured idle, the server holds ~1.5 GB; jemalloc adds ~220 MB, and its reclaim setting moves that by under 5 MB. Size the limit for the world you host.
docker logs -f aska-server
docker exec aska-server tail -f /home/steam/aska_server/logs/aska_game_output.log
Logs live in /home/steam/aska_server/logs/: aska_game_output.log, wine_stdout.log, and the
SteamCMD and Xvfb logs. Each is rotated to <name>.old on start. The container turns healthy once
the game logs The session is now open!.
The image watches the game's exit code and its log. When it sees one of these lines, it stops the
server and the container exits, so your restart policy can start it again: Fatal error,
Segmentation fault, Stack overflow, OutOfMemoryException, Application will be terminated,
Crash!!!. Each crash writes crash_<time>.log to the logs folder and prints a summary on the
next start.
One more line restarts the server without counting as a crash:
Disconnected from chat with reason DisconnectByClientLogic. The game sometimes logs it when the last player leaves. We have not
confirmed that the server takes players and chat normally after that line, so the image restarts it.
The restart takes about two minutes.
To turn that restart off, set:
ASKA_CRASH_PATTERN: "Crash!!!"
ASKA_CRASH_PATTERN replaces every built-in log rule with the one line you give it, the chat
restart included. Crash!!! is Unity's crash banner, so the setting above still catches real
crashes, along with the exit code. The other five crash lines are no longer watched.
| Tag | Description |
|---|---|
experimental | Alpine + Wine 11, the only maintained tag |
unstable | Debian 13 + Proton-GE, retired 2026-11-06, no further builds |
MIT. Not affiliated with Sand Sailor Studio or Valve.
Last updated 2026-11-22. Image version: experimental 0.3.1. Maintainer: jimbit.
docker pull jimbit0/aska-dedicated-server:experimental