error pulling image configuration: Get https://xxx timeout

问题场景,从docker pull镜像时遇到。

error pulling image configuration: Get https://production.cloudflare.docker.com/registry-v2/docker/registry/v2/blobs/sha256/8b/8b6d2065b7cd72baa5ca62f37015038cd8e67a6715bb4dda5bf7caa47d9b1e15/data?verify=1610511998-i7nZJF5vqB9IqkaRR8A0LCkaRjI%3D: dial tcp 104.18.123.25:443: i/o timeout

问题原因:因为是外网。

解决:使用阿里云镜像。首先来到阿里云官网-点击右上角控制台-点击左上角的黄色三图标,搜索容器镜像-镜像加速器。将加速器地址复制到docker镜像中。

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章