LoginSignup
1
1

More than 5 years have passed since last update.

Network timed out while trying to connect to

Posted at

あるDockerfileをPULLするところでエラーを吐いていた。

Network timed out while trying to connect to ....

詳細は以下。

$ kohey% docker build -t kohey/kangol .                                                                                             
Sending build context to Docker daemon 15.36 kB
Step 0 : FROM ubuntu
Pulling repository docker.io/library/ubuntu
Network timed out while trying to connect to https://index.docker.io/v1/repositories/library/ubuntu/images. You may want to check your internet connection or if you are behind a proxy.

直した方法としては

docker-machine restart 〇〇
eval "$(docker-machine env ◯◯)"

で直った。。。。

1
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
1