日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 编程资源 > 编程问答 >内容正文

编程问答

已解决:Error response from daemon: Get https://registry-1.docker.io/v2/: net/http: TLS handshaketimeout

發(fā)布時間:2025/6/15 编程问答 13 豆豆
生活随笔 收集整理的這篇文章主要介紹了 已解决:Error response from daemon: Get https://registry-1.docker.io/v2/: net/http: TLS handshaketimeout 小編覺得挺不錯的,現在分享給大家,幫大家做個參考.

1、問題描述

下載rancher/mirrored-flannelcni-flannel-cni-plugin:v1.0.0鏡像報以下錯誤:

Error response from daemon: Get https://registry-1.docker.io/v2/library/ubuntu/manifests/2.04: Get https://auth.docker.io/token?scope=repository%3Alibrary%2Fubuntu%3Apull&serviceregistry.docker.io: net/http: TLS handshake timeout

2、問題分析

倘若不配置鏡像,拉取速度會很慢,就會報超時的錯誤。

3、解決方法

配置阿里云的鏡像:

在vi /etc/docker/daemon.json中添加:

"registry-mirrors":["https://6kx4zyno.mirror.aliyuncs.com"]

?添加位置如下:

{ "exec-opts":["native.cgroupdriver=systemd"], "registry-mirrors":["https://6kx4zyno.mirror.aliyuncs.com"], "log-driver":"json-file", "log-opts":{"max-size":"100m" } }

?4、結果測試

[root@k8s-master01 pki]# docker pull rancher/mirrored-flannelcni-flannel-cni-plugin:v1.0.0 v1.0.0: Pulling from rancher/mirrored-flannelcni-flannel-cni-plugin 4e9f2cdf4387: Pull complete 6ff8050baee9: Pull complete Digest: sha256:bfe8f30c74bc6f31eba0cc6659e396dbdd5ab171314ed542cc238ae046660ede Status: Image is up to date for rancher/mirrored-flannelcni-flannel-cni-plugin:v1.0.0 docker.io/rancher/mirrored-flannelcni-flannel-cni-plugin:v1.0.0 [root@k8s-master01 pki]#

總結

以上是生活随笔為你收集整理的已解决:Error response from daemon: Get https://registry-1.docker.io/v2/: net/http: TLS handshaketimeout的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。