请稍等 ...
×

采纳答案成功!

向帮助你的同学说点啥吧!感谢那些助人为乐的人

没法拉取镜像,报错

Normal Pulling 56s (x2 over 73s) kubelet Pulling image "192.168.56.101:8081/docker-local/kubeblog:1.3"
Warning Failed 56s (x2 over 73s) kubelet Failed to pull image “192.168.56.101:8081/docker-local/kubeblog:1.3”: rpc error: code = Unknown desc = Error response from daemon: Get https://192.168.56.101:8081/v2/: http: server gave HTTP response to HTTPS client

正在回答 回答被采纳积分+3

1回答

提问者 慕码人0523443 2022-11-30 16:27:11

本地docker pull 没有问题

# docker pull 192.168.56.101:8081/docker-local/kubeblog:1.3

1.3: Pulling from docker-local/kubeblog

Digest: sha256:57e319f7a6ed85ef95afac2da423d32f50781299496db92543e45eb1d1449ba8

Status: Image is up to date for 192.168.56.101:8081/docker-local/kubeblog:1.3

192.168.56.101:8081/docker-local/kubeblog:1.3



0 回复 有任何疑惑可以回复我~
  • 提问者 慕码人0523443 #1
    不知道为什么。把IP地址修改成别名就可以拉取镜像(Secret也修改成别名),就不会去https,什么原因?
    
    
      Normal  Pulling    54s   kubelet            Pulling image "art.local:8081/docker-local/kubeblog:1.3"
      Normal  Pulled     54s   kubelet            Successfully pulled image "art.local:8081/docker-local/kubeblog:1.3" in 138.14815ms
      Normal  Created    53s   kubelet            Created container kubeblog
      Normal  Started    53s   kubelet            Started container kubeblog
      Normal  Scheduled  20s   default-scheduler  Successfully assigned default/kubeblog-5fdf49599b-gt78c to node1
    回复 有任何疑惑可以回复我~ 2022-11-30 16:35:23
问题已解决,确定采纳
还有疑问,暂不采纳
微信客服

购课补贴
联系客服咨询优惠详情

帮助反馈 APP下载

慕课网APP
您的移动学习伙伴

公众号

扫描二维码
关注慕课网微信公众号