
如果你使用 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://frekele.github.io/docker-nexus | https://github.com/frekele/docker-nexus | https://hub.docker.com/r/frekele/nexus |
该镜像提供Nexus Repository OSS(开源仓库管理系统)的Docker化部署,基于s6-overlay进程管理工具和Oracle JDK 8构建。Nexus Repository OSS是Sonatype开发的开源仓库管理工具,支持Maven、npm、Docker等多种软件包格式的存储、管理和分发,适用于企业内部私有仓库搭建、CI/CD流程依赖管理等场景。
| 分支 | 基础镜像 | 用途 | 标签名称 |
|---|---|---|---|
| https://github.com/frekele/docker-nexus/blob/3.12.1-01/Dockerfile - latest | frekele/java:jdk8 | 生产环境 | 3.12.1-01, 3.12.1, 3.12, 3, latest |
| https://github.com/frekele/docker-nexus/blob/3.12.0-01/Dockerfile | frekele/java:jdk8 | 生产环境 | 3.12.0-01, 3.12.0 |
| https://github.com/frekele/docker-nexus/blob/3.11.0-01/Dockerfile | frekele/java:jdk8 | 生产环境 | 3.11.0-01, 3.11.0, 3.11 |
| https://github.com/frekele/docker-nexus/blob/3.10.0-04/Dockerfile | frekele/java:jdk8 | 生产环境 | 3.10.0-04, 3.10.0, 3.10 |
| https://github.com/frekele/docker-nexus/blob/3.9.0-01/Dockerfile | frekele/java:jdk8 | 生产环境 | 3.9.0-01, 3.9.0, 3.9 |
| https://github.com/frekele/docker-nexus/blob/3.8.0-02/Dockerfile | frekele/java:jdk8 | 生产环境 | 3.8.0-02, 3.8.0, 3.8 |
| https://github.com/frekele/docker-nexus/blob/3.7.1-02/Dockerfile | frekele/java:jdk8 | 生产环境 | 3.7.1-02, 3.7.1, 3.7 |
| https://github.com/frekele/docker-nexus/blob/3.7.0-04/Dockerfile | frekele/java:jdk8 | 生产环境 | 3.7.0-04, 3.7.0 |
| https://github.com/frekele/docker-nexus/blob/3.6.2-01/Dockerfile | frekele/java:jdk8 | 生产环境 | 3.6.2-01, 3.6.2, 3.6 |
| https://github.com/frekele/docker-nexus/blob/3.6.1-02/Dockerfile | frekele/java:jdk8 | 生产环境 | 3.6.1-02, 3.6.1 |
| https://github.com/frekele/docker-nexus/blob/3.6.0-02/Dockerfile | frekele/java:jdk8 | 生产环境 | 3.6.0-02, 3.6.0 |
| https://github.com/frekele/docker-nexus/blob/3.5.2-01/Dockerfile | frekele/java:jdk8 | 生产环境 | 3.5.2-01, 3.5.2, 3.5 |
| https://github.com/frekele/docker-nexus/blob/3.5.1-02/Dockerfile | frekele/java:jdk8 | 生产环境 | 3.5.1-02, 3.5.1 |
| https://github.com/frekele/docker-nexus/blob/3.5.0-02/Dockerfile | frekele/java:jdk8 | 生产环境 | 3.5.0-02, 3.5.0 |
| https://github.com/frekele/docker-nexus/blob/3.4.0-02/Dockerfile | frekele/java:jdk8 | 生产环境 | 3.4.0-02, 3.4.0, 3.4 |
| https://github.com/frekele/docker-nexus/blob/3.3.2-02/Dockerfile | frekele/java:jdk8 | 生产环境 | 3.3.2-02, 3.3.2, 3.3 |
| https://github.com/frekele/docker-nexus/blob/3.3.1-01/Dockerfile | frekele/java:jdk8 | 生产环境 | 3.3.1-01, 3.3.1 |
| https://github.com/frekele/docker-nexus/blob/3.3.0-01/Dockerfile | frekele/java:jdk8 | 生产环境 | 3.3.0-01, 3.3.0 |
| https://github.com/frekele/docker-nexus/blob/3.2.1-01/Dockerfile | frekele/java:jdk8 | 生产环境 | 3.2.1-01, 3.2.1, 3.2 |
| https://github.com/frekele/docker-nexus/blob/3.2.0-01/Dockerfile | frekele/java:jdk8 | 生产环境 | 3.2.0-01, 3.2.0 |
| https://github.com/frekele/docker-nexus/blob/3.1.0-04/Dockerfile | frekele/java:jdk8 | 生产环境 | 3.1.0-04, 3.1.0, 3.1 |
| https://github.com/frekele/docker-nexus/blob/3.0.2-02/Dockerfile | frekele/java:jdk8 | 生产环境 | 3.0.2-02, 3.0.2, 3.0 |
| https://github.com/frekele/docker-nexus/blob/3.0.1-01/Dockerfile | frekele/java:jdk8 | 生产环境 | 3.0.1-01, 3.0.1 |
| https://github.com/frekele/docker-nexus/blob/3.0.0-03/Dockerfile | frekele/java:jdk8 | 生产环境 | 3.0.0-03, 3.0.0 |
| https://github.com/frekele/docker-nexus/blob/master/Dockerfile | frekele/java:jdk8 | 开发环境 | dev |
该镜像基于以下项目构建:
数据卷
重要!使用Nexus用户时,需设置UID=200。
bash# 创建本地目录并设置权限 mkdir /mnt/my-volume/nexus-data chown -R 200:200 /mnt/my-volume/nexus-data # 使用本地目录作为数据卷运行 docker run --rm -v /mnt/my-volume/nexus-data:/nexus-data --name nexus -p 8081:8081 frekele/nexus # 或使用Docker卷 docker volume create --name nexus-data docker run --rm -v nexus-data:/nexus-data --name nexus -p 8081:8081 frekele/nexus
数据卷容器
bash# 创建数据卷容器 docker run -d --name nexus-data -p 8081:8081 frekele/nexus # 从数据卷容器运行 docker run --rm --volumes-from nexus-data --name nexus -p 8081:8081 frekele/nexus
通过环境变量JAVA_MAX_MEM和JAVA_MIN_MEM自定义JVM内存大小:
bashdocker run -e JAVA_MAX_MEM=2048m -e JAVA_MIN_MEM=512m --rm --name nexus -p 8081:8081 frekele/nexus
参见https://github.com/frekele/docker-nexus/blob/master/NEXUS_LICENSE
frekele/docker-Nexus基于https://github.com/frekele/docker-nexus/blob/master/LICENSE许可:
MIT License Copyright (c) 2016-2018 @frekele<Leandro Kersting de Freitas> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
您可以使用以下命令拉取该镜像。请将 <标签> 替换为具体的标签版本。如需查看所有可用标签版本,请访问 标签列表页面。



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