bf42-dock

Prerequisites

Building

$ 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.