专属域名
文档搜索
轩辕助手
Run助手
邀请有礼
返回顶部
快速返回页面顶部
收起
收起工具栏
轩辕镜像 官方专业版
轩辕镜像 官方专业版轩辕镜像 官方专业版官方专业版
首页个人中心搜索镜像

交易
充值流量我的订单
工具
提交工单镜像收录一键安装
Npm 源Pip 源Homebrew 源
帮助
常见问题
其他
关于我们网站地图

官方QQ群: 1072982923

cm2network/csgo Docker 镜像 - 轩辕镜像

csgo
cm2network/csgo
自动构建
CSGO dedicated server and SteamCMD
78 收藏0 次下载
🔒 更安全的专业镜像服务
镜像简介版本下载
🔒 更安全的专业镜像服务
Repository Archived

🚨 Attention All Contributors & Users 🚨

Due to the release of Counter-Strike 2, this repository is now archived and will no longer be actively maintained. The Docker Hub images will still be available, however they'll no longer receive updates.

🔗 We're Moving! 🔗

👉 Development continues on the CS2 Repository 👈

Please make sure to star ⭐ the new repository and submit any new issues, pull requests, or contributions there.

Regards,
Walentin 'Walki' Lamonos


![]([] ![Docker Cloud Build Status]([] ![Docker Stars]([] ![Docker Pulls]([] ![]([] ![]([***]

Supported tags and respective Dockerfile links

  • base, latest (bullseye/Dockerfile)
  • metamod (bullseye/Dockerfile)
  • sourcemod (bullseye/Dockerfile)

What is Counter-Strike: Global Offensive?

Counter-Strike: Global Offensive (CS: GO) expands upon the team-based action gameplay that it pioneered when it was launched 19 years ago. CS: GO features new maps, characters, weapons, and game modes, and delivers updated versions of the classic CS content (de_dust2, etc.). This Docker image contains the dedicated server of the game.

CS:GO

How to use this image

Hosting a simple game server

Running on the host interface (recommended):

console
$ docker run -d --net=host --name=csgo-dedicated -e SRCDS_TOKEN={YOURTOKEN} cm2network/csgo

Running using a bind mount for data persistence on container recreation:

console
$ mkdir -p $(pwd)/csgo-data
$ chmod 777 $(pwd)/csgo-data # Makes sure the directory is writeable by the unprivileged container user
$ docker run -d --net=host -v $(pwd)/csgo-data:/home/steam/csgo-dedicated/ --name=csgo-dedicated -e SRCDS_TOKEN={YOURTOKEN} cm2network/csgo

Running multiple instances (increment SRCDS_PORT and SRCDS_TV_PORT):

console
$ docker run -d --net=host --name=csgo-dedicated2 -e SRCDS_PORT=27016 -e SRCDS_TV_PORT=27021 -e SRCDS_TOKEN={YOURTOKEN} cm2network/csgo

SRCDS_TOKEN is required to be listed & reachable. Generate one here using AppID 730:
[]

SRCDS_WORKSHOP_AUTHKEY is required to use workshop features:
[
]

It's also recommended to use "--cpuset-cpus=" to limit the game server to a specific core & thread.
The container will automatically update the game on startup, so if there is a game update just restart the container.

Configuration

Environment Variables

Feel free to overwrite these environment variables, using -e (--env):

dockerfile
SRCDS_TOKEN="changeme" (value is is required to be listed & reachable, retrieve token here (AppID 730): [***]
SRCDS_RCONPW="changeme" (value can be overwritten by csgo/cfg/server.cfg) 
SRCDS_PW="changeme" (value can be overwritten by csgo/cfg/server.cfg) 
SRCDS_PORT=27015
SRCDS_TV_PORT=27020
SRCDS_NET_PUBLIC_ADDRESS="0" (public facing ip, useful for local network setups)
SRCDS_IP="0" (local ip to bind)
SRCDS_LAN="0"
SRCDS_FPSMAX=300
SRCDS_TICKRATE=128
SRCDS_MAXPLAYERS=14
SRCDS_STARTMAP="de_dust2"
SRCDS_REGION=3
SRCDS_MAPGROUP="mg_active"
SRCDS_GAMETYPE=0
SRCDS_GAMEMODE=1
SRCDS_HOSTNAME="New CSGO Server" (first launch only)
SRCDS_WORKSHOP_START_MAP=0
SRCDS_HOST_WORKSHOP_COLLECTION=0
SRCDS_WORKSHOP_AUTHKEY="" (required to use host_workshop_map)
ADDITIONAL_ARGS="" (Pass additional arguments to srcds. Make sure to escape correctly!)

Config

The image contains a copy of the official ESL config files from here. You can edit the config using this command:

console
$ docker exec -it csgo-dedicated nano /home/steam/csgo-dedicated/csgo/cfg/server.cfg

If you want to learn more about configuring a CS:GO server check this documentation.

Image Variants:

The csgo images come in three flavors, each designed for a specific use case.

csgo:latest

This is the defacto image. If you are unsure about what your needs are, you probably want to use this one. It is a bare-minimum CSGO dedicated server containing no 3rd party plugins.

csgo:metamod

This is a specialized image. It contains the plugin environment Metamod:Source which can be found in the addons directory. You can find additional plugins here.

csgo:sourcemod

This is another specialized image. It contains both Metamod:Source and the popular server plugin SourceMod which can be found in the addons directory. SourceMod supports a wide variety of additional plugins that can be found here.

Contributors

![Contributors Display]([***]

查看更多 csgo 相关镜像 →
cm2network/steamcmd logo
cm2network/steamcmd
包含Valve的SteamCMD二进制文件的最小化镜像,用于管理和安装Steam游戏服务器。
1061M+ pulls
上次更新:2 天前
cm2network/tf2 logo
cm2network/tf2
Team Fortress 2 (TF2) 专用服务器 Docker 镜像,包含 SteamCMD,支持多种标签变体、插件环境及数据持久化部署。
20100K+ pulls
上次更新:2 天前
cm2network/mordhau logo
cm2network/mordhau
Mordhau专用服务器Docker镜像,包含游戏专用服务器程序,支持通过SteamCMD运行,可快速部署多人中世纪砍杀游戏服务器,适用于搭建在线对战环境。
9100K+ pulls
上次更新:2 天前
cm2network/squad logo
cm2network/squad
提供Squad游戏专用服务器,集成SteamCMD以支持服务器的安装与更新,用于部署和运行Squad多人游戏服务器。
13100K+ pulls
上次更新:2 天前
cm2network/valheim logo
cm2network/valheim
Valheim 专用服务器 Docker 镜像,支持快速部署 1-10 人探索生存游戏服务器,包含基础版(latest)和带 ValheimPlus 模组的版本(plus),支持数据持久化、多实例运行及自动游戏更新,适合搭建北欧文化主题的程序化生成世界游戏服务器。
2850K+ pulls
上次更新:2 天前
cm2network/holdfastnaw logo
cm2network/holdfastnaw
用于部署Holdfast: Nations At War(拿破仑战争)多人射击游戏的专用服务器Docker镜像,集成SteamCMD以自动管理服务器文件,支持多玩家对战及自定义配置。
310K+ pulls
上次更新:2 天前

轩辕镜像配置手册

探索更多轩辕镜像的使用方法,找到最适合您系统的配置方式

登录仓库拉取

通过 Docker 登录认证访问私有仓库

Linux

在 Linux 系统配置镜像服务

Windows/Mac

在 Docker Desktop 配置镜像

Docker Compose

Docker Compose 项目配置

K8s Containerd

Kubernetes 集群配置 Containerd

K3s

K3s 轻量级 Kubernetes 镜像加速

Dev Containers

VS Code Dev Containers 配置

MacOS OrbStack

MacOS OrbStack 容器配置

宝塔面板

在宝塔面板一键配置镜像

群晖

Synology 群晖 NAS 配置

飞牛

飞牛 fnOS 系统配置镜像

极空间

极空间 NAS 系统配置服务

爱快路由

爱快 iKuai 路由系统配置

绿联

绿联 NAS 系统配置镜像

威联通

QNAP 威联通 NAS 配置

Podman

Podman 容器引擎配置

Singularity/Apptainer

HPC 科学计算容器配置

其他仓库配置

ghcr、Quay、nvcr 等镜像仓库

专属域名拉取

无需登录使用专属域名

需要其他帮助?请查看我们的 常见问题Docker 镜像访问常见问题解答 或 提交工单

镜像拉取常见问题

轩辕镜像免费版与专业版有什么区别?

免费版仅支持 Docker Hub 访问,不承诺可用性和速度;专业版支持更多镜像源,保证可用性和稳定速度,提供优先客服响应。

轩辕镜像支持哪些镜像仓库?

专业版支持 docker.io、gcr.io、ghcr.io、registry.k8s.io、nvcr.io、quay.io、mcr.microsoft.com、docker.elastic.co 等;免费版仅支持 docker.io。

流量耗尽错误提示

当返回 402 Payment Required 错误时,表示流量已耗尽,需要充值流量包以恢复服务。

410 错误问题

通常由 Docker 版本过低导致,需要升级到 20.x 或更高版本以支持 V2 协议。

manifest unknown 错误

先检查 Docker 版本,版本过低则升级;版本正常则验证镜像信息是否正确。

镜像拉取成功后,如何去掉轩辕镜像域名前缀?

使用 docker tag 命令为镜像打上新标签,去掉域名前缀,使镜像名称更简洁。

查看全部问题→

用户好评

来自真实用户的反馈,见证轩辕镜像的优质服务

用户头像

oldzhang

运维工程师

Linux服务器

5

"Docker访问体验非常流畅,大镜像也能快速完成下载。"

轩辕镜像
镜像详情
...
cm2network/csgo
官方博客Docker 镜像使用技巧与技术博客
热门镜像查看热门 Docker 镜像推荐
一键安装一键安装 Docker 并配置镜像源
咨询镜像拉取问题请 提交工单,官方技术交流群:1072982923
轩辕镜像面向开发者与科研用户,提供开源镜像的搜索和访问支持。所有镜像均来源于原始仓库,本站不存储、不修改、不传播任何镜像内容。
咨询镜像拉取问题请提交工单,官方技术交流群:
轩辕镜像面向开发者与科研用户,提供开源镜像的搜索和访问支持。所有镜像均来源于原始仓库,本站不存储、不修改、不传播任何镜像内容。
官方邮箱:点击复制邮箱
©2024-2026 源码跳动
官方邮箱:点击复制邮箱Copyright © 2024-2026 杭州源码跳动科技有限公司. All rights reserved.