Carrier Command 2
GameCarrier Command 2 dedicated server (Windows binary, runs on Linux via Wine). Requires Steam ownership of CC2 to install. Uses 4 consecutive UDP ports (default 25565-25568).
Startup Command
cd /home/container && sed -i -e 's%port="[^"]*"%port="'"${SERVER_PORT}"'"%' -e 's%max_players="[^"]*"%max_players="'"${MAX_PLAYERS}"'"%' -e 's%server_name="[^"]*"%server_name="'"${SERVER_NAME}"'"%' -e 's%password="[^"]*"%password="'"${SERVER_PASSWORD}"'"%' -e 's%save_name="[^"]*"%save_name="'"${SAVE_NAME}"'"%' -e 's%island_count="[^"]*"%island_count="'"${ISLAND_COUNT}"'"%' -e 's%island_count_per_team="[^"]*"%island_count_per_team="'"${ISLAND_COUNT_PER_TEAM}"'"%' -e 's%carrier_count_per_team="[^"]*"%carrier_count_per_team="'"${CARRIER_COUNT_PER_TEAM}"'"%' -e 's%team_count_ai="[^"]*"%team_count_ai="'"${TEAM_COUNT_AI}"'"%' -e 's%team_count_human="[^"]*"%team_count_human="'"${TEAM_COUNT_HUMAN}"'"%' -e 's%base_difficulty="[^"]*"%base_difficulty="'"${BASE_DIFFICULTY}"'"%' -e 's%loadout_type="[^"]*"%loadout_type="'"${LOADOUT_TYPE}"'"%' -e 's%blueprints="[^"]*"%blueprints="'"${BLUEPRINTS}"'"%' server_config.xml && WINEPREFIX=/home/container/.wine WINEARCH=win32 WINEDEBUG=-all LD_LIBRARY_PATH=/home/container/linux64:$LD_LIBRARY_PATH SteamAppId=1489630 wine /home/container/dedicated_server.exeDocker Images
Environment Variables
Features
steam_disk_space