This project is an adjusted version of the excellent work by bgauduch. This repository is intended for a closed circle of friends to be used when necessary.
- Author: bgauduch
- Original Repository: https://github.com/bgauduch/call-of-duty-2-docker-server
I've modified this project to include:
- Added rcon password (available on request).
- Added server password (available on request).
To run the server, you need to provide the necessary game data:
- Clone or download this repository to your host machine.
- Copy required data from the main folder of your original game (install directory or retail DVD) to the
cod2server/main
folder within this project:- Copy all
iw_XX.iwd
files (from 00 to 15). - Copy all localization files (e.g.,
localized_english_iwXX.iwd
- adjust language if needed).
- Copy all
OR
- Request the FULL Docker image if available.
- Launch the server from the project root directory:
docker-compose up -d
- Restart the server (e.g., to pick up config changes):
Note:
docker-compose restart cod2_server
cod2_server
refers to the name of the service in thedocker-compose.yml
file. - View server logs:
docker-compose logs -f cod2_server
- Attach a shell to the server to run commands (like
status
ormap_rotate
):docker container attach call-of-duty-2-docker-server_cod2_server-1
- Example Commands:
status map_rotate
- To detach: Use the escape sequence
CTRL+P
, thenCTRL+Q
, or simply typequit
if the server console allows it.
- Example Commands:
- Completely stop the server:
docker-compose down
- Launch the COD2 MP in the menu press the console button and type:
/password <the_requested_passowrd>
- Open the console again and type:
/connect <private/public_ip_of_the_docker_host:28960>
- Login with rcon :
/rcon login <requested_rcon_password>
- If you need more rcon commands visit : here
- Have Fun
A huge thank you to bgauduch for creating the foundational work for this project!