
如果你使用 DeepSeek、元宝 AI、Copilot、ChatGPT 等 AI 工具,协助配置轩辕镜像、编写 docker pull 命令、修改 Docker Compose 镜像地址、配置镜像加速、排查镜像拉取失败、分析报错日志等问题,请先让 AI 阅读并遵守轩辕镜像的规则文档。
只需在 AI 对话中先发送下面这句话即可:
请先完整阅读并严格遵守以下文档中的全部规则与要求:
https://xuanyuan.cloud/agents.md
在未充分阅读并理解该文档前,不要生成任何命令、配置、修改建议、故障排查方案或技术回答。后续所有输出都必须严格以该文档中的规范为最高优先级执行。查看 agents.md 用法指南与完整示范。国内用户首推 元宝 AI、DeepSeek 的深度思考模式,不推荐豆包 AI;Cursor 等编辑器可在对话 @ 该链接,或加入 User Rules。 若 AI 无法访问外链,可 打开说明文档 复制全文粘贴。文档会随站点更新,复制内容可能过期,建议定期检查。
https://img.shields.io/codacy/grade/6a8e207cf98246169e633d6f22da9d9c](https://hub.docker.com/r/cm2network/steamcmd/) https://img.shields.io/docker/cloud/build/cm2network/steamcmd.svg](https://hub.docker.com/r/cm2network/steamcmd/) https://img.shields.io/docker/stars/cm2network/steamcmd.svg](https://hub.docker.com/r/cm2network/steamcmd/) https://img.shields.io/docker/pulls/cm2network/steamcmd.svg](https://hub.docker.com/r/cm2network/steamcmd/) https://img.shields.io/docker/image-size/cm2network/steamcmd](https://img.shields.io/docker/image-size/cm2network/steamcmd) https://img.shields.io/***/747067734029893653]([***]
Dockerfile linksThe Steam Console Client or SteamCMD is a command-line version of the Steam client. Its primary use is to install and update various dedicated servers available on Steam using a command-line interface. It works with games that use the SteamPipe content system. All games have been migrated from the deprecated HLDSUpdateTool to SteamCMD. This image can be used as a base image for Steam-based dedicated servers (Source: developer.valvesoftware.com).
Whilst it's recommended to use this image as a base image of other game servers, you can also run it in an interactive shell using the following command:
console$ docker run -it --name=steamcmd cm2network/steamcmd bash $ ./steamcmd.sh +force_install_dir /home/steam/squad-dedicated +login anonymous +app_update 403240 +quit
This can prove useful if you are just looking to test a certain game server installation.
Running with named volumes:
console$ docker volume create steamcmd_login_volume # Optional: Location of login session $ docker volume create steamcmd_volume # Optional: Location of SteamCMD installation $ docker run -it \ -v "steamcmd_login_volume:/home/steam/Steam" \ -v "steamcmd_volume:/home/steam/steamcmd" \ cm2network/steamcmd bash
This setup is necessary if you have to download a non-anonymous appID or upload a steampipe build. For an example check out: https://hub.docker.com/r/cm2network/steampipe/
This image includes the nano text editor for convenience.
The steamcmd.sh can be found in the following directory: /home/steam/steamcmd
Images utilizing this base image:
| Image | Pulls | Build Status |
|---|---|---|
| https://hub.docker.com/r/***/ | https://img.shields.io/docker/pulls/***.svg](https://hub.docker.com/r/***/) | https://img.shields.io/docker/cloud/build/***](https://hub.docker.com/r/***/) |
| https://hub.docker.com/r/cm2network/tf2/ | https://img.shields.io/docker/pulls/cm2network/tf2.svg](https://hub.docker.com/r/cm2network/tf2/) | https://img.shields.io/docker/cloud/build/cm2network/tf2.svg](https://hub.docker.com/r/cm2network/tf2/) |
| https://hub.docker.com/r/cm2network/squad/ | https://img.shields.io/docker/pulls/cm2network/squad.svg](https://hub.docker.com/r/cm2network/squad/) | https://img.shields.io/docker/cloud/build/cm2network/squad.svg](https://hub.docker.com/r/cm2network/squad/) |
| https://hub.docker.com/r/cm2network/mordhau/ | https://img.shields.io/docker/pulls/cm2network/mordhau.svg](https://hub.docker.com/r/cm2network/mordhau/) | https://img.shields.io/docker/cloud/build/cm2network/mordhau.svg](https://hub.docker.com/r/cm2network/mordhau/) |
| https://hub.docker.com/r/cm2network/holdfastnaw/ | https://img.shields.io/docker/pulls/cm2network/holdfastnaw.svg](https://hub.docker.com/r/cm2network/holdfastnaw/) | https://img.shields.io/docker/cloud/build/cm2network/holdfastnaw.svg](https://hub.docker.com/r/cm2network/holdfastnaw/) |
| https://hub.docker.com/r/cm2network/valheim/ | https://img.shields.io/docker/pulls/cm2network/valheim.svg](https://hub.docker.com/r/cm2network/valheim/) | https://img.shields.io/docker/cloud/build/cm2network/valheim.svg](https://hub.docker.com/r/cm2network/valheim/) |
| https://hub.docker.com/r/cm2network/steampipe/ | https://img.shields.io/docker/pulls/cm2network/steampipe.svg](https://hub.docker.com/r/cm2network/steampipe/) | https://img.shields.io/docker/cloud/build/cm2network/steampipe.svg](https://hub.docker.com/r/cm2network/steampipe/) |
| https://hub.docker.com/r/cm2network/csgo/ | https://img.shields.io/docker/pulls/cm2network/csgo.svg](https://hub.docker.com/r/cm2network/csgo/) | Repository Archived |
The steamcmd images come in two flavors, each designed for a specific use case.
steamcmd:latestThis is the defacto image. If you are unsure about what your needs are, you probably want to use this one. It is designed to be used as the base to build other images off of. This image's default user is steam, any command executed in a higher layer Dockerfile will therefor be executed as that user.
steamcmd:rootThis is a specialized image. This image's default user is root. If you need to install additional packages for you game server and do not want to create excess layers, then this is the right choice.
Note: Running the steamcmd.sh as root will fail because the owner is the user steam, either swap the active user using su steam or use chown to change the ownership of the directory.
您可以使用以下命令拉取该镜像。请将 <标签> 替换为具体的标签版本。如需查看所有可用标签版本,请访问 标签列表页面。
来自真实用户的反馈,见证轩辕镜像的优质服务
以下是 cm2network/steamcmd 相关的常用 Docker 镜像,适用于 不同场景 等不同场景: