
如果你使用 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 无法访问外链,可 打开说明文档 复制全文粘贴。文档会随站点更新,复制内容可能过期,建议定期检查。
The main goal of this project is to enable DevOps installing essential tools on CoreOS server which originally has no software package manager. Besides this, the Docker image can be used as a toolbox with ZSH shell and Oh-My-Zsh configuration.
Curently available applications supported by CoreOS Essentials Installer are presented in the table below:
| App Name | From deb/src | Installation Script | Executable @ CoreOS | Dependencies XX |
|---|---|---|---|---|
| zsh | src | install-zsh.sh | /opt/***/zsh | n/a |
| Oh-My-Zsh | src | install-ohmyzsh.sh | ~/.oh-my-zsh X | zsh, tmux, git |
| tmux | deb | install-tmux.sh | /opt/***/tmux | n/a |
| nano | deb | install-nano.sh | /opt/***/nano | n/a |
| mc | src | install-mc.sh | /opt/***/mc | n/a |
| docker-compose | src | install-dockercompose.sh | /opt/***/docker-compose | n/a |
Note that running toolbox image contains all the same applications.
(X) Oh-My-Zsh is automatically installed for root and core users only.
(XX) Dependencies are installed automatically.
Once CoreOS has been succesfully installed and internet connection has been established, all has to be done in order to install all supported applications is to run the following docker command as root or core user:
bashdocker run --rm \ -v /etc:/mnt/etc \ -v /root:/mnt/root \ -v /home/core:/mnt/core \ -v /opt/bin:/opt/bin \ adelaar/coreos-essentials-installer install-all.sh
Note that all mount poits (-v options) are required and cannot be modified. It's required to keep them as they are.
In order to install all applications supported by CoreOS Essentials Installer automatically during CoreOS's first boot, add the following YAML snippet to your cloud-config.yml
ymlcoreos: units: # Runs only once and installs all essential tools coming with the installer - name: essential-tools-installer.service command: start content: | [Unit] Description=Essential Tools Installer After=docker.service Requires=docker.service ConditionPathExists=!/opt/systemd/essential-tools-installer [Service] ExecStartPre=/usr/bin/docker pull adelaar/coreos-essentials-installer ExecStart=/usr/bin/docker run --rm -v /etc:/mnt/etc -v /root:/mnt/root -v /home/core:/mnt/core -v /opt/bin:/opt/bin adelaar/coreos-essentials-installer install-all.sh ExecStartPost=/usr/bin/mkdir -p /opt/systemd ExecStartPost=/usr/bin/touch /opt/systemd/essential-tools-installer RemainAfterExit=yes Type=oneshot
One will be able to watch the installation process, which requires a significant amount of time to complete, using the following command:
bashsudo journalctl -f -u essential-tools-installer.service
In order to install only selected application instead of all, apropriate installation script needs to be called. Look at the Installation Script collumn in the table at the top of this document to find a script name for the application you want to install. The just use it with the following docker command:
bashdocker run --rm \ -v /etc:/mnt/etc \ -v /root:/mnt/root \ -v /home/core:/mnt/core \ -v /opt/bin:/opt/bin \ adelaar/coreos-essentials-installer install-<app-name>.sh
Note that if install-ohmyzsh.sh script will be called, then additionally zsh, tmux and git applications will be installed automatically.
您可以使用以下命令拉取该镜像。请将 <标签> 替换为具体的标签版本。如需查看所有可用标签版本,请访问 标签列表页面。
来自真实用户的反馈,见证轩辕镜像的优质服务