
如果你使用 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 无法访问外链,可 打开说明文档 复制全文粘贴。文档会随站点更新,复制内容可能过期,建议定期检查。
!Docker Cloud Automated build !Docker Cloud Build Status !Docker Image Size (tag) !Docker Pulls
This image is based on SteamCMD Docker. It also includes Metamod, AMX Mod, DProto and Podbot.
The fastest way to run the Counter-Strike 1.6 Server is via docker run.
docker pull cajuclc/cstrike-docker
docker run --name cstrike -p 27015:27015/udp -p 27015:27015 cajuclc/cstrike-docker
docker-compose. You can find an example below.You can use your own server.cfg, dproto.cfg, plugins.ini and mapcycle.txt by mounting them to the container. Any custom config file WILL override the settings from your environment variables.
-v /path/to/your/server.cfg:/home/steam/cstrike/cstrike/server.cfg
The complete docker run command is:
docker run --name cstrike -p 27015:27015/udp -p 27015:27015 -v /path/to/your/server.cfg:/home/steam/cstrike/cstrike/server.cfg cajuclc/cstrike-docker
You can start the server by running:
docker-compose up -d
I wrote an article how to run this image on TrueNAS Scale. You can find the article here.
SteamCMD is responsible to install Counter-Strike and/or other games. There is a current bug that prevents the installation of Counter-Strike 1.6 in a single command. You can read more here.
If you want to be able to use the Podbot admin menu, you need to configure your Counter-Strike client (the one you play the game) with password. First make sure you add the file podbot/podbot.cfg as a mount to your container. This is the folder in the container:
/home/steam/cstrike/cstrike/addons/podbot/podbot.cfg
Search for pb_passwordkey, that's the name we will need. In my case: pb_passwordkey "_pbadminpw".
Now I need the password, it's the next configuration. Here is mine: pb_password "your_password" (make sure you change your password).
We have to configure the password on the client (game) now. Open cstrike folder inside Steam installation. In my case I use a separate disk for all my games and this is where Counter-Strike is installed:
E:\Games\Steam\steamapps\common\Half-Life\cstrike
I manually created a file called autoexec.cfg. If you already this file, you just need to edit. Add the line:
setinfo _pbadminpw "your_password"
Again, make sure you use some safe password. Now open the game and create a bind:
bind "=" "pb menu"
This way every time you press = it will open the Podbot menu and you can add, remove, kill bots and much more.
If you need to have access to AMX Mod Menu. Then mount file users.ini to this location:
/home/steam/cstrike/cstrike/addons/amxmodx/configs/users.ini
Here is an example of the file: https://github.com/alliedmodders/amxmodx/blob/master/configs/users.ini
You need to add your user/IP/steam_id to the list. Then inside the autoexec.cfg file we just created/edited you can add:
setinfo _pw "mypassword"
We get the _pw configuration from amx_password_field "_pw", which comes from this file: https://github.com/alliedmodders/amxmodx/blob/master/configs/amxx.cfg#L14
You can find the list of IDs here.
The code to install the mods and bots were utilized from other repositories. Please give them some love and support.
My friends and I decided to have a LAN Party (remember those?) at my house and we will be playing some classic games.
Instead of running these games directly on my PC, I decided to run on my TrueNAS server. TrueNAS allows you to run containers, so I decided to create this docker image.
您可以使用以下命令拉取该镜像。请将 <标签> 替换为具体的标签版本。如需查看所有可用标签版本,请访问 标签列表页面。
来自真实用户的反馈,见证轩辕镜像的优质服务