
Counter-Strike is a multiplayer first-person shooter video game developed by Valve. This image is based on Valve's Steam Runtime 3 platform (codenamed SNIPER) and was created to run both CSGO and CS2 without issues.
Here's what you need to run a Counter-Strike: Global Offensive (SteamRT3) dedicated server.
Small server, 2-10 players
Medium server, 10-24 players
Large server, 24-64 players
Start hosting from your own computer
Run a Counter-Strike: Global Offensive (SteamRT3) server on your desktop, laptop, VPS, or dedicated machine — GameCP automates Docker setup, resource allocation, and Counter-Strike: Global Offensive (SteamRT3) configuration instantly. Automatic port forwarding means your friends can connect without touching your router. Start local, scale to a VPS when you're ready.
Skip the manual SteamCMD installation, port forwarding, and systemd configuration. Install on your own computer and start hosting instantly.
The full manual process to host a Counter-Strike: Global Offensive (SteamRT3) dedicated server on a VPS. Or install GameCP on your own computer and skip all of this.
Set your server settings, then install Docker, SteamCMD, and pull the Counter-Strike: Global Offensive (SteamRT3) container image.
# Update system and install Docker sudo apt update && sudo apt install -y docker.io sudo systemctl enable --now docker # Create game server directory sudo mkdir -p /opt/gameserver # Install SteamCMD sudo mkdir -p /opt/steamcmd curl -sqL "https://steamcdn-a.akamaihd.net/client/installer/steamcmd_linux.tar.gz" | sudo tar zxvf - -C /opt/steamcmd # Server configuration export MAX_PLAYERS="12" export VAC_ENABLED="1" export RCON_ENABLED="0" export SRCDS_MAP="de_dust2" export SERVER_TICKRATE="128" export GAME_MODE="0" export GAME_TYPE="0" export BOT_QUOTA="0" export BOT_QUOTA_MODE="fill" export BOT_DIFFICULTY="1" export AUTO_UPDATE="1" # Pull the container image docker pull ghcr.io/1zc/steamrt3-pterodactyl:latest
Download the Counter-Strike: Global Offensive (SteamRT3) dedicated server using Steam App ID 740.
# Download Counter-Strike: Global Offensive (SteamRT3) server files (App ID: 740)
/opt/steamcmd/steamcmd.sh \
+force_install_dir /opt/gameserver \
+login ${STEAM_USER} \
+app_update 740 validate \
+quitCounter-Strike: Global Offensive (SteamRT3) requires 2 ports to be open for game traffic and queries.
sudo ufw allow 27015/both sudo ufw allow 27020/both
Start the Counter-Strike: Global Offensive (SteamRT3) server using the configuration from Step 1.
Create the startup script
# Create the startup script
cat > /opt/gameserver/start.sh << 'EOF'
#!/bin/bash
# 1. Setup 32/64-bit Steam libraries
mkdir -p /.steam/sdk32 /.steam/sdk64
[ -f /steamcmd/linux32/steamclient.so ] && cp -v /steamcmd/linux32/steamclient.so /.steam/sdk32/steamclient.so
[ -f /steamcmd/linux64/steamclient.so ] && cp -v /steamcmd/linux64/steamclient.so /.steam/sdk64/steamclient.so
# 2. Build Argument Array
PARAMS=(
"-game" "csgo"
"-console"
"-port" "27015"
"+ip" "0.0.0.0"
"-tickrate" "128:-128}"
"+map" "de_dust2:-de_dust2}"
"+maxplayers" "12:-12}"
"-maxplayers_override" "12:-12}"
"+hostname" ""
"+sv_password" ":-}"
"+rcon_password" ""
)
# 3. Add Conditional Arguments
[[ "1" == "1" ]] || PARAMS+=("-insecure")
[[ "0" == "1" ]] && PARAMS+=("-usercon")
# 4. Add Bot CVARs
PARAMS+=(
"+bot_quota" "0:-0}"
"+bot_quota_mode" "0_MODE:-fill}"
"+bot_difficulty" "1:-1}"
)
# 5. GSLT Logic
[[ -n "" ]] && PARAMS+=("+sv_setsteamaccount" "")
# 6. Game Mode / Type
PARAMS+=(
"+game_mode" "0:-0}"
"+game_type" "0:-0}"
)
# 7. Execution Loop (Auto-Restart on Crash)
echo "Starting CS:GO Server: "
until ./srcds_run "[@]}" -norestart; do
echo "Server crashed with exit code $?. Respawning in 5 seconds..."
sleep 5
done
EOF
chmod +x /opt/gameserver/start.shRun the container
docker run -d \ --name counter-strike-global-offensive-steamrt3-server \ -p 27015:27015/both \ -p 27020:27020/both \ -e MAX_PLAYERS="12" \ -e VAC_ENABLED="1" \ -e RCON_ENABLED="0" \ -e SRCDS_MAP="de_dust2" \ -e SERVER_TICKRATE="128" \ -e GAME_MODE="0" \ -e GAME_TYPE="0" \ -e BOT_QUOTA="0" \ -e BOT_QUOTA_MODE="fill" \ -e BOT_DIFFICULTY="1" \ -e AUTO_UPDATE="1" \ -v /opt/gameserver:/opt/gameserver \ -w /opt/gameserver \ ghcr.io/1zc/steamrt3-pterodactyl:latest \ ./start.sh
Alternative startup profiles:
GameCP lets you switch between these profiles with one click.
GameCP automates every step above: Docker, SteamCMD, port forwarding, startup, and config. Install on your own PC and deploy a Counter-Strike: Global Offensive (SteamRT3) server in under 5 minutes.
Deploy with GameCPExplore step-by-step setup guides for other popular games supported by GameCP.
Install GameCP on your own computer and start hosting in minutes. Automatic port forwarding, zero config — your friends connect instantly.
No credit card required · Free tier available · Install local, scale later