-
Notifications
You must be signed in to change notification settings - Fork 119
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
docker registry上传镜像报HTTPS的错怎么解决? #41
Comments
這是可能你本地Docker配寘的問題,可以通過下麵的參攷方法進行配寘: 方法一: [root@linux-08]# systemctl daemon-reload && systemctl restart docker 方法二: [root@linux-08]# systemctl daemon-reload && systemctl restart docker 方法三: [root@linux-08]# systemctl daemon-reload && systemctl restart docker 更多配寘請查看Docker官方檔案。 |
你好! 我看了上面三种方法,都是常规安装docker和docker registry的解决办法, 使用kube-install一件安装k8s环境后,安装目录不清楚是哪一个,另外docker服务也并不是docker.service,找不到这个服务。具体看如下在node机器上的操作日志 [root@k8s ~]# find / -name docker.service |
你好! |
如果你想使用docker的話,可以部署v1.23及以下版本。 由於k8s v1.24版本已經默認不支持docker了,所以我們相容了官方推薦的containerd。 |
Thank you very much for your feedback! 我們已經修復了這個問題,新發佈的版本中將不會有這個誤會的提示。 |
ERRO[0000] server "192.168.1.191:5000" does not seem to support HTTPS error="failed to do request: Head "https://192.168.1.191:5000/v2/alpine/blobs/sha256:43773d1dba76c4d537b494a8454558a41729b92aa2ad0feb23521c3e58cd0440\": http: server gave HTTP response to HTTPS client"
INFO[0000] Hint: you may want to try --insecure-registry to allow plain HTTP (if you are in a trusted network)
FATA[0000] failed to do request: Head "https://192.168.1.191:5000/v2/alpine/blobs/sha256:43773d1dba76c4d537b494a8454558a41729b92aa2ad0feb23521c3e58cd0440": http: server gave HTTP response to HTTPS client
The text was updated successfully, but these errors were encountered: