Skip to content
Call of Duty 4 server in a Docker container
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

  1. Clone this repository
  2. Copy the main and zone folder(except main/video) from an installed and patched CoD4 to the cod4 subfolder.
  3. Build the docker image, e.g. docker build --tag=cod4image .
  4. Run the docker image: docker run --user=root -d -p 28960:28960/udp cod4image
  5. Connect to the server!

If you want to customize the server.cfg file you can mount /home/cod4/main/server.cfg as a volume. The server binary originates from and the punkbuster files from

You can’t perform that action at this time.