Containerized version of SRB2Kart.
Containerized version of SRB2Kart, a kart racing mod based on the 3D Sonic the Hedgehog fangame Sonic Robo Blast 2, based on a modified version of Doom Legacy. You can use SRB2Kart to run a SRB2Kart dedicated netgame server given the proper config.
This will pull an image with SRB2Kart and start a dedicated netgame server on port 5029/udp
:
docker run -it --name srb2kart -p 5029:5029/udp eoin-oneill-yokai/srb2kart-server:latest
The ~/.srb2kart
directory is symlinked to /data
in the container. You can bind-mount a SRB2Kart directory (with configuration files, mods, etc.) on the host machine to the /data
directory inside the container. For example:
$ tree srb2kart-myserver/
srb2kart-myserver
βββ addons
β βββ kl_xxx.pk3
β βββ kl_xxx.wad
β βββ kr_xxx.pk3
βββ kartserv.cfg
1 directory, 4 files
Additionally, all files found in srb2kart-myserver/servermods
will automatically be loaded into the game exectubale and enabled on the server.
This directory must be accessible to the user account that is used to run SRB2Kart inside the container. If your host machine is run under *nix OS, SRB2Kart uses the non-root account
10001:10001
(group:id
, respectively).
docker run --rm -it --name srb2kart \
-v <path to data directory>:/data \
-p <port on host>:5029/udp \
rwanyoike/srb2kart-server:<version> -dedicated -file \
addons/kl_xxx.pk3 \
addons/kl_xxx.wad \
addons/kr_xxx.pk3
git clone https://github.com/eoin-oneill-yokai/srb2kart-server-docker
cd srb2kart-server-docker/
docker build --build-arg "SRB2KART_VERSION=<version>" \
-t srb2kart-server:<version> .
The build will clone the STJr/Kart-Public repository and build the SRB2Kart executable, as well as download the data files (/usr/share/games/SRB2Kart
) for SRB2Kart.
This project is licensed under the GPLv2 License.