docker私有仓库镜像拉取指令
sudo docker pull 10.246.152.91:5000/xxx_image
报错
Error response from daemon Get "https://10.246.152.91:5000/v2/": http: server gave HTTP response to HTTPs client
解决办法
-
创建文件/etc/docker/daemon.json, 文件内容如下:
{
“insecure-registries”: [
“10.246.152.91:5000”
]
}文章来源:https://www.toymoban.com/news/detail-817001.html -
重启Docker服务:sudo service docker restart文章来源地址https://www.toymoban.com/news/detail-817001.html
到了这里,关于拉取docker私有仓库镜像报错http: server gave HTTP response to HTTPs client解决办法的文章就介绍完了。如果您还想了解更多内容,请在右上角搜索TOY模板网以前的文章或继续浏览下面的相关文章,希望大家以后多多支持TOY模板网!