如果你使用 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 无法访问外链,可 打开说明文档 复制全文粘贴。文档会随站点更新,复制内容可能过期,建议定期检查。
linuxserver/tester是LinuxServer.io团队提供的内部工具镜像,主要用作CI(持续集成)流程中的桌面沙箱,用于抓取功能端点的截图,以验证端点是否正常工作。该镜像基于LinuxServer.io的自定义基础镜像构建,包含s6 overlay,并定期进行应用更新和安全更新。
该镜像利用Docker manifest实现多平台感知,拉取lscr.io/linuxserver/tester:latest即可获取适合当前架构的镜像,也可通过标签指定特定架构。
| 架构 | 支持情况 | 标签 |
|---|---|---|
| x86-64 | ✅ | amd64- |
| arm64 | ❌ | |
| armhf | ❌ |
yaml--- version: "2.1" services: tester: image: lscr.io/linuxserver/tester:latest container_name: tester environment: - URL=http://google.com ports: - 3000:3000 restart: unless-stopped
bashdocker run -d \ --name=tester \ -e URL=http://google.com \ -p 3000:3000 \ --restart unless-stopped \ lscr.io/linuxserver/tester:latest
容器通过运行时参数进行配置,格式为<外部>:<内部>。
| 参数 | 功能 |
|---|---|
-p 3000 | WebUI端口 |
-e URL=http://google.com | 指定端点URL,容器会自动确定正确的协议和使用程序 |
可通过FILE__前缀从文件设置环境变量,例如:
bash-e FILE__PASSWORD=/run/secrets/mysecretpassword
这将根据/run/secrets/mysecretpassword文件内容设置PASSWORD环境变量。
可通过-e UMASK=022覆盖容器内服务的默认umask设置。注意umask是权限减法而非加法,详情请参考umask说明。
https://img.shields.io/badge/dynamic/yaml?color=94398d&labelColor=555555&logoColor=ffffff&style=for-the-badge&label=tester&query=%24.mods%5B%27tester%27%5D.mod_count&url=https%3A%2F%2Fraw.githubusercontent.com%2Flinuxserver%2Fdocker-mods%2Fmaster%2Fmod-list.yml]([] "查看此容器可用的mods") https://img.shields.io/badge/dynamic/yaml?color=94398d&labelColor=555555&logoColor=ffffff&style=for-the-badge&label=universal&query=%24.mods%5B%27universal%27%5D.mod_count&url=https%3A%2F%2Fraw.githubusercontent.com%2Flinuxserver%2Fdocker-mods%2Fmaster%2Fmod-list.yml]([] "查看通用mods")
LinuxServer.io提供多种https://github.com/linuxserver/docker-mods%E4%BB%A5%E6%89%A9%E5%B1%95%E5%AE%B9%E5%99%A8%E5%8A%9F%E8%83%BD%E3%80%82%E4%B8%8A%E8%BF%B0%E5%BE%BD%E7%AB%A0%E9%93%BE%E6%8E%A5%E5%8F%AF%E6%9F%A5%E7%9C%8B%E6%AD%A4%E9%95%9C%E5%83%8F%E4%B8%93%E7%94%A8%E5%8F%8A%E9%80%9A%E7%94%A8%E7%9A%84mods%E3%80%82
docker exec -it tester /bin/bashdocker logs -f testerdocker inspect -f '{{ index .Config.Labels "build_version" }}' testerdocker inspect -f '{{ index .Config.Labels "build_version" }}' lscr.io/linuxserver/tester:latest大多数镜像为静态版本化,需更新镜像并重建容器以更新应用。不建议在容器内更新应用。
docker-compose pulldocker-compose pull testerdocker-compose up -d(或单个容器:docker-compose up -d tester)docker image prunedocker pull lscr.io/linuxserver/tester:latestdocker stop testerdocker rm tester/config及设置将保留)docker image prunebashdocker run --rm \ -v /var/run/docker.sock:/var/run/docker.sock \ containrrr/watchtower \ --run-once tester
注意:不推荐使用Watchtower作为自动更新容器的解决方案,建议长期使用Docker Compose。
推荐使用Diun获取更新通知,不建议使用自动更新容器的工具。
如需本地修改或自定义镜像:
bashgit clone https://github.com/linuxserver/docker-tester.git cd docker-tester docker build \ --no-cache \ --pull \ -t lscr.io/linuxserver/tester:latest .
在x86_64硬件上构建ARM变体,需使用multiarch/qemu-user-static:
bashdocker run --rm --privileged multiarch/qemu-user-static:register --reset
注册后,可使用-f Dockerfile.aarch64指定ARM64的Dockerfile。
您可以使用以下命令拉取该镜像。请将 <标签> 替换为具体的标签版本。如需查看所有可用标签版本,请访问 标签列表页面。




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