【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-mirror
·
命令登录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"],
"insecure-registries": ["ip:5000"]
}
重载守护进程
sudo systemctl daemon-reload
重启docker服务
sudo systemctl restart docker
重新登录仓库,问题解决
更多推荐
已为社区贡献4条内容
所有评论(0)