
如果你使用 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 无法访问外链,可 打开说明文档 复制全文粘贴。文档会随站点更新,复制内容可能过期,建议定期检查。
This repo holds https://github.com/oragono/oragono's Dockerfiles and related materials.
The following tags are available:
latest - latest stable releasenightly - latest nightly build20191107 - date to use specific nightly buildThe Oragono docker image is designed to work out of the box - it comes with a usable default config and will automatically generate self-signed TLS certificates. To get a working ircd, all you need to do is run the image and expose the ports:
shelldocker run --name oragono -d -P cocainefarm/oragono:latest
This will start Oragono and listen on ports 6667 (plain text) and 6697 (TLS). The first time Oragono runs it will create a config file with a randomised oper password. This is output to stdout, and you can view it with the docker logs command:
shell# Assuming your container is named `oragono`; use `docker container ls` to # find the name if you're not sure. docker logs oragono
You should see a line similar to:
Oper username:password is dan:cnn2tm9TP3GeI4vLaEMS
Oragono has a persistent data store, used to keep account details, channel registrations, and so on. To persist this data across restarts, you can mount a volume at /ircd.
For example, to create a new docker volume and then mount it:
shelldocker volume create oragono-data docker run -d -v oragono-data:/ircd -P oragono/oragono:tag
Or to mount a folder from your host machine:
shellmkdir oragono-data docker run -d -v $(PWD)/oragono-data:/ircd -P oragono/oragono:tag
Oragono's config file is stored at /ircd/ircd.yaml. If the file does not exist, the default config will be written out. You can copy the config from the container, edit it, and then copy it back:
shell# Assuming that your container is named `oragono`, as above. docker cp oragono:/ircd/ircd.yaml . vim ircd.yaml # edit the config to your liking docker cp ircd.yaml oragono:/ircd/ircd.yaml
You can use the /rehash command to make Oragono reload its config, or
send it the HUP signal:
shelldocker kill -HUP oragono
TLS certs will by default be read from /ircd/tls.crt, with a private key in /ircd/tls.key. You can customise this path in the ircd.yaml file if you wish to mount the certificates from another volume. For information on using Let's Encrypt certificates, see https://github.com/oragono/oragono/blob/master/docs/MANUAL.md#how-do-i-use-lets-encrypt-certificates.
This repository contains a sample docker-compose file which can be used to start an Oragono instance with ports exposed and data persisted in a docker volume. Simply download the file and then bring it up:
shellcurl -O https://raw.githubusercontent.com/oragono/oragono-docker/master/docker-compose.yml docker-compose up -d
您可以使用以下命令拉取该镜像。请将 <标签> 替换为具体的标签版本。如需查看所有可用标签版本,请访问 标签列表页面。
来自真实用户的反馈,见证轩辕镜像的优质服务