This repository contains Dockerfile of CS:GO Server for Docker published to the public Docker Hub Registry.
- 
Install Docker.
 - 
Download automated build from public Docker Hub Registry:
docker pull johnjelinek/csgoserver(alternatively, you can build an image from Dockerfile:
docker build -t="johnjelinek/csgoserver" github.com/johnjelinek/csgoserver-docker) 
docker run -dt --name csgo -v /var/docker/csgoserver:/home/csgoserver \
-p 27015:27015/tcp -p 27015:27015/udp --entrypoint /home/csgoserver/serverfiles/srcds_run \
johnjelinek/csgoserver -game csgo -usercon -strictportbind -ip 0.0.0.0 -port 27015 \
+clientport 27005 +tv_port 27020 -tickrate 64 +map de_dust2 +servercfgfile csgo-server.cfg \
-maxplayers_override 16 +mapgroup random_classic +game_mode 0 +game_type 0 \
+host_workshop_collection  +workshop_start_map  -authkey
- 
Copy
/csgoserverto~/csgoserver - 
./csgoserver install - 
Answer some questions
 - 
You can test everything went well with
./csgoserver startfollowed by./csgoserver details. - 
If everything looks good, run with the command listed under
Usage. 
Open CS:GO and Browse Community Servers. Open yourServerIP to see the result.