Docker Community Forums

Share and learn in the Docker community.

Docker ToolBox - Waiting for IP

Hi, I need some help installing Docker ToolBox on windows 7 with VirtualBox.

I’ve tried a few options, but when I create the virtual machine with docker-machine create <…> I never get an IP back.

The virtual machine starts, and drives up accordingly. With SSH I can also connect accordingly.
If I turn on the debug option “docker-machine -D create <…>” then I can see that he probably tries to connect via the IP docker@127.0.0.1 with the virtual machine, which seems wrong to me. Via SSh I have to connect via : 22.

How exactly should the mechanism work with the IP when generating the machine ??
Greetings,
TinTin

From the Command:

$ docker-machine -D create -d virtualbox vboxtest

The Output:
(vboxtest) DBG | COMMAND: D:\0000_Tools\53_VirtualBox\01_Install\VBoxManage.exe modifyvm vboxtest --natpf1 delete ssh
(vboxtest) DBG | STDOUT:
(vboxtest) DBG | {
(vboxtest) DBG | }
(vboxtest) DBG | STDERR:
(vboxtest) DBG | {
(vboxtest) DBG | VBoxManage.exe: error: Code E_INVALIDARG (0x80070057) - One or more arguments are invalid (extended info not available)
(vboxtest) DBG | VBoxManage.exe: error: Context: “RemoveRedirect(Bstr(ValueUnion.psz).raw())” at line 1878 of file VBoxManageModifyVM.cpp
(vboxtest) DBG | }
(vboxtest) DBG | COMMAND: D:\0000_Tools\53_VirtualBox\01_Install\VBoxManage.exe modifyvm vboxtest --natpf1 ssh,tcp,127.0.0.1,58695,22
(vboxtest) DBG | STDOUT:
(vboxtest) DBG | {
(vboxtest) DBG | }
(vboxtest) DBG | STDERR:
(vboxtest) DBG | {
(vboxtest) DBG | }