Run a Black Ops III T7x dedicated server on ARM hardware, in one container.
I wanted a BO3 server that could live on an Oracle Cloud free-tier ARM instance, where hosting costs nothing. Hangover turned out to be too rough for this, so instead the whole thing runs under CPU emulation: FEX-Emu translates x86-64 to ARM64, Wine handles the Windows side, and T7x runs on top. It works well enough that a public server has held four players without trouble.
ARM64 only. This image will not run on an x86/amd64 machine — you will get
exec format error. Tested on Ampere A1; any ARMv8 host should work.
Grab docker-compose.yml, then:
docker compose up -d && docker compose logs -fThe image ships the emulation stack only — no game files. On first boot the
container downloads the dedicated server from Steam (anonymously, no account
needed) into server/, applies the community server config, fetches t7x.exe
from AlterWare, and starts up. That's roughly 4 GB, so give it a few minutes.
Multiplayer — set GAME_MODE: mp in docker-compose.yml. That's the whole
install, nothing else needed.
Zombies — set GAME_MODE: zm and do the one manual step below.
Zombies needs fastfiles that the dedicated server download does not include.
Copy them from a Black Ops III installation you own into server/zone/:
zm_common.ff zm_patch.ff zm_levelcommon.ff zm_common.fd
en_zm_common.ff en_zm_patch.ff
Then four files for each map you want to host:
zm_<map>.ff zm_<map>_patch.ff en_zm_<map>.ff en_zm_<map>_patch.ff
plus zm_<map>.fd where it exists. Skip the .xpak files — those are textures
and sounds, and the server doesn't need them. Everything above is about 1.4 GB
for the full set.
Map codenames are listed in server/zone/server_zm.cfg once the container has
run once. Shadows of Evil is zm_zod, Kino der Toten is zm_theater, and so
on.
The container checks for the six shared files on startup and refuses to launch with a list of what's missing, rather than dying with an unhelpful error later.
Container settings live in the environment: block of docker-compose.yml —
port, game mode, mod folder, restart behaviour. Each one has a comment.
Game settings — hostname, rcon password, max players, map rotation — go in
server/zone/server_zm.cfg, which appears after the first run. Those are
standard BO3 dedicated server options and are documented by
t7-server-config; nothing about
them is specific to this image.
Two that matter on first run:
PUID/PGID— set these to your ownid -uandid -g, or files the container writes intoserver/won't be editable from your shell.NET_PORT— defaults to 27017 and needs no change. If you do want a different port, it appears twice (inports:and inenvironment:) and both have to match.
On a cloud host, remember to allow the UDP port in your provider's firewall — security list or NSG ingress rule on Oracle Cloud, security group on AWS, and so on. Docker handles the host's own iptables rules for published ports.
tools/rcon.py is a small Quake-style RCON client. Most phone and desktop
"RCON" apps speak Valve's Source RCON, which is a completely different protocol
and will not connect.
./tools/rcon.py status ./tools/rcon.py "say hello everyone" ./tools/rcon.py # interactive
Run it from the project root and it reads the password out of your config. The password travels in cleartext, so prefer running it on the server over SSH.
Only needed if you're producing the image rather than pulling it.
docker-compose.dev.yml is the same service but built locally instead of
pulled. The build installs packages inside an amd64 filesystem, so the builder
needs QEMU binfmt registered once:
docker run --privileged --rm tonistiigi/binfmt --install amd64 docker compose -f docker-compose.dev.yml up -d --build
The game server is Windows x86-64 only, so nothing about it runs natively on ARM.
The image is built in two stages. The first is a real linux/amd64 Ubuntu
where Wine, SteamCMD and the supporting libraries are installed by apt, with
proper dependency resolution. That filesystem is then copied into a native
arm64 stage as the FEX RootFS. FEX only translates CPU instructions — it
supplies no libraries — so x86 Wine needs an x86-64 filesystem to load libc,
libfreetype and every other shared library it links against. That filesystem
is the rootfs.
Wine itself is deliberately installed outside the rootfs. Anything inside it
has two names — one as the guest sees it, one as the host does — and Wine
resolves its own location by one route and loads its DLLs by another. Under
FEX those disagree, and you get could not load kernel32.dll even though the
file is right there.
binfmt_misc isn't needed at runtime. Every x86 binary is launched explicitly
through FEXInterpreter, and Wine's child processes are fine because FEX
intercepts execve() itself.
Two other things worth knowing:
seccomp=unconfinedis required. Docker's default profile blocks syscalls FEX needs and the emulator dies at startup without it.- The server can deadlock. Process alive, CPU pegged, port still bound, but
the game loop stopped and it silently drops off the server browser. A
watchdog sends a
getinfoquery every 30 seconds and restarts the container after four consecutive misses. Tune or disable it with theWATCHDOG_*settings.
The image contains no game content and no T7x binary — both are fetched at runtime — so it's safe to publish and redistribute.
- AlterWare for T7x, the open-source client this server runs on. It's downloaded from their host at startup, not bundled here.
- Dss0/t7-server-config for the server configuration files, cloned at first run.
- FEX-Emu and Wine, without which none of this would be possible.
Black Ops III and its game files are property of Activision and Treyarch. No game content is distributed here — you supply your own.