docker 拉取私有镜像仓库中的镜像报错:
ErrImagePull: rpc error: code = Unknown desc = Error response from daemon: Get https://192.168.1.112:6060/v2/: http: server gave HTTP response to HTTPS client
解决方式:
编辑docker daemon.json
vim /etc/docker/daemon.json
添加如下内容
{
"insecure-registries": ["192.168.1.112:6060"]
}
重启docker
systemctl restart docker