Sign inSign up

lonsofore/cod2

By lonsofore

Updated over 5 years ago

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

Image
0

10K+

lonsofore/cod2 repository overview

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!

Tag summary

Content type

Image

Digest

Size

211.6 MB

Last updated

over 5 years ago

docker pull lonsofore/cod2