1. “docker: Network timed out while trying to connect to https://index.docker.io/v1/repositories/library/hello-world/images. You may want to check your internet connection or if you are behind a proxy..”
在/ect/default/docker中添加
export http_proxy="proxy"
并且重启docker
service docker restart
或者
docker build --build-arg http_proxy="your proxy" image .