Skip to content
Docker image for your Call of Duty 2 server. Libcod included!
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
cod2_lnxded chmod Apr 26, 2019
Dockerfile changed cmd to entrypoint back (doesn't work with cmd :( ) Apr 26, 2019
LICENSE
README.md
__version__ added docker image version May 25, 2019
build.sh added docker image version May 25, 2019
build_all.sh added docker image version May 25, 2019
docker-compose.yml added docker image version May 25, 2019

README.md

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:

version: '3.7'
services:
  myserver:
    image: lonsofore/cod2:1.0
    container_name: myserver
    restart: always
    stdin_open: true
    tty: true
    network_mode: host
    volumes:
      - ~/cod2/myserver:/cod2/myserver
      - ~/cod2/main:/cod2/main
      - ~/cod2/cod2_lnxded_1_0:/cod2/cod2_lnxded
      - ~/cod2/Library:/cod2/.callofduty2/server/Library
    environment:
     PARAMS: "+set fs_homepath /cod2/.callofduty2/ +set fs_game myserver +set dedicated 2 +set net_port 28960 +exec myserver.cfg"
     CHECK_PORT: 28960

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!

You can’t perform that action at this time.