Skip to content
Dockerfile for the CSGO server
Dockerfile Shell Makefile
Branch: master
Clone or download
Latest commit 8286c76 May 6, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Dockerfile Update ubuntu to 18.04 Apr 27, 2019
LICENSE.md Add MIT license May 6, 2019
Makefile
README.md Fix broken formatting May 6, 2019
autoexec.cfg Add autoexec, increase tick rate. More samples how to run this Jan 30, 2017
csgo.sh Add autoexec, increase tick rate. More samples how to run this Jan 30, 2017
csgo_ds.txt Convert tf2 server in to csgo server May 13, 2016
server.cfg Add server cfg Jan 30, 2017
tf2_ds.txt I'm assuming this will validate binary blob May 13, 2016
update.sh Convert tf2 server in to csgo server May 13, 2016

README.md

Counter Strike Global Offensive + Docker

License

CS:GO server in docker with 128 tick enabled by default.

Docker hub image

docker pull gonzih/csgo-server

Details:

By default image is build with enabled autoupdate feature (take a look at csgo.sh file). You can create new Dockerfile based on that image (FROM csgo) and customize it with plugins, configs, CMD and ENTRYPOINT instructions.

# Build image and tag it as csgo
docker build -t csgo github.com/Gonzih/docker-csgo-server

# Run image with default options (CMD in Dockerfile)
docker run -d -p 27015:27015 -p 27015:27015/udp csgo

# Run image with as Classic Casual server
docker run -d -p 27015:27015 -p 27015:27015/udp csgo -console -usercon +game_type 0 +game_mode 0 +mapgroup mg_active +map de_cache

# Run image with as Classic Competetive server
docker run -d -p 27015:27015 -p 27015:27015/udp csgo -console -usercon +game_type 0 +game_mode 1 +mapgroup mg_active +map de_cache

# Run image with as Arm Race server
docker run -d -p 27015:27015 -p 27015:27015/udp csgo -console -usercon +game_type 1 +game_mode 0 +mapgroup mg_armsrace +map ar_shoots

# Run image with as Demolition server
docker run -d -p 27015:27015 -p 27015:27015/udp csgo -console -usercon +game_type 1 +game_mode 1 +mapgroup mg_demolition +map de_lake

# Run image with as Deathmatch server
docker run -d -p 27015:27015 -p 27015:27015/udp csgo -console -usercon +game_type 1 +game_mode 2 +mapgroup mg_allclassic +map de_dust

# To run lan server just add `+sv_lan 1` at end of command
docker run -d -p 27015:27015 -p 27015:27015/udp csgo -console -usercon +game_type 0 +game_mode 1 +mapgroup mg_active +map de_cache +sv_lan 1

Running public server

To run public server you need to Register Login Token and adding +sv_setsteamaccount THISGSLTHERE -net_port_try 1 to the server command. Refer to Docs for more details.

You can’t perform that action at this time.