执行docker build -t hello_docker . 制作镜像的时候,报如下错误:
$ docker build -t hello_docker .
Sending build context to Docker daemon 2.048kB
Step 1/3 : FROM alpine:latest
再往下报错:
Get https://registry-1.docker.io/v2/: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)
网络超时了 最好配置国内的镜像