Docker container for running a Sonic Robo Blast 2 Kart dedicated server.
At a minumum, UDP port 5029 must be exposed.
docker run -itd --name srb2kart -p 5029:5029/udp brianallred/srb2kart
You may choose a different host port, just note that players joining your server must specify the port number if it deviates from the default.
In order to configure server variables, bind the /configs
volume to a host directory, create kartserv.cfg
, and edit it. Documentation here.
docker run -d --name srb2kart -p 5029:5029/udp -v /path/on/host/config:/configs:ro brianallred/srb2kart
$ sudo vim /path/on/host/config/kartserv.cfg
In order to load addons, bind the /addons
volume to a host directory and copy them there.
docker run -d --name srb2kart -p 5029:5029/udp -v /path/on/host/addons:/addons:ro brianallred/srb2kart
Addons can be in the /path/on/host/addons/
directory directly or in folders in case you need a certain order. Example:
addons/
├── 00-loadfirst/
├── 30-chars/
├── 60-maps/
└── 90-mods/
Note that if you're unable to join the server after adding an addon, make sure the addon was loaded correctly (docker logs srb2kart
is a great place to start).
In order to persist luafiles through server shutdowns, bind the '/luafiles' volume to a host directory.
docker run -d --name srb2kart -p 5029:5029/udp -v /path/on/host/luafiles:/luafiles brianallred/srb2kart
Pass -room <id>
as a parameter after the image name, where <id>
is either 33 for Standard or 28 for Casual.
docker run -d --name srb2kart -p 5029:5029/udp brianallred/srb2kart -room 33
Pass the parameter after the image name.
docker run -d --name srb2kart -p 5029:5029/udp brianallred/srb2kart -password 1234
Most parameters can also be set in the kartserv.cfg
file.