Counter-Strike: Global Offensive (CS:GO) is an online first-person shooter developed by Hidden Path Entertainment and Valve Corporation. It is the fourth game in the main Counter-Strike franchise.
-
Create a Steam account token here: http://steamcommunity.com/dev/managegameservers.
-
Run the container:
$ docker run -d -P -e STEAM_GAME_SERVER_TOKEN=1234567890 brandonstevens/csgo-server
The CSGO Dedicated Server image uses several environment variables which are easy to miss. While none of the variables are required, they may significantly aid you in using the image.
This environment variable is required for you to use the CSGO Dedicated Server image. See http://blog.counter-strike.net/index.php/2015/12/13325/ for more information.
This optional environment variable can be used to define the initial game type of the server. See https://developer.valvesoftware.com/wiki/Counter-Strike:_Global_Offensive_Dedicated_Servers#Starting_the_Server for more information on setting game type and game mode.
This optional environment variable can be used to define the initial game mode of the server.
This optional environment variable can be used to define the initial map group of the server.
This optional environment variable can be used to define the initial map of the server.
This optional environment variable can be used to define the name of the server in the Community Server Browser.
This optional environment variable can be used to set the server as a LAN server by setting LAN=1.
This optional environment variable can be used to define the specific password for remote console access. If not set, a random password is generated for you.
This optional environment variable can be used to define the server password for players. If not set, no password is required to connect.