在进行 docker build 建立镜像的时候,利用阿里云私有镜像库,使用 vpc 时,报错
Get https://registry-vpc.cn-hangzhou.aliyuncs.com/v2/: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)
解决办法 :
- 构建时,去掉 vpc,重新构建即可
在进行 docker build 建立镜像的时候,利用阿里云私有镜像库,使用 vpc 时,报错
Get https://registry-vpc.cn-hangzhou.aliyuncs.com/v2/: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)
解决办法 :