Looking at the settings for the boot2docker-vm there were no controllers in storage which seemed a bit odd, so I removed this vm, created a new one with the same name and chose a 64-bit linux platform. I then booted the machine and when it asked for a CD with an OS I pointed it at the boot2docker.iso. This appeared to build the vm.
I then powered it down and doubleclicked the boot2docker icon which brought me up a shell window that now reported the following:
initializing…
Virtual machine boot2docker-vm already exists
starting…
Waiting for VM and Docker daemon to start…
…oooooo
oooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo
Started.
Trying to get Docker socket one more time
Error requesting socket: exit status 255
Auto detection of the VM’s Docker socket failed.
Please run boot2docker -v up to diagnose.
IP address of docker VM:
Failed to get VM Host only IP address.
Was the VM initialized using boot2docker?
setting environment variables …
error in run: Error requesting socket: exit status 255
You can now use docker directly, or boot2docker ssh to log into the VM.
Welcome to Git (version 1.9.5-preview20150319)
Run ‘git help git’ to display the help index.
Run 'git help ’ to display help for specific commands.
nickw@WIN-A8648PMEFF2 ~
$
Running boot2docker -v up as advised showed messages like:
Waiting for VM and Docker daemon to start…
.Connecting to tcp://localhost:0 (attempt #0).Connecting to tcp://localhost:0 (a
ttempt #0).Connecting to tcp://localhost:0 (attempt #0).Connecting to tcp://loca
lhost:0 (attempt #0).Connecting to tcp://localhost:0 (attempt #0).Connecting to
tcp://localhost:0 (attempt #0).Connecting to tcp://localhost:0 (attempt #0).Conn
ecting to tcp://localhost:0 (attempt #0).Connecting to tcp://localhost:0 (attemp
t #0).Connecting to tcp://localhost:0 (attempt #0).Connecting to tcp://localhost
:0 (attempt #0).Connecting to tcp://localhost:0 (attempt #0).Connecting to tcp:/
/localhost:0 (attempt #0).Connecting to tcp://localhost:0 (attempt #0).Connectin
g to tcp://localhost:0 (attempt #0).Connecting to tcp://localhost:0 (attempt #0)
.Connecting to tcp://localhost:0 (attempt #0).Connecting to tcp://localhost:0 (a
ttempt #0).Connecting to tcp://localhost:0 (attempt #0).Connecting to tcp://loca
lhost:0 (attempt #0).Connecting to tcp://localhost:0 (attempt #0).Connecting to
tcp://localhost:0 (attempt #0)
and
Waiting for Docker daemon to start…
o2015/07/14 01:06:11 executing: C:\Program Files (x86)\Git\bin\ssh.exe ssh -o Id
entitiesOnly=yes -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o
LogLevel=quiet -p 0 -i C:\Users\nickw.ssh\id_boot2docker docker@localhost grep
tcp:// /proc/$(cat /var/run/docker.pid)/cmdline
Bad port '0’
Error requesting socket: exit status 255
o2015/07/14 01:06:11 executing: C:\Program Files (x86)\Git\bin\ssh.exe ssh -o Id
entitiesOnly=yes -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o
LogLevel=quiet -p 0 -i C:\Users\nickw.ssh\id_boot2docker docker@localhost grep
tcp:// /proc/$(cat /var/run/docker.pid)/cmdline
Bad port '0’
Error requesting socket: exit status 255
o2015/07/14 01:06:12 executing: C:\Program Files (x86)\Git\bin\ssh.exe ssh -o Id
entitiesOnly=yes -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o
LogLevel=quiet -p 0 -i C:\Users\nickw.ssh\id_boot2docker docker@localhost grep
tcp:// /proc/$(cat /var/run/docker.pid)/cmdline
Bad port '0’
Error requesting socket: exit status 255
Looking at Settings->Network it is set to NAT, so should it be set to Bridged to get assigned an IP address?
If I try to do this the drop down for Bridged Adapter, the drop down selector below doesn’t have a choice other than “Not selected” which isn’t a valid name so the settings can’t be changed to Bridged.
It’s late and I’m giving up for tonight.