Minimal & lightweight Call of duty 2 server docker image - include libcod library
50K+
Launch a minimal & lightweight containarized Call of Duty 2 multiplayer game server, including libcod.
Images are available on Docker Hub for all 17 server variants (COD2 versions 1.0/1.2/1.3 with voron/ibuddieat libcod libraries).
# Production - immutable tag (recommended)
image: bgauduch/cod2server:6.0.0-1_3_nodelay_va_loc-ibuddieat
# Development - latest default variant
image: bgauduch/cod2server:latest
6.0.0-1_3_nodelay_va_loc-ibuddieat - Full version + variant + libcodlatest, 6, 6.0, 6.0.0 - Default variant only (1_3_nodelay_va_loc-ibuddieat)1_3_nodelay_va_loc-ibuddieat, 1_3_nodelay_va_loc-voron, 1_2_c_nodelay-voron, etc. - Latest build per variantSee CONTRIBUTING.md for complete tagging strategy and bin/readme.md for variant explanations.
cod2_lnxded from Killtube by Kung Foo Man and MitchFull credits to them for their awesome work!
.iwd files from retail copy, Steam or archive.org)Clone repository:
git clone https://github.com/bgauduch/call-of-duty-2-docker-server.git
cd call-of-duty-2-docker-server
Add game files:
Copy iw_XX.iwd (00-15) and localized_*_iwXX.iwd from your game to cod2server/main/
Configure server:
Edit cod2server/main/server_mp.cfg:
Launch:
docker-compose up -d
docker-compose restart # Restart server
docker-compose logs -f cod2_server # View logs
docker-compose down # Stop server
For console commands and advanced usage, see doc/readme.md.
The server stops with these log lines when it finds no game file in /home/cod2/main:
0 files in iwd files
Couldn't load default_localize_mp.cfg. Make sure Call of Duty is run from the correct folder.
List the files the container sees:
docker-compose run --rm --entrypoint ls cod2_server /home/cod2/main
The list is empty: set the volumes path in docker-compose.yaml to the folder that holds your .iwd files.
The list shows the .iwd files (reported on Windows Docker Desktop and Unraid): start the server with the named volume override. It copies cod2server/main into a Docker volume at each start.
docker-compose -f docker-compose.yaml -f docker-compose.volume.yaml up -d
Contributions are welcome! Please:
MIT License - See releases for changelog.
docker pull bgauduch/cod2server:latest