部署:

docker run -d --restart always -p 8081:8081 -p 8086:8086 -p 8087:8087 --name nexus sonatype/nexus3:lastest

查看密码:

docker exec -it nexus cat /nexus-data/admin.password

默认账号: admin

添加仓库

代理仓库配置:

本地仓库配置:

仓库组配置:

开启匿名访问权限

如果想要用户登录才能使用, 可以去配置 用户角色

使用

绑定域名后使用
ip:8086 -> repo.icu
ip:8087 -> push.repo.icu

免费版不支持 pushGroup, 所以分为两个

在镜像前加上 repo.icu 即可
例: nginx:lastest -> repo.icu/nginx:lastest

最后修改:2025 年 01 月 28 日
如果觉得我的文章对你有用,请随意赞赏