Docker Community Forums

Share and learn in the Docker community.

Pre-create check failed when first time launch Docker Quickstart Terminal


(Maxvir) #1

Expected behavior

Docker VM on Windows create successfully.

Actual behavior

Docker VM on Windows host failed with “No default Boot2Docker ISO found locally” and also get not get it from remote link.

Information

Running pre-create checks…
(default)No default Boot2Docker ISO found locally, downloading the latest release…
Error with pre-create check: "Get https://api.github.com/repos/boot2docker/boot2
docker/releases/latest: dial tcp 192.30.252.125:443: connectex: A connection att
empt failed because the connected party did not properly respond after a period
of time, or established connection failed because connected host has failed to r
espond."
Looks like something went wrong in step ‘Checking if machine default exists’…
Press any key to continue…

Steps to reproduce the behavior

  1. Install DockerToolbox-1.11.0 on Windows
  2. Launch Docker Quickstart Terminal

(Maxvir) #2

I have solved the problem. The boot2docker.iso should be located under c:\user\USERNAME.docker\machine\cache


(Hanamantutagi) #3

you can download boot2docker from


(Deepakguru1990) #4

I kept the boot2docker.iso file in c:\user\USERNAME.docker\machine\cache.
Still I am facing the issue
"Running pre-create checks…
default)No default Boot2Docker ISO found locally, downloading the latest release…
Error with pre-create check: "Get https://api.github.com/repos/boot2docker/boot255
docker/releases/latest: dial tcp 192.30.252.125:443: connectex: A connection att
empt failed because the connected party did not properly respond after a period
of time, or established connection failed because connected host has failed to r
espond.“
Looks like something went wrong in step ‘Checking if machine default exists’…
Press any key to continue…”


(Lukeboh) #5

Dowload boot2docker.iso and save it in %HOMEPATH%.docker\machine\cache.

It will warn some other problems, but you may go on.


(Orlowang) #6

it works for me. but the path is c:\user\USERNAME.docker\machine\cache in my windows7 pc,not USERNAME.docker


(Himn) #7

Nice… it works…
thank u… its good suggestion for beginners:grinning:


(Llakkims) #8

It works for Windows 10 also…
Thanks for suggesting


(Surekha) #9

I also faced the same issue. Now, it is resolved after placing boot2docker.iso in %HOMEPATH%.docker\machine\cache.
Thank you.


(Sujeetkb2003) #10

Thanks it does work. But the path is c:\user\USERNAME.docker\machine\cache and not
c:\user\USERNAME.docker\machine\cache


(Sujeetkb2003) #11

strange I am not sure why there is no backward slash after USERNAME. Even i am getting the same path as posted earlier.


(Nitinpai2000) #12

I downloaded the docker iso image and then specified the path in the docker-machine create command as

docker-machine create -d hyperv --hyperv-virtual-switch "<Switch Name>" --hyperv-boot2docker-url "file://Path To/boot2docker.iso" --hyperv-disk-size 2000 --hyperv-memory 512 Manager1


(Chibuzorswitch) #13

Worked for me as well.

Thank you


(Josecoelho93) #14

I was having the same problem because my computer was behind a corporate proxy.
I fixed it by adding the following line (replace with your proxy info):

export "HTTP_PROXY=http://proxy:3128"

to the start.sh file in Docker toolbox installation, which in my machine was:

C:\Program Files\Docker Toolbox\start.sh