SkillAgentSearch skills...

Cod2docker

Docker image for your Call of Duty 2 server. Libcod included!

Install / Use

/learn @Lonsofore/Cod2docker
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

cod2docker

Docker image for your Call of Duty 2 server. Libcod included!

You can find detailed instruction in Killtube thread.

Supported tags

Tags compared from CoD2 version + libcod features + Docker image version. Examples for 0.5 image version: 1.0-voron-0.5, 1.3-0.5

Supported CoD2 versions: 1.0, 1.2, 1.3

Default version tag include MySQL and SQLite support both. If you want to use VoroN's MySQL variant (experimental) - use -voron with version.

List of all supported tags

How to use

Upload your main folder, fs_game of server (server folder) and cod_lnxded for your version to your server.

Create (or copy from repo) a docker-compose.yml file contains:

# example for 1.0 cod2 server
version: '3.7'
services:
  myserver:
    image: lonsofore/cod2:1.0
    container_name: myserver
    restart: always
    stdin_open: true
    tty: true
    ports:
      - 28960:28960
      - 28960:28960/udp
    volumes:
      - ~/cod2/myserver:/cod2/myserver
      - ~/cod2/main:/cod2/main
      - ~/cod2/Library:/cod2/.callofduty2/myserver/Library
    environment:
      PARAMS_BEFORE: "+exec myserver.cfg"
      COD2_SET_fs_homepath: "/cod2/.callofduty2/"
      COD2_SET_fs_game: "myserver"
      COD2_SET_dedicated: 2
      COD2_SET_net_port: 28960
    logging:
      driver: "json-file"
      options:
        max-size: "10m"
        max-file: "10"

And replace here volumes path to yours (local:container) and environment variables with yours (put in PARAMS your own fs_game, server port and server config name and also server port to CHECK_PORT).

Support

You always can get support on Killtube thread and Killtube Discord chat.

Feel free to ask!

View on GitHub
GitHub Stars13
CategoryDevelopment
Updated1mo ago
Forks5

Languages

Shell

Security Score

90/100

Audited on Feb 26, 2026

No findings