![](https://img-blog.csdnimg.cn/20201014180756757.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
nexus
say荣帅
这个作者很懒,什么都没留下…
展开
-
nexus3 docker镜像清理策略-Cleanup Policies
背景nexus版本:3.28.1-01使用nexus3作为docker镜像仓库,如果不设置清理策略,镜像就会越来越多,导致磁盘占用过大。清理策略配置预览清理任务执行结果将镜像仓库与策略关联此时查看镜像版本发现策略已经生效。...原创 2021-09-23 09:09:05 · 2557 阅读 · 0 评论 -
nginx反向代理nexus3
Nginx 反向代理 nexus 的服务, 一直卡在 Initialize…,页面加载不全,ui显示有问题,如下图:解决方式是添加一个 header: X-Forwarded-Protoproxy_set_header X-Forwarded-Proto “https”;下面是整段nginx配置server { listen 80; server_name nexus.test.com; rewrite ^(.*)$ https://${server_name}$1 pe原创 2021-04-28 09:30:02 · 2415 阅读 · 0 评论 -
nexus3支持docker匿名拉取
问题nexus3搭建的docker私仓,docker pull时失败报错信息如下unauthorized: access to the requested resource is not authorized解决:配置nexus3 docker匿名pull1、允许匿名用户访问服务器2、docker私仓,允许匿名pull3、设置权限...原创 2021-02-01 18:14:32 · 4453 阅读 · 0 评论 -
Nexus3设置定时任务,清私仓缓存
1、进入tasks页面System -> Tasks -> Create task2、创建定时任务选择类型清理docker镜像私仓,类型选择Delete unused manifests and imagesmaven私服清理释放磁盘空间的任务,类型选择Compact Blobstore3、具体配置3.1、清理docker images定时任务3.2、nexus释放磁盘空间定时任务4、任务创建成功,也可以手动执行任务...原创 2021-01-08 13:28:29 · 6908 阅读 · 1 评论 -
【nexus3】http: server gave HTTP response to HTTPS client
命令登录nexus3的仓库报错Error response from daemon: Get https://ip:5000/v2/: http: server gave HTTP response to HTTPS client解决办法修改docker的守护进程配置,将nexus地址配置在守护进程中sudo vim /etc/docker/daemon.json{"registry-mirrors": ["https://docker.mirrors.ustc.edu.cn"],"inse原创 2020-10-10 13:33:48 · 3693 阅读 · 0 评论 -
【nexus3】 Sonatype Nexus: docker login 401 Unauthorized
【nexus3】 Sonatype Nexus: docker login 401 Unauthorized一、命令登录nexus3报错二、可能原因一、命令登录nexus3报错命令: docker login -u admin -p password ip:5000报错: Error response from daemon: login attempt to http://ip:5000/v2/ failed with status: 401 UnauthorizedHTTP401错误代表用户没原创 2020-10-10 13:21:08 · 6006 阅读 · 1 评论 -
nexus2架设npm私服,以及不能下载@开头组件,2.14迁移到3.1版本
1.创建各个仓库1.1.创建proxy仓库proxy仓库的目的是对npm源进行代理,npm包经过代理之后,只要下载一次,以后就可以在nuxus使用,大大增加下载速度。1、选择菜单Respositories->Add->Proxy respository2、填写属性分别填写(1) npmjs (2) npmjs registry (3) npm (4)...原创 2019-09-25 15:31:55 · 5224 阅读 · 0 评论 -
maven私库nexus2.14.1迁移到nexus3.1
maven私库nexus2.14.1迁移到nexus3.1(含安装教程),亲测可用转载 2021-01-30 19:45:30 · 31903 阅读 · 1 评论