部署:
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
免费版不支持 push
到 Group
, 所以分为两个
在镜像前加上 repo.icu
即可
例: nginx:lastest
-> repo.icu/nginx:lastest