Docker not starting with Windows errors

I installed docker and followed the directions here: https://docs.docker.com/installation/windows/#installation , but when I run boot2docker this happens:

Trying to get IP one more time exit status 255 Docker client does not run on Windows for now. Please use "boot2docker" ssh to SSH into the VM instead 

Trying boot2docker ssh leads to the same error 255. I tried to get the IP address of the virtual machine with the IP address of boot2docker, but it also did not work - I suppose because boot2locker was not successful in the startup process.

A few observations ... I ran the vm settings and no network or storage settings were specified, and the memory allocation in the vm settings did not match the values ​​in config (config boot2docker). Boot2docker start / stop commands work.

I'm at a dead end.

+3
source share
6 answers

I observed a similar problem. The following steps helped me:

  • Open the VirtualBox GUI.
  • Remove the boot2docker-vm virtual machine.
  • Start Boot2Docker Start --- it recreates the boot2docker-vm virtual machine.
+3
source

We had just that on someone's computer.

The solution for us was to find

  • Launch the VirtualBox interface (C: \ program files \ oracle ....)
  • find the virtual machine (above)
  • select "power off"

Once all this has been done, boot2docker started correctly again.

As a last resort, you can remove the boot2docker-vm image from the virtual box, and you should reinstall it.

+2
source

go to VM VirtualBox Manager, disable boot2docker-vm and start over. It worked for me.

+2
source

just in case this helps. My problem was that the default settings for the boot disk were higher than my laptop (I know). I fixed the problem by changing the boot2docker-vm properties via the VirtualBox GUI. Soon, when I open the thr properties, I saw several warnings at the bottom of the dialog box, so I followed the prompt and resolved these warnings, saved the settings, and now I could launch the docker.

I changed the CPU from 4-> 1, memory from 2G to 1.5G and video memory up to 20M. Hope it helps.

+2
source

Basically, you did not include "virtualization" in your BIOS. boot2docker needs to install a 64-bit OS in Virtualbox.

+1
source

It is worth noting that I had huge problems trying to run docker on windows. Boot2docker will install OK with VritualBox 4.3.20. I could not start boot2docker or docker itself.

It took me a long time to realize that I removed VirtualBox 4.3.20 and instead used 4.3.12, which worked for the first time, as a pleasure!

So, for Windows boot2docker uses only VirtualBox 4.3.12.

+1
source

Source: https://habr.com/ru/post/1209681/


All Articles