The next IW4x update will include two features specifically designed for those hosting servers on Linux: native Fail2Ban integration, which I discussed in detail in a previous post, and support for “containerization.”
While Docker containers for IW4x were already possible, most were set up in a way that required brand-new game files and IW4x files for each container, making hosting more than one server infeasible.
The next update will allow server hosters to set up servers in such a way that the base game files and the IW4x will be completely separate in different folders on your system.
The “base game files” encompass every file downloadable from Steam when you install Modern Warfare® 2 (2011).
The “IW4x files” encompass every file from the iw4x-rawfiles
and other client-specific files like the iw4x.dll
If you wish to set up a Docker container, consider the following configuration:
The folder where the docker will run will contain iw4x-rawfiles
and iw4x.dll
. Essentially, it holds all IW4x-specific files.
On the other hand, the /base_files
(which could be anywhere on your system) folder will contain all Modern Warfare® 2 (2009) game files downloaded from Steam.
The advantage of this setup can only be fully leveraged if you set the /base_files
folder to be read-only, allowing the IW4x server instance to access it without modifying it. Naturally, the server needs to write access to the container
for tasks such as writing logs, updating the node file, storing Fail2Ban logs, etc.
Note: The AWOG community is already making use of this experimental feature and has moved all of their IW4x servers to Docker. They use Pterodactyl®, a free, open-source game server management panel. This panel orchestrates “Eggs” which are Docker containers.