Battlefield 1942 Dedicated Containerized Server
10.0K
Dockerized battlefield 1942
$ docker build -t bf42 .
$ docker run -d -p 14567:14567/udp bf42
The above run command with published port 14567 is the bare minimum for direct connecting to the server. If you want to host a LAN or internet game and have the game show up in the battlefield server browser, you need to publish more ports.
LAN game:
$ docker run -d -p 14567:14567/udp -p 3117:3117/udp bf42
Internet game:
$ ?? not tested yet
Battlefield 1942 needs these ports:
docker pull inanimate/battlefield1942:latest