Digital Paint Discussion Board
Paintball 2: The Game => Server Discussion => Topic started by: your teammate on September 29, 2020, 12:34:57 PM
-
Hi,
I wanted to learn some Docker so I created a docker image for hosting a server, you can get it here: https://hub.docker.com/r/nukla/paintball2
You can either start a completely fresh server with no previous configuration or provide your own pball/ directory. Basic instructions on how to start the server are included in the readme, some docker experience might be useful. Please backup your pball/ directory before trying it out because the image might be doing weird things and accidentally overwrite it.
The server doesn't see the IP address of the clients, so IP banning probably doesn't work, not sure if this is fixable in docker.
The "code" for building the image yourself is here: https://gitlab.com/nukla/paintball2-docker
You can also pass your own arguments to the paintball2 binary, I just didn't document it yet
Maybe it's useful for someone out there
-
Nice! Never messed with docker myself, but I know a lot of people find it useful.
-
Hi!
Nice work,
It's probably a little too late, but you can use the --net=host flag to make the container use host's network namespace - it should make your container(s) able to get the real IPs.
-
Finally updated it to build 45
-
Cool contribution! Sounds like a good use case for docker and so I hope to use it any time soon to get some first experience with it myself.
-
Updated the image to build 46