Installed machine 0.5 via Toolbox 1.9.0.
docker is configured to use the default machine with IP 192.168.99.100
For help getting started, check out the docs at https://docs.docker.com
Error running connection boilerplate: Error checking and/or regenerating the certs: There was an error validating certificates for host "192.168.99.100:2376": dial tcp 192.168.99.100:2376: getsockopt: connection refused
You can attempt to regenerate them using 'docker-machine regenerate-certs name'.
Be advised that this will trigger a Docker daemon restart which will stop running containers.
I have also seen issues like this (although mine was with swarm) and I think it has to do with the Dialer being faulty. The IP address should totally be reachable, so I'm not sure what's going on here. cc @docker/machine-maintainers
I ran into the same thing on Arch Linux.
Edit: downgrading to 0.4.1 fixes this for me.
Also experiencing this. I got it just after updating the toolbox, and also this morning after booting my computer.
Stopping and starting the vm doesn't cause the issue.
Running docker-machine regenerate-certs <name>
does get you going again.
rebooting the host os (osx in my case) worked for me.
fwiw I've been encountering "certs" errors like this against different docker 1.9 servers (boot2docker, debian). But I guess the problem is just that docker server isn't starting -- when I check docker.log it has messages like below.
time="2015-11-13T18:20:36.304725934Z" level=fatal msg="Error starting daemon: Error initializing network controller: could not delete the default bridge network: network bridge has active endpoints"
Doing a rm -rf /var/lib/docker/network
on the docker server as suggested in https://github.com/docker/docker/issues/17846 and rebooting it fixes the problem for me.
Interesting, thanks for the report @jamshid.
I had the same error after upgrading to 0.5 from 0.3 on Arch Linux and upgrading a remote docker.
The remote docker daemon was running for sure, since all the sites I am hosting were still up.
Regenerating the certs failed saying that ca.pem
was not a file or directory.
Rebooting dev machine had no impact.
Installed 0.4.1 and was back up and running again.
Sorry. I forgot that the 0.4.1 download was a single binary...
@tdensmore The downgrade worked like this:
git clone https://aur.archlinux.org/docker-machine.git
cd docker-machine
git checkout fa09daa8f85b31880b93 # Version 4.1.1
makepkg
pacman -U docker-machine-1:0.4.1-1-x86_64.pkg.tar.xz
Thanks @JoshWillik
I'm experiencing this issue on Windows 10 with a fresh install of the Docker Toolbox.
C:\Users\gjstocker>docker-machine env default
Error running connection boilerplate: Error checking and/or regenerating the certs: There was an error > validating certificates for host "192.168.99.100:2376": remote error: bad certificate
You can attempt to regenerate them using 'docker-machine regenerate-certs name'.
Be advised that this will trigger a Docker daemon restart which will stop running containers.
Neither running this command or rebooting windows resolves this issue. I'm running Windows 10 on Parallels on Mac OS X Yosemite; which incidentally also has Docker installed.
Same here on OS X Yosemite. Even running the docker-machine regenerate-certs default
command gave me the below error:
WARNING >>>
This machine has been allocated an IP address, but Docker Machine could not
reach it successfully.
SSH for the machine should still work, but connecting to exposed ports, such as
the Docker daemon port (usually <ip>:2376), may not work properly.
You may need to add the route manually, or use another related workaround.
This could be due to a VPN, proxy, or host file configuration issue.
That's when I realised actually I was on a VPN. Switched that off and the regenerate command works fine. Still would need to fine out how to get docker running with the VPN on, but can get by for now. Hope this helps
I've been hitting this regularly since upgrading to Docker 1.9 - it seems I have to regenerate certs every time I start a docker machine
Hi all, I still have been unsuccessful at reproducing the "bad certs" version of this error (I thought I might have had a lead, but it seems to have turned out to be a red herring), so please post the output of:
$ docker-machine --debug env default
$ docker-machine --debug regenerate-certs -f default
if/when you get a chance and this error comes up. Thanks!
Here you go - hope this helps!
$ docker-machine --debug env betterrecs
Docker Machine Version: 0.5.0 (04cfa58)
Found binary path at /usr/local/bin/docker-machine-driver-virtualbox
Launching plugin server for driver virtualbox
Plugin server listening at address 127.0.0.1:55238
() Calling RpcServerDriver.GetVersion
Using API Version 1
() Calling RpcServerDriver.SetConfigRaw
() Calling RpcServerDriver.GetMachineName
(betterrecs) Calling RpcServerDriver.GetState
(betterrecs) DBG | COMMAND: /usr/local/bin/VBoxManage showvminfo betterrecs --machinereadable
(betterrecs) DBG | STDOUT:
(betterrecs) DBG | {
(betterrecs) DBG | name="betterrecs"
(betterrecs) DBG | groups="/"
(betterrecs) DBG | ostype="Linux 2.6 / 3.x / 4.x (64-bit)"
(betterrecs) DBG | UUID="238a0ef9-bb37-4a1b-ac17-9d16de5baa7a"
(betterrecs) DBG | CfgFile="/Users/liz/.docker/machine/machines/betterrecs/betterrecs/betterrecs.vbox"
(betterrecs) DBG | SnapFldr="/Users/liz/.docker/machine/machines/betterrecs/betterrecs/Snapshots"
(betterrecs) DBG | LogFldr="/Users/liz/.docker/machine/machines/betterrecs/betterrecs/Logs"
(betterrecs) DBG | hardwareuuid="238a0ef9-bb37-4a1b-ac17-9d16de5baa7a"
(betterrecs) DBG | memory=1024
(betterrecs) DBG | pagefusion="off"
(betterrecs) DBG | vram=8
(betterrecs) DBG | cpuexecutioncap=100
(betterrecs) DBG | hpet="on"
(betterrecs) DBG | chipset="piix3"
(betterrecs) DBG | firmware="BIOS"
(betterrecs) DBG | cpus=1
(betterrecs) DBG | pae="on"
(betterrecs) DBG | longmode="on"
(betterrecs) DBG | cpuid-portability-level=0
(betterrecs) DBG | bootmenu="disabled"
(betterrecs) DBG | boot1="dvd"
(betterrecs) Calling RpcServerDriver.GetURL
(betterrecs) DBG | boot2="dvd"
(betterrecs) DBG | boot3="disk"
(betterrecs) DBG | boot4="none"
(betterrecs) DBG | acpi="on"
(betterrecs) DBG | ioapic="on"
(betterrecs) DBG | biossystemtimeoffset=0
(betterrecs) DBG | rtcuseutc="on"
(betterrecs) DBG | hwvirtex="on"
(betterrecs) DBG | nestedpaging="on"
(betterrecs) DBG | largepages="on"
(betterrecs) DBG | vtxvpid="on"
(betterrecs) DBG | vtxux="on"
(betterrecs) DBG | paravirtprovider="default"
(betterrecs) DBG | VMState="running"
(betterrecs) DBG | VMStateChangeTime="2015-11-27T10:23:34.525000000"
(betterrecs) DBG | monitorcount=1
(betterrecs) DBG | accelerate3d="off"
(betterrecs) DBG | accelerate2dvideo="off"
(betterrecs) DBG | teleporterenabled="off"
(betterrecs) DBG | teleporterport=0
(betterrecs) DBG | teleporteraddress=""
(betterrecs) DBG | teleporterpassword=""
(betterrecs) DBG | tracing-enabled="off"
(betterrecs) DBG | tracing-allow-vm-access="off"
(betterrecs) DBG | tracing-config=""
(betterrecs) DBG | autostart-enabled="off"
(betterrecs) DBG | autostart-delay=0
(betterrecs) DBG | defaultfrontend=""
(betterrecs) DBG | storagecontrollername0="SATA"
(betterrecs) DBG | storagecontrollertype0="IntelAhci"
(betterrecs) DBG | storagecontrollerinstance0="0"
(betterrecs) DBG | storagecontrollermaxportcount0="30"
(betterrecs) DBG | storagecontrollerportcount0="30"
(betterrecs) DBG | storagecontrollerbootable0="on"
(betterrecs) DBG | "SATA-0-0"="/Users/liz/.docker/machine/machines/betterrecs/boot2docker.iso"
(betterrecs) DBG | "SATA-ImageUUID-0-0"="824cf97a-8370-4b44-9b51-38ac90fc79cb"
(betterrecs) DBG | "SATA-tempeject"="off"
(betterrecs) DBG | "SATA-IsEjected"="off"
(betterrecs) DBG | "SATA-1-0"="/Users/liz/.docker/machine/machines/betterrecs/disk.vmdk"
(betterrecs) DBG | "SATA-ImageUUID-1-0"="dadaea90-3840-497d-b0bc-c25f0f8bb124"
(betterrecs) DBG | "SATA-2-0"="none"
(betterrecs) DBG | "SATA-3-0"="none"
(betterrecs) DBG | "SATA-4-0"="none"
(betterrecs) DBG | "SATA-5-0"="none"
(betterrecs) DBG | "SATA-6-0"="none"
(betterrecs) DBG | "SATA-7-0"="none"
(betterrecs) DBG | "SATA-8-0"="none"
(betterrecs) DBG | "SATA-9-0"="none"
(betterrecs) DBG | "SATA-10-0"="none"
(betterrecs) DBG | "SATA-11-0"="none"
(betterrecs) DBG | "SATA-12-0"="none"
(betterrecs) DBG | "SATA-13-0"="none"
(betterrecs) DBG | "SATA-14-0"="none"
(betterrecs) DBG | "SATA-15-0"="none"
(betterrecs) DBG | "SATA-16-0"="none"
(betterrecs) DBG | "SATA-17-0"="none"
(betterrecs) DBG | "SATA-18-0"="none"
(betterrecs) DBG | "SATA-19-0"="none"
(betterrecs) DBG | "SATA-20-0"="none"
(betterrecs) DBG | "SATA-21-0"="none"
(betterrecs) DBG | "SATA-22-0"="none"
(betterrecs) DBG | "SATA-23-0"="none"
(betterrecs) DBG | "SATA-24-0"="none"
(betterrecs) DBG | "SATA-25-0"="none"
(betterrecs) DBG | "SATA-26-0"="none"
(betterrecs) DBG | "SATA-27-0"="none"
(betterrecs) DBG | "SATA-28-0"="none"
(betterrecs) DBG | "SATA-29-0"="none"
(betterrecs) DBG | natnet1="nat"
(betterrecs) DBG | macaddress1="08002733C33D"
(betterrecs) DBG | cableconnected1="on"
(betterrecs) DBG | nic1="nat"
(betterrecs) DBG | nictype1="82540EM"
(betterrecs) DBG | nicspeed1="0"
(betterrecs) DBG | mtu="0"
(betterrecs) DBG | sockSnd="64"
(betterrecs) DBG | sockRcv="64"
(betterrecs) DBG | tcpWndSnd="64"
(betterrecs) DBG | tcpWndRcv="64"
(betterrecs) DBG | Forwarding(0)="ssh,tcp,127.0.0.1,49214,,22"
(betterrecs) DBG | hostonlyadapter2="vboxnet0"
(betterrecs) DBG | macaddress2="0800277330F8"
(betterrecs) DBG | cableconnected2="on"
(betterrecs) DBG | nic2="hostonly"
(betterrecs) DBG | nictype2="82540EM"
(betterrecs) DBG | nicspeed2="0"
(betterrecs) DBG | nic3="none"
(betterrecs) DBG | nic4="none"
(betterrecs) DBG | nic5="none"
(betterrecs) DBG | nic6="none"
(betterrecs) DBG | nic7="none"
(betterrecs) DBG | nic8="none"
(betterrecs) DBG | hidpointing="ps2mouse"
(betterrecs) DBG | hidkeyboard="ps2kbd"
(betterrecs) DBG | uart1="off"
(betterrecs) DBG | uart2="off"
(betterrecs) DBG | lpt1="off"
(betterrecs) DBG | lpt2="off"
(betterrecs) DBG | audio="none"
(betterrecs) DBG | clipboard="disabled"
(betterrecs) DBG | draganddrop="disabled"
(betterrecs) DBG | SessionName="headless"
(betterrecs) DBG | VideoMode="720,400,0"@0,0 1
(betterrecs) DBG | vrde="off"
(betterrecs) DBG | usb="off"
(betterrecs) DBG | ehci="off"
(betterrecs) DBG | xhci="off"
(betterrecs) DBG | SharedFolderNameMachineMapping1="Users"
(betterrecs) DBG | SharedFolderPathMachineMapping1="/Users"
(betterrecs) DBG | VRDEActiveConnection="off"
(betterrecs) DBG | VRDEClients=0
(betterrecs) DBG | vcpenabled="off"
(betterrecs) DBG | vcpscreens=0
(betterrecs) DBG | vcpfile="/Users/liz/.docker/machine/machines/betterrecs/betterrecs/betterrecs.webm"
(betterrecs) DBG | vcpwidth=1024
(betterrecs) DBG | vcpheight=768
(betterrecs) DBG | vcprate=512
(betterrecs) DBG | vcpfps=25
(betterrecs) DBG | GuestMemoryBalloon=0
(betterrecs) DBG | GuestOSType="Linux26_64"
(betterrecs) DBG | GuestAdditionsRunLevel=2
(betterrecs) DBG | GuestAdditionsVersion="5.0.8 r103449"
(betterrecs) DBG | GuestAdditionsFacility_VirtualBox Base Driver=50,1448619834843
(betterrecs) DBG | GuestAdditionsFacility_VirtualBox System Service=50,1448619842592
(betterrecs) DBG | GuestAdditionsFacility_Seamless Mode=0,1448619834843
(betterrecs) DBG | GuestAdditionsFacility_Graphics Mode=0,1448619834843
(betterrecs) DBG | }
(betterrecs) DBG | STDERR:
(betterrecs) DBG | {
(betterrecs) DBG | }
(betterrecs) DBG | COMMAND: /usr/local/bin/VBoxManage showvminfo betterrecs --machinereadable
(betterrecs) DBG | STDOUT:
(betterrecs) DBG | {
(betterrecs) DBG | name="betterrecs"
(betterrecs) DBG | groups="/"
(betterrecs) DBG | ostype="Linux 2.6 / 3.x / 4.x (64-bit)"
(betterrecs) DBG | UUID="238a0ef9-bb37-4a1b-ac17-9d16de5baa7a"
(betterrecs) DBG | CfgFile="/Users/liz/.docker/machine/machines/betterrecs/betterrecs/betterrecs.vbox"
(betterrecs) DBG | SnapFldr="/Users/liz/.docker/machine/machines/betterrecs/betterrecs/Snapshots"
(betterrecs) DBG | LogFldr="/Users/liz/.docker/machine/machines/betterrecs/betterrecs/Logs"
(betterrecs) DBG | hardwareuuid="238a0ef9-bb37-4a1b-ac17-9d16de5baa7a"
(betterrecs) DBG | memory=1024
(betterrecs) DBG | pagefusion="off"
(betterrecs) DBG | vram=8
(betterrecs) DBG | cpuexecutioncap=100
(betterrecs) DBG | hpet="on"
(betterrecs) DBG | chipset="piix3"
(betterrecs) DBG | firmware="BIOS"
(betterrecs) DBG | cpus=1
(betterrecs) DBG | pae="on"
(betterrecs) DBG | longmode="on"
(betterrecs) DBG | cpuid-portability-level=0
(betterrecs) DBG | bootmenu="disabled"
(betterrecs) DBG | boot1="dvd"
(betterrecs) DBG | boot2="dvd"
(betterrecs) DBG | boot3="disk"
(betterrecs) DBG | boot4="none"
(betterrecs) DBG | acpi="on"
(betterrecs) DBG | ioapic="on"
(betterrecs) DBG | biossystemtimeoffset=0
(betterrecs) DBG | rtcuseutc="on"
(betterrecs) DBG | hwvirtex="on"
(betterrecs) DBG | nestedpaging="on"
(betterrecs) DBG | largepages="on"
(betterrecs) DBG | vtxvpid="on"
(betterrecs) DBG | vtxux="on"
(betterrecs) DBG | paravirtprovider="default"
(betterrecs) DBG | VMState="running"
(betterrecs) DBG | VMStateChangeTime="2015-11-27T10:23:34.525000000"
(betterrecs) DBG | monitorcount=1
(betterrecs) DBG | accelerate3d="off"
(betterrecs) DBG | accelerate2dvideo="off"
(betterrecs) DBG | teleporterenabled="off"
(betterrecs) DBG | teleporterport=0
(betterrecs) DBG | teleporteraddress=""
(betterrecs) DBG | teleporterpassword=""
(betterrecs) DBG | tracing-enabled="off"
(betterrecs) DBG | tracing-allow-vm-access="off"
(betterrecs) DBG | tracing-config=""
(betterrecs) DBG | autostart-enabled="off"
(betterrecs) DBG | autostart-delay=0
(betterrecs) DBG | defaultfrontend=""
(betterrecs) DBG | storagecontrollername0="SATA"
(betterrecs) DBG | storagecontrollertype0="IntelAhci"
(betterrecs) DBG | storagecontrollerinstance0="0"
(betterrecs) DBG | storagecontrollermaxportcount0="30"
(betterrecs) DBG | storagecontrollerportcount0="30"
(betterrecs) DBG | storagecontrollerbootable0="on"
(betterrecs) DBG | "SATA-0-0"="/Users/liz/.docker/machine/machines/betterrecs/boot2docker.iso"
(betterrecs) DBG | "SATA-ImageUUID-0-0"="824cf97a-8370-4b44-9b51-38ac90fc79cb"
(betterrecs) DBG | "SATA-tempeject"="off"
(betterrecs) DBG | "SATA-IsEjected"="off"
(betterrecs) DBG | "SATA-1-0"="/Users/liz/.docker/machine/machines/betterrecs/disk.vmdk"
(betterrecs) DBG | "SATA-ImageUUID-1-0"="dadaea90-3840-497d-b0bc-c25f0f8bb124"
(betterrecs) DBG | "SATA-2-0"="none"
(betterrecs) DBG | "SATA-3-0"="none"
(betterrecs) DBG | "SATA-4-0"="none"
(betterrecs) DBG | "SATA-5-0"="none"
(betterrecs) DBG | "SATA-6-0"="none"
(betterrecs) DBG | "SATA-7-0"="none"
(betterrecs) DBG | "SATA-8-0"="none"
(betterrecs) DBG | "SATA-9-0"="none"
(betterrecs) DBG | "SATA-10-0"="none"
(betterrecs) DBG | "SATA-11-0"="none"
(betterrecs) DBG | "SATA-12-0"="none"
(betterrecs) DBG | "SATA-13-0"="none"
(betterrecs) DBG | "SATA-14-0"="none"
(betterrecs) DBG | "SATA-15-0"="none"
(betterrecs) DBG | "SATA-16-0"="none"
(betterrecs) DBG | "SATA-17-0"="none"
(betterrecs) DBG | "SATA-18-0"="none"
(betterrecs) DBG | "SATA-19-0"="none"
(betterrecs) DBG | "SATA-20-0"="none"
(betterrecs) DBG | "SATA-21-0"="none"
(betterrecs) DBG | "SATA-22-0"="none"
(betterrecs) DBG | "SATA-23-0"="none"
(betterrecs) DBG | "SATA-24-0"="none"
(betterrecs) DBG | "SATA-25-0"="none"
(betterrecs) DBG | "SATA-26-0"="none"
(betterrecs) DBG | "SATA-27-0"="none"
(betterrecs) DBG | "SATA-28-0"="none"
(betterrecs) DBG | "SATA-29-0"="none"
(betterrecs) DBG | natnet1="nat"
(betterrecs) DBG | macaddress1="08002733C33D"
(betterrecs) DBG | cableconnected1="on"
(betterrecs) DBG | nic1="nat"
(betterrecs) DBG | nictype1="82540EM"
(betterrecs) DBG | nicspeed1="0"
(betterrecs) DBG | mtu="0"
(betterrecs) DBG | sockSnd="64"
(betterrecs) DBG | sockRcv="64"
(betterrecs) DBG | tcpWndSnd="64"
(betterrecs) DBG | tcpWndRcv="64"
(betterrecs) DBG | Forwarding(0)="ssh,tcp,127.0.0.1,49214,,22"
(betterrecs) DBG | hostonlyadapter2="vboxnet0"
(betterrecs) DBG | macaddress2="0800277330F8"
(betterrecs) DBG | cableconnected2="on"
(betterrecs) DBG | nic2="hostonly"
(betterrecs) DBG | nictype2="82540EM"
(betterrecs) DBG | nicspeed2="0"
(betterrecs) DBG | nic3="none"
(betterrecs) DBG | nic4="none"
(betterrecs) DBG | nic5="none"
(betterrecs) DBG | nic6="none"
(betterrecs) DBG | nic7="none"
(betterrecs) DBG | nic8="none"
(betterrecs) DBG | hidpointing="ps2mouse"
(betterrecs) DBG | hidkeyboard="ps2kbd"
(betterrecs) DBG | uart1="off"
(betterrecs) DBG | uart2="off"
(betterrecs) DBG | lpt1="off"
(betterrecs) DBG | lpt2="off"
(betterrecs) DBG | audio="none"
(betterrecs) DBG | clipboard="disabled"
(betterrecs) DBG | draganddrop="disabled"
(betterrecs) DBG | SessionName="headless"
(betterrecs) DBG | VideoMode="720,400,0"@0,0 1
(betterrecs) DBG | vrde="off"
(betterrecs) DBG | usb="off"
(betterrecs) DBG | ehci="off"
(betterrecs) DBG | xhci="off"
(betterrecs) DBG | SharedFolderNameMachineMapping1="Users"
(betterrecs) DBG | SharedFolderPathMachineMapping1="/Users"
(betterrecs) DBG | VRDEActiveConnection="off"
(betterrecs) DBG | VRDEClients=0
(betterrecs) DBG | vcpenabled="off"
(betterrecs) DBG | vcpscreens=0
(betterrecs) DBG | vcpfile="/Users/liz/.docker/machine/machines/betterrecs/betterrecs/betterrecs.webm"
(betterrecs) DBG | vcpwidth=1024
(betterrecs) DBG | vcpheight=768
(betterrecs) DBG | vcprate=512
(betterrecs) DBG | vcpfps=25
(betterrecs) DBG | GuestMemoryBalloon=0
(betterrecs) DBG | GuestOSType="Linux26_64"
(betterrecs) DBG | GuestAdditionsRunLevel=2
(betterrecs) DBG | GuestAdditionsVersion="5.0.8 r103449"
(betterrecs) DBG | GuestAdditionsFacility_VirtualBox Base Driver=50,1448619834843
(betterrecs) DBG | GuestAdditionsFacility_VirtualBox System Service=50,1448619842592
(betterrecs) DBG | GuestAdditionsFacility_Seamless Mode=0,1448619834843
(betterrecs) DBG | GuestAdditionsFacility_Graphics Mode=0,1448619834843
(betterrecs) DBG | }
(betterrecs) DBG | STDERR:
(betterrecs) DBG | {
(betterrecs) DBG | }
(betterrecs) DBG | Using SSH client type: external
(betterrecs) DBG | About to run SSH command:
(betterrecs) DBG | ip addr show dev eth1
(betterrecs) DBG | SSH cmd err, output: <nil>: 4: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
(betterrecs) DBG | link/ether 08:00:27:73:30:f8 brd ff:ff:ff:ff:ff:ff
(betterrecs) DBG | inet 192.168.99.100/24 brd 192.168.99.255 scope global eth1
(betterrecs) DBG | valid_lft forever preferred_lft forever
(betterrecs) DBG | inet6 fe80::a00:27ff:fe73:30f8/64 scope link
(betterrecs) DBG | valid_lft forever preferred_lft forever
(betterrecs) DBG |
(betterrecs) DBG | SSH returned: 4: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
(betterrecs) DBG | link/ether 08:00:27:73:30:f8 brd ff:ff:ff:ff:ff:ff
(betterrecs) DBG | inet 192.168.99.100/24 brd 192.168.99.255 scope global eth1
(betterrecs) DBG | valid_lft forever preferred_lft forever
(betterrecs) DBG | inet6 fe80::a00:27ff:fe73:30f8/64 scope link
(betterrecs) DBG | valid_lft forever preferred_lft forever
(betterrecs) DBG |
(betterrecs) DBG | END SSH
(betterrecs) DBG |
Reading CA certificate from /Users/liz/.docker/machine/certs/ca.pem
Reading server certificate from /Users/liz/.docker/machine/machines/betterrecs/server.pem
Reading server key from /Users/liz/.docker/machine/machines/betterrecs/server-key.pem
shell: bash
export DOCKER_TLS_VERIFY="1"
export DOCKER_HOST="tcp://192.168.99.100:2376"
export DOCKER_CERT_PATH="/Users/liz/.docker/machine/machines/betterrecs"
export DOCKER_MACHINE_NAME="betterrecs"
# Run this command to configure your shell:
# eval "$(docker-machine --debug env betterrecs)"
$ docker-machine --debug regenerate-certs -f betterrecs
Docker Machine Version: 0.5.0 (04cfa58)
Regenerating TLS certificates
Found binary path at /usr/local/bin/docker-machine-driver-virtualbox
Launching plugin server for driver virtualbox
Plugin server listening at address 127.0.0.1:55279
() Calling RpcServerDriver.GetVersion
Using API Version 1
() Calling RpcServerDriver.SetConfigRaw
() Calling RpcServerDriver.GetMachineName
command=configureAuth machine=betterrecs
(betterrecs) Calling RpcServerDriver.GetSSHHostname
(betterrecs) Calling RpcServerDriver.GetSSHPort
(betterrecs) Calling RpcServerDriver.GetSSHKeyPath
(betterrecs) Calling RpcServerDriver.GetSSHUsername
Using SSH client type: external
About to run SSH command:
cat /etc/os-release
SSH cmd err, output: <nil>: NAME=Boot2Docker
VERSION=1.9.0
ID=boot2docker
ID_LIKE=tcl
VERSION_ID=1.9.0
PRETTY_NAME="Boot2Docker 1.9.0 (TCL 6.4); master : 16e4a2a - Tue Nov 3 19:49:22 UTC 2015"
ANSI_COLOR="1;34"
HOME_URL="http://boot2docker.io"
SUPPORT_URL="https://github.com/boot2docker/boot2docker"
BUG_REPORT_URL="https://github.com/boot2docker/boot2docker/issues"
found compatible host: boot2docker
(betterrecs) Calling RpcServerDriver.GetMachineName
(betterrecs) Calling RpcServerDriver.GetSSHHostname
(betterrecs) Calling RpcServerDriver.GetSSHPort
(betterrecs) Calling RpcServerDriver.GetSSHKeyPath
(betterrecs) Calling RpcServerDriver.GetSSHUsername
Using SSH client type: external
About to run SSH command:
sudo /usr/bin/sethostname betterrecs && echo "betterrecs" | sudo tee /var/lib/boot2docker/etc/hostname
SSH cmd err, output: <nil>: Setting hostname to betterrecs Done.
betterrecs
(betterrecs) Calling RpcServerDriver.GetSSHHostname
(betterrecs) Calling RpcServerDriver.GetSSHPort
(betterrecs) Calling RpcServerDriver.GetSSHKeyPath
(betterrecs) Calling RpcServerDriver.GetSSHUsername
Using SSH client type: external
About to run SSH command:
netstat -a
SSH cmd err, output: <nil>: Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 0.0.0.0:ssh 0.0.0.0:* LISTEN
tcp 0 0 10.0.2.15:ssh 10.0.2.2:55283 ESTABLISHED
tcp 0 0 :::ssh :::* LISTEN
tcp 0 0 :::2376 :::* LISTEN
Active UNIX domain sockets (servers and established)
Proto RefCnt Flags Type State I-Node Path
unix 2 [ ACC ] STREAM LISTENING 17374 /var/lib/docker/network/files/88373595910d3af10ee42387d0e36e63da4c6ebb7c0898d4170f8b1a37053d16.sock
unix 2 [ ACC ] STREAM LISTENING 17292 /var/run/docker.sock
unix 2 [ ACC ] STREAM LISTENING 17040 /var/run/acpid.socket
unix 2 [ ACC ] SEQPACKET LISTENING 14286 /run/udev/control
unix 3 [ ] DGRAM 14296
unix 3 [ ] DGRAM 14295
unix 3 [ ] STREAM CONNECTED 18497
unix 3 [ ] STREAM CONNECTED 18496
(betterrecs) Calling RpcServerDriver.GetSSHHostname
(betterrecs) Calling RpcServerDriver.GetSSHPort
(betterrecs) Calling RpcServerDriver.GetSSHKeyPath
(betterrecs) Calling RpcServerDriver.GetSSHUsername
Using SSH client type: external
About to run SSH command:
sudo mkdir -p /var/lib/boot2docker
SSH cmd err, output: <nil>:
(betterrecs) Calling RpcServerDriver.GetMachineName
(betterrecs) Calling RpcServerDriver.GetIP
(betterrecs) DBG | COMMAND: /usr/local/bin/VBoxManage showvminfo betterrecs --machinereadable
(betterrecs) DBG | STDOUT:
(betterrecs) DBG | {
(betterrecs) DBG | name="betterrecs"
(betterrecs) DBG | groups="/"
(betterrecs) DBG | ostype="Linux 2.6 / 3.x / 4.x (64-bit)"
(betterrecs) DBG | UUID="238a0ef9-bb37-4a1b-ac17-9d16de5baa7a"
(betterrecs) DBG | CfgFile="/Users/liz/.docker/machine/machines/betterrecs/betterrecs/betterrecs.vbox"
(betterrecs) DBG | SnapFldr="/Users/liz/.docker/machine/machines/betterrecs/betterrecs/Snapshots"
(betterrecs) DBG | LogFldr="/Users/liz/.docker/machine/machines/betterrecs/betterrecs/Logs"
(betterrecs) DBG | hardwareuuid="238a0ef9-bb37-4a1b-ac17-9d16de5baa7a"
(betterrecs) DBG | memory=1024
(betterrecs) DBG | pagefusion="off"
(betterrecs) DBG | vram=8
(betterrecs) DBG | cpuexecutioncap=100
(betterrecs) DBG | hpet="on"
(betterrecs) DBG | chipset="piix3"
(betterrecs) DBG | firmware="BIOS"
(betterrecs) DBG | cpus=1
(betterrecs) DBG | pae="on"
(betterrecs) DBG | longmode="on"
(betterrecs) DBG | cpuid-portability-level=0
(betterrecs) DBG | bootmenu="disabled"
(betterrecs) DBG | boot1="dvd"
(betterrecs) DBG | boot2="dvd"
(betterrecs) DBG | boot3="disk"
(betterrecs) DBG | boot4="none"
(betterrecs) DBG | acpi="on"
(betterrecs) DBG | ioapic="on"
(betterrecs) DBG | biossystemtimeoffset=0
(betterrecs) DBG | rtcuseutc="on"
(betterrecs) DBG | hwvirtex="on"
(betterrecs) DBG | nestedpaging="on"
(betterrecs) DBG | largepages="on"
(betterrecs) DBG | vtxvpid="on"
(betterrecs) DBG | vtxux="on"
(betterrecs) DBG | paravirtprovider="default"
(betterrecs) DBG | VMState="running"
(betterrecs) DBG | VMStateChangeTime="2015-11-27T10:23:34.525000000"
(betterrecs) DBG | monitorcount=1
(betterrecs) DBG | accelerate3d="off"
(betterrecs) DBG | accelerate2dvideo="off"
(betterrecs) DBG | teleporterenabled="off"
(betterrecs) DBG | teleporterport=0
(betterrecs) DBG | teleporteraddress=""
(betterrecs) DBG | teleporterpassword=""
(betterrecs) DBG | tracing-enabled="off"
(betterrecs) DBG | tracing-allow-vm-access="off"
(betterrecs) DBG | tracing-config=""
(betterrecs) DBG | autostart-enabled="off"
(betterrecs) DBG | autostart-delay=0
(betterrecs) DBG | defaultfrontend=""
(betterrecs) DBG | storagecontrollername0="SATA"
(betterrecs) DBG | storagecontrollertype0="IntelAhci"
(betterrecs) DBG | storagecontrollerinstance0="0"
(betterrecs) DBG | storagecontrollermaxportcount0="30"
(betterrecs) DBG | storagecontrollerportcount0="30"
(betterrecs) DBG | storagecontrollerbootable0="on"
(betterrecs) DBG | "SATA-0-0"="/Users/liz/.docker/machine/machines/betterrecs/boot2docker.iso"
(betterrecs) DBG | "SATA-ImageUUID-0-0"="824cf97a-8370-4b44-9b51-38ac90fc79cb"
(betterrecs) DBG | "SATA-tempeject"="off"
(betterrecs) DBG | "SATA-IsEjected"="off"
(betterrecs) DBG | "SATA-1-0"="/Users/liz/.docker/machine/machines/betterrecs/disk.vmdk"
(betterrecs) DBG | "SATA-ImageUUID-1-0"="dadaea90-3840-497d-b0bc-c25f0f8bb124"
(betterrecs) DBG | "SATA-2-0"="none"
(betterrecs) DBG | "SATA-3-0"="none"
(betterrecs) DBG | "SATA-4-0"="none"
(betterrecs) DBG | "SATA-5-0"="none"
(betterrecs) DBG | "SATA-6-0"="none"
(betterrecs) DBG | "SATA-7-0"="none"
(betterrecs) DBG | "SATA-8-0"="none"
(betterrecs) DBG | "SATA-9-0"="none"
(betterrecs) DBG | "SATA-10-0"="none"
(betterrecs) DBG | "SATA-11-0"="none"
(betterrecs) DBG | "SATA-12-0"="none"
(betterrecs) DBG | "SATA-13-0"="none"
(betterrecs) DBG | "SATA-14-0"="none"
(betterrecs) DBG | "SATA-15-0"="none"
(betterrecs) DBG | "SATA-16-0"="none"
(betterrecs) DBG | "SATA-17-0"="none"
(betterrecs) DBG | "SATA-18-0"="none"
(betterrecs) DBG | "SATA-19-0"="none"
(betterrecs) DBG | "SATA-20-0"="none"
(betterrecs) DBG | "SATA-21-0"="none"
(betterrecs) DBG | "SATA-22-0"="none"
(betterrecs) DBG | "SATA-23-0"="none"
(betterrecs) DBG | "SATA-24-0"="none"
(betterrecs) DBG | "SATA-25-0"="none"
(betterrecs) DBG | "SATA-26-0"="none"
(betterrecs) DBG | "SATA-27-0"="none"
(betterrecs) DBG | "SATA-28-0"="none"
(betterrecs) DBG | "SATA-29-0"="none"
(betterrecs) DBG | natnet1="nat"
(betterrecs) DBG | macaddress1="08002733C33D"
(betterrecs) DBG | cableconnected1="on"
(betterrecs) DBG | nic1="nat"
(betterrecs) DBG | nictype1="82540EM"
(betterrecs) DBG | nicspeed1="0"
(betterrecs) DBG | mtu="0"
(betterrecs) DBG | sockSnd="64"
(betterrecs) DBG | sockRcv="64"
(betterrecs) DBG | tcpWndSnd="64"
(betterrecs) DBG | tcpWndRcv="64"
(betterrecs) DBG | Forwarding(0)="ssh,tcp,127.0.0.1,49214,,22"
(betterrecs) DBG | hostonlyadapter2="vboxnet0"
(betterrecs) DBG | macaddress2="0800277330F8"
(betterrecs) DBG | cableconnected2="on"
(betterrecs) DBG | nic2="hostonly"
(betterrecs) DBG | nictype2="82540EM"
(betterrecs) DBG | nicspeed2="0"
(betterrecs) DBG | nic3="none"
(betterrecs) DBG | nic4="none"
(betterrecs) DBG | nic5="none"
(betterrecs) DBG | nic6="none"
(betterrecs) DBG | nic7="none"
(betterrecs) DBG | nic8="none"
(betterrecs) DBG | hidpointing="ps2mouse"
(betterrecs) DBG | hidkeyboard="ps2kbd"
(betterrecs) DBG | uart1="off"
(betterrecs) DBG | uart2="off"
(betterrecs) DBG | lpt1="off"
(betterrecs) DBG | lpt2="off"
(betterrecs) DBG | audio="none"
(betterrecs) DBG | clipboard="disabled"
(betterrecs) DBG | draganddrop="disabled"
(betterrecs) DBG | SessionName="headless"
(betterrecs) DBG | VideoMode="720,400,0"@0,0 1
(betterrecs) DBG | vrde="off"
(betterrecs) DBG | usb="off"
(betterrecs) DBG | ehci="off"
(betterrecs) DBG | xhci="off"
(betterrecs) DBG | SharedFolderNameMachineMapping1="Users"
(betterrecs) DBG | SharedFolderPathMachineMapping1="/Users"
(betterrecs) DBG | VRDEActiveConnection="off"
(betterrecs) DBG | VRDEClients=0
(betterrecs) DBG | vcpenabled="off"
(betterrecs) DBG | vcpscreens=0
(betterrecs) DBG | vcpfile="/Users/liz/.docker/machine/machines/betterrecs/betterrecs/betterrecs.webm"
(betterrecs) DBG | vcpwidth=1024
(betterrecs) DBG | vcpheight=768
(betterrecs) DBG | vcprate=512
(betterrecs) DBG | vcpfps=25
(betterrecs) DBG | GuestMemoryBalloon=0
(betterrecs) DBG | GuestOSType="Linux26_64"
(betterrecs) DBG | GuestAdditionsRunLevel=2
(betterrecs) DBG | GuestAdditionsVersion="5.0.8 r103449"
(betterrecs) DBG | GuestAdditionsFacility_VirtualBox Base Driver=50,1448619834843
(betterrecs) DBG | GuestAdditionsFacility_VirtualBox System Service=50,1448619842592
(betterrecs) DBG | GuestAdditionsFacility_Seamless Mode=0,1448619834843
(betterrecs) DBG | GuestAdditionsFacility_Graphics Mode=0,1448619834843
(betterrecs) DBG | }
(betterrecs) DBG | STDERR:
(betterrecs) DBG | {
(betterrecs) DBG | }
(betterrecs) DBG | Using SSH client type: external
(betterrecs) DBG | About to run SSH command:
(betterrecs) DBG | ip addr show dev eth1
(betterrecs) DBG | SSH cmd err, output: <nil>: 4: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
(betterrecs) DBG | link/ether 08:00:27:73:30:f8 brd ff:ff:ff:ff:ff:ff
(betterrecs) DBG | inet 192.168.99.100/24 brd 192.168.99.255 scope global eth1
(betterrecs) DBG | valid_lft forever preferred_lft forever
(betterrecs) DBG | inet6 fe80::a00:27ff:fe73:30f8/64 scope link
(betterrecs) DBG | valid_lft forever preferred_lft forever
(betterrecs) DBG |
(betterrecs) DBG | SSH returned: 4: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
(betterrecs) DBG | link/ether 08:00:27:73:30:f8 brd ff:ff:ff:ff:ff:ff
(betterrecs) DBG | inet 192.168.99.100/24 brd 192.168.99.255 scope global eth1
(betterrecs) DBG | valid_lft forever preferred_lft forever
(betterrecs) DBG | inet6 fe80::a00:27ff:fe73:30f8/64 scope link
(betterrecs) DBG | valid_lft forever preferred_lft forever
(betterrecs) DBG |
(betterrecs) DBG | END SSH
Copying certs to the local machine directory...
(betterrecs) DBG |
generating server cert: /Users/liz/.docker/machine/machines/betterrecs/server.pem ca-key=/Users/liz/.docker/machine/certs/ca.pem private-key=/Users/liz/.docker/machine/certs/ca-key.pem org=liz.betterrecs
(betterrecs) Calling RpcServerDriver.GetSSHHostname
(betterrecs) Calling RpcServerDriver.GetSSHPort
(betterrecs) Calling RpcServerDriver.GetSSHKeyPath
(betterrecs) Calling RpcServerDriver.GetSSHUsername
Using SSH client type: external
About to run SSH command:
sudo /etc/init.d/docker stop
SSH cmd err, output: <nil>:
Copying certs to the remote machine...
(betterrecs) Calling RpcServerDriver.GetSSHHostname
(betterrecs) Calling RpcServerDriver.GetSSHPort
(betterrecs) Calling RpcServerDriver.GetSSHKeyPath
(betterrecs) Calling RpcServerDriver.GetSSHUsername
Using SSH client type: external
About to run SSH command:
printf '%s' '-----BEGIN CERTIFICATE-----
MIICxTCCAa+gAwIBAgIQG+7IaWezmEtyKdTY0XwKTzALBgkqhkiG9w0BAQswDjEM
MAoGA1UEChMDbGl6MB4XDTE1MDkyNDE4MDIwMFoXDTE4MDkwODE4MDIwMFowDjEM
MAoGA1UEChMDbGl6MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAu3sM
lzFTb6qOsovgwFz/GEIN/lC1h8i9MIUt5LWF17MBp23aT15HTXy5GTuhfnXh3kPS
KKn5XzWvXQ9JILDIemIy8r/cO1ceGP1HYOtFtyuaJqle34UcFvIe9uH9KXB/Kh+a
fvQbXFuj67LODcUMD76pQd7YvB/D+G56gTFhrmOQQRCGHgj2ySgLcEr0TgtTbBiy
GyZl5N9uBPvwQNVXVKYQdK12VJSFIjY8zx/2Z7hmp6jCEcFcHtmHbw/hT/ReTTmR
ZQaXZrbAqWOdMbeNBbNIcnWNmdv/BED0l0K6d7x017f066BxrUA1HIq1rXClqeym
iKFg0gfQGyG3bYZb2QIDAQABoyMwITAOBgNVHQ8BAf8EBAMCAKwwDwYDVR0TAQH/
BAUwAwEB/zALBgkqhkiG9w0BAQsDggEBAF65b1uUdG4nj49N5rtVy+2me6fJos7N
VlhbfXBjO6lmsoaDDP7qndmUnYVWUCgdLaXZj+NlVxAT9n8LVVOBtik9lda0VGxU
R2iwZHCOWky+3BCs2zrTP2pJlO95jlQ31/wz6qbBNAIxHC8bCH15gWAEB202l+Hs
EDbvoGlGHiC3PY4q6EBJTuo/hT31P0WPz8+CPivkm184tYwG4zbPTh6auTZz5FAw
amfFvAvV+JZ+2V0ftJdjZbqCxOSccU/BSZOl34TKvjgtDgRZv7ZH7QoCMrK/INWH
tSC3vZZOW++swflG6ZNiRlOKAt0Mtqbfbqup2Fo4KnGi7byCcXm8c/M=
-----END CERTIFICATE-----
' | sudo tee /var/lib/boot2docker/ca.pem
SSH cmd err, output: <nil>: -----BEGIN CERTIFICATE-----
MIICxTCCAa+gAwIBAgIQG+7IaWezmEtyKdTY0XwKTzALBgkqhkiG9w0BAQswDjEM
MAoGA1UEChMDbGl6MB4XDTE1MDkyNDE4MDIwMFoXDTE4MDkwODE4MDIwMFowDjEM
MAoGA1UEChMDbGl6MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAu3sM
lzFTb6qOsovgwFz/GEIN/lC1h8i9MIUt5LWF17MBp23aT15HTXy5GTuhfnXh3kPS
KKn5XzWvXQ9JILDIemIy8r/cO1ceGP1HYOtFtyuaJqle34UcFvIe9uH9KXB/Kh+a
fvQbXFuj67LODcUMD76pQd7YvB/D+G56gTFhrmOQQRCGHgj2ySgLcEr0TgtTbBiy
GyZl5N9uBPvwQNVXVKYQdK12VJSFIjY8zx/2Z7hmp6jCEcFcHtmHbw/hT/ReTTmR
ZQaXZrbAqWOdMbeNBbNIcnWNmdv/BED0l0K6d7x017f066BxrUA1HIq1rXClqeym
iKFg0gfQGyG3bYZb2QIDAQABoyMwITAOBgNVHQ8BAf8EBAMCAKwwDwYDVR0TAQH/
BAUwAwEB/zALBgkqhkiG9w0BAQsDggEBAF65b1uUdG4nj49N5rtVy+2me6fJos7N
VlhbfXBjO6lmsoaDDP7qndmUnYVWUCgdLaXZj+NlVxAT9n8LVVOBtik9lda0VGxU
R2iwZHCOWky+3BCs2zrTP2pJlO95jlQ31/wz6qbBNAIxHC8bCH15gWAEB202l+Hs
EDbvoGlGHiC3PY4q6EBJTuo/hT31P0WPz8+CPivkm184tYwG4zbPTh6auTZz5FAw
amfFvAvV+JZ+2V0ftJdjZbqCxOSccU/BSZOl34TKvjgtDgRZv7ZH7QoCMrK/INWH
tSC3vZZOW++swflG6ZNiRlOKAt0Mtqbfbqup2Fo4KnGi7byCcXm8c/M=
-----END CERTIFICATE-----
(betterrecs) Calling RpcServerDriver.GetSSHHostname
(betterrecs) Calling RpcServerDriver.GetSSHPort
(betterrecs) Calling RpcServerDriver.GetSSHKeyPath
(betterrecs) Calling RpcServerDriver.GetSSHUsername
Using SSH client type: external
About to run SSH command:
printf '%s' '-----BEGIN CERTIFICATE-----
MIIDDDCCAfSgAwIBAgIQCJXh6vbXgaubXUnlGTqq/zANBgkqhkiG9w0BAQsFADAO
MQwwCgYDVQQKEwNsaXowHhcNMTUxMTI3MTAzMjAwWhcNMTgxMTExMTAzMjAwWjAZ
MRcwFQYDVQQKEw5saXouYmV0dGVycmVjczCCASIwDQYJKoZIhvcNAQEBBQADggEP
ADCCAQoCggEBANFZj45YMn7n6rgOqz9MyjLrJXeQYBkXi5HtQx55noMld0DIcJZI
pI+xHGD68IbuxB/jVQDQPx+7pXia3mOq7bSfEA9mtvA9nHmM7Rjc0JzlHF2ohvSs
8B2XDNTeEKltxICDlL2kuyEMhu7sl771iTq2SsCy8ADVvVVR1MTwH3ovxoDAXW1A
NzeDmZZWpC/60BrIhFkibreJni136gxxWXkEODJdlcxURuVHDd1VMCfoX3nLY2qD
OUI2bHUSyvhqlBHQXKcNIm+ElOv2TensF2tw/zQ0jNbV9RNivirrLupO4Yl3Q1tH
49SRqJHB5dCYRPb5xJ9U8haoD78RLkSisisCAwEAAaNbMFkwDgYDVR0PAQH/BAQD
AgOoMB0GA1UdJQQWMBQGCCsGAQUFBwMCBggrBgEFBQcDATAMBgNVHRMBAf8EAjAA
MBoGA1UdEQQTMBGCCWxvY2FsaG9zdIcEwKhjZDANBgkqhkiG9w0BAQsFAAOCAQEA
Ua8U4kyuVIeZkGfEpgE/x36milmRiYv6Kr5jzo5fFTXg4Swi/aYpgkvXQsfoe9U/
oiE+rcRjUF94r60UAIPNTRSNQvfDbkO5G/31WRGBzTIlw2Iwg4QVVI/itj55Wm91
dTJy4w51Alz8cl4NSGqGuH3kHXceqD6hRMwygVww61trIKCwr/hYVia8eyCOn6tU
wy6KzHs7FQw5q4MZeXyuPEttnpmM0r0gUnVKT8DnMSagdZ2/+i8wgzeyZ4UEYh5V
JSoUrAGjIMs1ilYTZTwhISBIUTtJytRLV/55QKaCN2rD0E0B633G6cQgP/ACPA1/
A9BL9ks5uH4DZx721WKH9Q==
-----END CERTIFICATE-----
' | sudo tee /var/lib/boot2docker/server.pem
SSH cmd err, output: <nil>: -----BEGIN CERTIFICATE-----
MIIDDDCCAfSgAwIBAgIQCJXh6vbXgaubXUnlGTqq/zANBgkqhkiG9w0BAQsFADAO
MQwwCgYDVQQKEwNsaXowHhcNMTUxMTI3MTAzMjAwWhcNMTgxMTExMTAzMjAwWjAZ
MRcwFQYDVQQKEw5saXouYmV0dGVycmVjczCCASIwDQYJKoZIhvcNAQEBBQADggEP
ADCCAQoCggEBANFZj45YMn7n6rgOqz9MyjLrJXeQYBkXi5HtQx55noMld0DIcJZI
pI+xHGD68IbuxB/jVQDQPx+7pXia3mOq7bSfEA9mtvA9nHmM7Rjc0JzlHF2ohvSs
8B2XDNTeEKltxICDlL2kuyEMhu7sl771iTq2SsCy8ADVvVVR1MTwH3ovxoDAXW1A
NzeDmZZWpC/60BrIhFkibreJni136gxxWXkEODJdlcxURuVHDd1VMCfoX3nLY2qD
OUI2bHUSyvhqlBHQXKcNIm+ElOv2TensF2tw/zQ0jNbV9RNivirrLupO4Yl3Q1tH
49SRqJHB5dCYRPb5xJ9U8haoD78RLkSisisCAwEAAaNbMFkwDgYDVR0PAQH/BAQD
AgOoMB0GA1UdJQQWMBQGCCsGAQUFBwMCBggrBgEFBQcDATAMBgNVHRMBAf8EAjAA
MBoGA1UdEQQTMBGCCWxvY2FsaG9zdIcEwKhjZDANBgkqhkiG9w0BAQsFAAOCAQEA
Ua8U4kyuVIeZkGfEpgE/x36milmRiYv6Kr5jzo5fFTXg4Swi/aYpgkvXQsfoe9U/
oiE+rcRjUF94r60UAIPNTRSNQvfDbkO5G/31WRGBzTIlw2Iwg4QVVI/itj55Wm91
dTJy4w51Alz8cl4NSGqGuH3kHXceqD6hRMwygVww61trIKCwr/hYVia8eyCOn6tU
wy6KzHs7FQw5q4MZeXyuPEttnpmM0r0gUnVKT8DnMSagdZ2/+i8wgzeyZ4UEYh5V
JSoUrAGjIMs1ilYTZTwhISBIUTtJytRLV/55QKaCN2rD0E0B633G6cQgP/ACPA1/
A9BL9ks5uH4DZx721WKH9Q==
-----END CERTIFICATE-----
(betterrecs) Calling RpcServerDriver.GetSSHHostname
(betterrecs) Calling RpcServerDriver.GetSSHPort
(betterrecs) Calling RpcServerDriver.GetSSHKeyPath
(betterrecs) Calling RpcServerDriver.GetSSHUsername
Using SSH client type: external
About to run SSH command:
printf '%s' '-----BEGIN RSA PRIVATE KEY-----
MIIEowIBAAKCAQEA0VmPjlgyfufquA6rP0zKMusld5BgGReLke1DHnmegyV3QMhw
lkikj7EcYPrwhu7EH+NVANA/H7uleJreY6rttJ8QD2a28D2ceYztGNzQnOUcXaiG
9KzwHZcM1N4QqW3EgIOUvaS7IQyG7uyXvvWJOrZKwLLwANW9VVHUxPAfei/GgMBd
bUA3N4OZllakL/rQGsiEWSJut4meLXfqDHFZeQQ4Ml2VzFRG5UcN3VUwJ+hfectj
aoM5QjZsdRLK+GqUEdBcpw0ib4SU6/ZN6ewXa3D/NDSM1tX1E2K+Kusu6k7hiXdD
W0fj1JGokcHl0JhE9vnEn1TyFqgPvxEuRKKyKwIDAQABAoIBAE9EuS2tyZjx2ZdN
vpveSKWVEf++xBRcLPXZP9PXOyTvV8NI4hCVevIJnvQ9sDt3Rv3IB1SihXRPie0r
vs9AVndQzzT1sIkw2wHPUatbWQY/Xkk8WbVlkhmyKyKi3u44aPI8YGKacFyoMKNh
JGgi8o4vnghu+J9oTyNyM71KKrEJnEA+5E5RyFna77z/XL768c+wjv5VqHOQz/ck
nQ+1itaiopdycwsBKzCOgL1mzKTnaqASx5Bh5+WT4zYXhXFzlw9RSOpl4YZvFUE8
wlyqf97ANaYSr2mgn9orSNhf3rfVA5s6EodHUCq7C0Xqka1SXYs0EE5SF/ZS1yBf
0J6D2sECgYEA+HD8PzIK9Mp060YBiHvJk5CgVJbtas8EwWafy0e4kH7KD6KY7K1z
Rti13G/1HFqqVVE16EGS5u0FHHF3wSMnEkwCRqudKcT0/3IbAp10/Vyh+wInMh1e
IiRMr8mXJU7uDMupGVDFilLv3oNliL4IpDX+5L+/NYuLhuahJ9g0NMsCgYEA17gb
Tl16Xz5HtBoZMYzj6EeSTb/T3lV3lxHWiiiBbAPblhGWr5rbxzLVaXdy5NWg/7ad
eD0c2BRDiIw/kXZXu2PwzuqKk/cXbsQKkVeeXt2Bi/81tPf2zYfBm0Da+Wx2WKy0
Qy2omRiJiRgxozGc4CGt2PJ4UlpeaPnfm1DfLCECgYBv5BL3M0aT8QqvW5wdKAMl
HqHW9xJ+ZDY0FFArcWXCThga6pQNJCEi6z8cxJ+T4ZGNU0IAFGhg8Ka4pLHWnkpe
hzUPNwNVaIse8PkROHEUGsApGFMm0usuXULceOJFv0KfKKpD6IjPP4Mgp/T2nP+v
VVIzG9i1+N8iJoS2OT1p+QKBgQCbOTk83HrPygrih90VEKJ2Y/ncxGn6FFnndMiB
xb/LL8N0ateZKL94yRVTvMYJ78bX+lm5SZBV0878lJ6xVwyuJK4E1jQ9YJGV/K72
AqxM6urrCAtnWv5Wypb/1l07GVbXW/6iUFp/P27IHYaqPWr6xIFKGL+H0ssYkqTa
KAlOwQKBgDxb3WDnPQW96nEc9WpyJYTc75z2ky92qL8UYF8gK+x3nwItxp1QGw18
c6QEgRfRnwO3CHAirEhyajjPmuY5ZM9p8f8pvGIqPbqXubg4VHZcOxPQXT4hDLRW
uGghDhePU9FZYjWhlhvHS4Fm7B9YzLzH8rZvicFHJBobB9xWcwUF
-----END RSA PRIVATE KEY-----
' | sudo tee /var/lib/boot2docker/server-key.pem
SSH cmd err, output: <nil>: -----BEGIN RSA PRIVATE KEY-----
MIIEowIBAAKCAQEA0VmPjlgyfufquA6rP0zKMusld5BgGReLke1DHnmegyV3QMhw
lkikj7EcYPrwhu7EH+NVANA/H7uleJreY6rttJ8QD2a28D2ceYztGNzQnOUcXaiG
9KzwHZcM1N4QqW3EgIOUvaS7IQyG7uyXvvWJOrZKwLLwANW9VVHUxPAfei/GgMBd
bUA3N4OZllakL/rQGsiEWSJut4meLXfqDHFZeQQ4Ml2VzFRG5UcN3VUwJ+hfectj
aoM5QjZsdRLK+GqUEdBcpw0ib4SU6/ZN6ewXa3D/NDSM1tX1E2K+Kusu6k7hiXdD
W0fj1JGokcHl0JhE9vnEn1TyFqgPvxEuRKKyKwIDAQABAoIBAE9EuS2tyZjx2ZdN
vpveSKWVEf++xBRcLPXZP9PXOyTvV8NI4hCVevIJnvQ9sDt3Rv3IB1SihXRPie0r
vs9AVndQzzT1sIkw2wHPUatbWQY/Xkk8WbVlkhmyKyKi3u44aPI8YGKacFyoMKNh
JGgi8o4vnghu+J9oTyNyM71KKrEJnEA+5E5RyFna77z/XL768c+wjv5VqHOQz/ck
nQ+1itaiopdycwsBKzCOgL1mzKTnaqASx5Bh5+WT4zYXhXFzlw9RSOpl4YZvFUE8
wlyqf97ANaYSr2mgn9orSNhf3rfVA5s6EodHUCq7C0Xqka1SXYs0EE5SF/ZS1yBf
0J6D2sECgYEA+HD8PzIK9Mp060YBiHvJk5CgVJbtas8EwWafy0e4kH7KD6KY7K1z
Rti13G/1HFqqVVE16EGS5u0FHHF3wSMnEkwCRqudKcT0/3IbAp10/Vyh+wInMh1e
IiRMr8mXJU7uDMupGVDFilLv3oNliL4IpDX+5L+/NYuLhuahJ9g0NMsCgYEA17gb
Tl16Xz5HtBoZMYzj6EeSTb/T3lV3lxHWiiiBbAPblhGWr5rbxzLVaXdy5NWg/7ad
eD0c2BRDiIw/kXZXu2PwzuqKk/cXbsQKkVeeXt2Bi/81tPf2zYfBm0Da+Wx2WKy0
Qy2omRiJiRgxozGc4CGt2PJ4UlpeaPnfm1DfLCECgYBv5BL3M0aT8QqvW5wdKAMl
HqHW9xJ+ZDY0FFArcWXCThga6pQNJCEi6z8cxJ+T4ZGNU0IAFGhg8Ka4pLHWnkpe
hzUPNwNVaIse8PkROHEUGsApGFMm0usuXULceOJFv0KfKKpD6IjPP4Mgp/T2nP+v
VVIzG9i1+N8iJoS2OT1p+QKBgQCbOTk83HrPygrih90VEKJ2Y/ncxGn6FFnndMiB
xb/LL8N0ateZKL94yRVTvMYJ78bX+lm5SZBV0878lJ6xVwyuJK4E1jQ9YJGV/K72
AqxM6urrCAtnWv5Wypb/1l07GVbXW/6iUFp/P27IHYaqPWr6xIFKGL+H0ssYkqTa
KAlOwQKBgDxb3WDnPQW96nEc9WpyJYTc75z2ky92qL8UYF8gK+x3nwItxp1QGw18
c6QEgRfRnwO3CHAirEhyajjPmuY5ZM9p8f8pvGIqPbqXubg4VHZcOxPQXT4hDLRW
uGghDhePU9FZYjWhlhvHS4Fm7B9YzLzH8rZvicFHJBobB9xWcwUF
-----END RSA PRIVATE KEY-----
(betterrecs) Calling RpcServerDriver.GetURL
(betterrecs) DBG | COMMAND: /usr/local/bin/VBoxManage showvminfo betterrecs --machinereadable
(betterrecs) DBG | STDOUT:
(betterrecs) DBG | {
(betterrecs) DBG | name="betterrecs"
(betterrecs) DBG | groups="/"
(betterrecs) DBG | ostype="Linux 2.6 / 3.x / 4.x (64-bit)"
(betterrecs) DBG | UUID="238a0ef9-bb37-4a1b-ac17-9d16de5baa7a"
(betterrecs) DBG | CfgFile="/Users/liz/.docker/machine/machines/betterrecs/betterrecs/betterrecs.vbox"
(betterrecs) DBG | SnapFldr="/Users/liz/.docker/machine/machines/betterrecs/betterrecs/Snapshots"
(betterrecs) DBG | LogFldr="/Users/liz/.docker/machine/machines/betterrecs/betterrecs/Logs"
(betterrecs) DBG | hardwareuuid="238a0ef9-bb37-4a1b-ac17-9d16de5baa7a"
(betterrecs) DBG | memory=1024
(betterrecs) DBG | pagefusion="off"
(betterrecs) DBG | vram=8
(betterrecs) DBG | cpuexecutioncap=100
(betterrecs) DBG | hpet="on"
(betterrecs) DBG | chipset="piix3"
(betterrecs) DBG | firmware="BIOS"
(betterrecs) DBG | cpus=1
(betterrecs) DBG | pae="on"
(betterrecs) DBG | longmode="on"
(betterrecs) DBG | cpuid-portability-level=0
(betterrecs) DBG | bootmenu="disabled"
(betterrecs) DBG | boot1="dvd"
(betterrecs) DBG | boot2="dvd"
(betterrecs) DBG | boot3="disk"
(betterrecs) DBG | boot4="none"
(betterrecs) DBG | acpi="on"
(betterrecs) DBG | ioapic="on"
(betterrecs) DBG | biossystemtimeoffset=0
(betterrecs) DBG | rtcuseutc="on"
(betterrecs) DBG | hwvirtex="on"
(betterrecs) DBG | nestedpaging="on"
(betterrecs) DBG | largepages="on"
(betterrecs) DBG | vtxvpid="on"
(betterrecs) DBG | vtxux="on"
(betterrecs) DBG | paravirtprovider="default"
(betterrecs) DBG | VMState="running"
(betterrecs) DBG | VMStateChangeTime="2015-11-27T10:23:34.525000000"
(betterrecs) DBG | monitorcount=1
(betterrecs) DBG | accelerate3d="off"
(betterrecs) DBG | accelerate2dvideo="off"
(betterrecs) DBG | teleporterenabled="off"
(betterrecs) DBG | teleporterport=0
(betterrecs) DBG | teleporteraddress=""
(betterrecs) DBG | teleporterpassword=""
(betterrecs) DBG | tracing-enabled="off"
(betterrecs) DBG | tracing-allow-vm-access="off"
(betterrecs) DBG | tracing-config=""
(betterrecs) DBG | autostart-enabled="off"
(betterrecs) DBG | autostart-delay=0
(betterrecs) DBG | defaultfrontend=""
(betterrecs) DBG | storagecontrollername0="SATA"
(betterrecs) DBG | storagecontrollertype0="IntelAhci"
(betterrecs) DBG | storagecontrollerinstance0="0"
(betterrecs) DBG | storagecontrollermaxportcount0="30"
(betterrecs) DBG | storagecontrollerportcount0="30"
(betterrecs) DBG | storagecontrollerbootable0="on"
(betterrecs) DBG | "SATA-0-0"="/Users/liz/.docker/machine/machines/betterrecs/boot2docker.iso"
(betterrecs) DBG | "SATA-ImageUUID-0-0"="824cf97a-8370-4b44-9b51-38ac90fc79cb"
(betterrecs) DBG | "SATA-tempeject"="off"
(betterrecs) DBG | "SATA-IsEjected"="off"
(betterrecs) DBG | "SATA-1-0"="/Users/liz/.docker/machine/machines/betterrecs/disk.vmdk"
(betterrecs) DBG | "SATA-ImageUUID-1-0"="dadaea90-3840-497d-b0bc-c25f0f8bb124"
(betterrecs) DBG | "SATA-2-0"="none"
(betterrecs) DBG | "SATA-3-0"="none"
(betterrecs) DBG | "SATA-4-0"="none"
(betterrecs) DBG | "SATA-5-0"="none"
(betterrecs) DBG | "SATA-6-0"="none"
(betterrecs) DBG | "SATA-7-0"="none"
(betterrecs) DBG | "SATA-8-0"="none"
(betterrecs) DBG | "SATA-9-0"="none"
(betterrecs) DBG | "SATA-10-0"="none"
(betterrecs) DBG | "SATA-11-0"="none"
(betterrecs) DBG | "SATA-12-0"="none"
(betterrecs) DBG | "SATA-13-0"="none"
(betterrecs) DBG | "SATA-14-0"="none"
(betterrecs) DBG | "SATA-15-0"="none"
(betterrecs) DBG | "SATA-16-0"="none"
(betterrecs) DBG | "SATA-17-0"="none"
(betterrecs) DBG | "SATA-18-0"="none"
(betterrecs) DBG | "SATA-19-0"="none"
(betterrecs) DBG | "SATA-20-0"="none"
(betterrecs) DBG | "SATA-21-0"="none"
(betterrecs) DBG | "SATA-22-0"="none"
(betterrecs) DBG | "SATA-23-0"="none"
(betterrecs) DBG | "SATA-24-0"="none"
(betterrecs) DBG | "SATA-25-0"="none"
(betterrecs) DBG | "SATA-26-0"="none"
(betterrecs) DBG | "SATA-27-0"="none"
(betterrecs) DBG | "SATA-28-0"="none"
(betterrecs) DBG | "SATA-29-0"="none"
(betterrecs) DBG | natnet1="nat"
(betterrecs) DBG | macaddress1="08002733C33D"
(betterrecs) DBG | cableconnected1="on"
(betterrecs) DBG | nic1="nat"
(betterrecs) DBG | nictype1="82540EM"
(betterrecs) DBG | nicspeed1="0"
(betterrecs) DBG | mtu="0"
(betterrecs) DBG | sockSnd="64"
(betterrecs) DBG | sockRcv="64"
(betterrecs) DBG | tcpWndSnd="64"
(betterrecs) DBG | tcpWndRcv="64"
(betterrecs) DBG | Forwarding(0)="ssh,tcp,127.0.0.1,49214,,22"
(betterrecs) DBG | hostonlyadapter2="vboxnet0"
(betterrecs) DBG | macaddress2="0800277330F8"
(betterrecs) DBG | cableconnected2="on"
(betterrecs) DBG | nic2="hostonly"
(betterrecs) DBG | nictype2="82540EM"
(betterrecs) DBG | nicspeed2="0"
(betterrecs) DBG | nic3="none"
(betterrecs) DBG | nic4="none"
(betterrecs) DBG | nic5="none"
(betterrecs) DBG | nic6="none"
(betterrecs) DBG | nic7="none"
(betterrecs) DBG | nic8="none"
(betterrecs) DBG | hidpointing="ps2mouse"
(betterrecs) DBG | hidkeyboard="ps2kbd"
(betterrecs) DBG | uart1="off"
(betterrecs) DBG | uart2="off"
(betterrecs) DBG | lpt1="off"
(betterrecs) DBG | lpt2="off"
(betterrecs) DBG | audio="none"
(betterrecs) DBG | clipboard="disabled"
(betterrecs) DBG | draganddrop="disabled"
(betterrecs) DBG | SessionName="headless"
(betterrecs) DBG | VideoMode="720,400,0"@0,0 1
(betterrecs) DBG | vrde="off"
(betterrecs) DBG | usb="off"
(betterrecs) DBG | ehci="off"
(betterrecs) DBG | xhci="off"
(betterrecs) DBG | SharedFolderNameMachineMapping1="Users"
(betterrecs) DBG | SharedFolderPathMachineMapping1="/Users"
(betterrecs) DBG | VRDEActiveConnection="off"
(betterrecs) DBG | VRDEClients=0
(betterrecs) DBG | vcpenabled="off"
(betterrecs) DBG | vcpscreens=0
(betterrecs) DBG | vcpfile="/Users/liz/.docker/machine/machines/betterrecs/betterrecs/betterrecs.webm"
(betterrecs) DBG | vcpwidth=1024
(betterrecs) DBG | vcpheight=768
(betterrecs) DBG | vcprate=512
(betterrecs) DBG | vcpfps=25
(betterrecs) DBG | GuestMemoryBalloon=0
(betterrecs) DBG | GuestOSType="Linux26_64"
(betterrecs) DBG | GuestAdditionsRunLevel=2
(betterrecs) DBG | GuestAdditionsVersion="5.0.8 r103449"
(betterrecs) DBG | GuestAdditionsFacility_VirtualBox Base Driver=50,1448619834843
(betterrecs) DBG | GuestAdditionsFacility_VirtualBox System Service=50,1448619842592
(betterrecs) DBG | GuestAdditionsFacility_Seamless Mode=0,1448619834843
(betterrecs) DBG | GuestAdditionsFacility_Graphics Mode=0,1448619834843
(betterrecs) DBG | }
(betterrecs) DBG | STDERR:
(betterrecs) DBG | {
(betterrecs) DBG | }
(betterrecs) DBG | Using SSH client type: external
(betterrecs) DBG | About to run SSH command:
(betterrecs) DBG | ip addr show dev eth1
(betterrecs) DBG | SSH cmd err, output: <nil>: 4: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
(betterrecs) DBG | link/ether 08:00:27:73:30:f8 brd ff:ff:ff:ff:ff:ff
(betterrecs) DBG | inet 192.168.99.100/24 brd 192.168.99.255 scope global eth1
(betterrecs) DBG | valid_lft forever preferred_lft forever
(betterrecs) DBG | inet6 fe80::a00:27ff:fe73:30f8/64 scope link
(betterrecs) DBG | valid_lft forever preferred_lft forever
(betterrecs) DBG |
(betterrecs) DBG | SSH returned: 4: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
(betterrecs) DBG | link/ether 08:00:27:73:30:f8 brd ff:ff:ff:ff:ff:ff
(betterrecs) DBG | inet 192.168.99.100/24 brd 192.168.99.255 scope global eth1
(betterrecs) DBG | valid_lft forever preferred_lft forever
(betterrecs) Calling RpcServerDriver.DriverName
(betterrecs) DBG | inet6 fe80::a00:27ff:fe73:30f8/64 scope link
(betterrecs) DBG | valid_lft forever preferred_lft forever
(betterrecs) DBG |
(betterrecs) DBG | END SSH
(betterrecs) DBG |
Setting Docker configuration on the remote daemon...
(betterrecs) Calling RpcServerDriver.GetSSHHostname
(betterrecs) Calling RpcServerDriver.GetSSHPort
(betterrecs) Calling RpcServerDriver.GetSSHKeyPath
(betterrecs) Calling RpcServerDriver.GetSSHUsername
Using SSH client type: external
About to run SSH command:
printf %s "
EXTRA_ARGS='
--label provider=virtualbox
'
CACERT=/var/lib/boot2docker/ca.pem
DOCKER_HOST='-H tcp://0.0.0.0:2376'
DOCKER_STORAGE=aufs
DOCKER_TLS=auto
SERVERKEY=/var/lib/boot2docker/server-key.pem
SERVERCERT=/var/lib/boot2docker/server.pem
" | sudo tee /var/lib/boot2docker/profile
SSH cmd err, output: <nil>:
EXTRA_ARGS='
--label provider=virtualbox
'
CACERT=/var/lib/boot2docker/ca.pem
DOCKER_HOST='-H tcp://0.0.0.0:2376'
DOCKER_STORAGE=aufs
DOCKER_TLS=auto
SERVERKEY=/var/lib/boot2docker/server-key.pem
SERVERCERT=/var/lib/boot2docker/server.pem
(betterrecs) Calling RpcServerDriver.GetSSHHostname
(betterrecs) Calling RpcServerDriver.GetSSHPort
(betterrecs) Calling RpcServerDriver.GetSSHKeyPath
(betterrecs) Calling RpcServerDriver.GetSSHUsername
Using SSH client type: external
About to run SSH command:
sudo /etc/init.d/docker start
SSH cmd err, output: <nil>: Need TLS certs for betterrecs,127.0.0.1,10.0.2.15,192.168.99.100
-------------------
(betterrecs) Calling RpcServerDriver.GetSSHHostname
(betterrecs) Calling RpcServerDriver.GetSSHPort
(betterrecs) Calling RpcServerDriver.GetSSHKeyPath
(betterrecs) Calling RpcServerDriver.GetSSHUsername
Using SSH client type: external
About to run SSH command:
netstat -a
SSH cmd err, output: <nil>: Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 0.0.0.0:ssh 0.0.0.0:* LISTEN
tcp 0 0 10.0.2.15:ssh 10.0.2.2:55283 TIME_WAIT
tcp 36 0 10.0.2.15:ssh 10.0.2.2:55293 ESTABLISHED
tcp 0 0 :::ssh :::* LISTEN
Active UNIX domain sockets (servers and established)
Proto RefCnt Flags Type State I-Node Path
unix 2 [ ACC ] STREAM LISTENING 17040 /var/run/acpid.socket
unix 2 [ ACC ] SEQPACKET LISTENING 14286 /run/udev/control
unix 3 [ ] STREAM CONNECTED 19069
unix 3 [ ] DGRAM 14296
unix 3 [ ] DGRAM 14295
unix 3 [ ] STREAM CONNECTED 19070
(betterrecs) Calling RpcServerDriver.GetSSHHostname
(betterrecs) Calling RpcServerDriver.GetSSHPort
(betterrecs) Calling RpcServerDriver.GetSSHKeyPath
(betterrecs) Calling RpcServerDriver.GetSSHUsername
Using SSH client type: external
About to run SSH command:
netstat -a
SSH cmd err, output: <nil>: Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 0.0.0.0:ssh 0.0.0.0:* LISTEN
tcp 0 0 10.0.2.15:ssh 10.0.2.2:55295 ESTABLISHED
tcp 0 0 10.0.2.15:ssh 10.0.2.2:55283 TIME_WAIT
tcp 0 0 :::ssh :::* LISTEN
tcp 0 0 :::2376 :::* LISTEN
Active UNIX domain sockets (servers and established)
Proto RefCnt Flags Type State I-Node Path
unix 2 [ ACC ] STREAM LISTENING 19165 /var/lib/docker/network/files/f05a6ec02bfcb2b05f6cd8ba3e2063a24fe362e6f85258d4878343ce26775030.sock
unix 2 [ ACC ] STREAM LISTENING 17040 /var/run/acpid.socket
unix 2 [ ACC ] STREAM LISTENING 19098 /var/run/docker.sock
unix 2 [ ACC ] SEQPACKET LISTENING 14286 /run/udev/control
unix 3 [ ] STREAM CONNECTED 19278
unix 3 [ ] DGRAM 14296
unix 3 [ ] DGRAM 14295
unix 3 [ ] STREAM CONNECTED 19279
(betterrecs) Calling RpcServerDriver.GetIP
(betterrecs) DBG | COMMAND: /usr/local/bin/VBoxManage showvminfo betterrecs --machinereadable
(betterrecs) DBG | STDOUT:
(betterrecs) DBG | {
(betterrecs) DBG | name="betterrecs"
(betterrecs) DBG | groups="/"
(betterrecs) DBG | ostype="Linux 2.6 / 3.x / 4.x (64-bit)"
(betterrecs) DBG | UUID="238a0ef9-bb37-4a1b-ac17-9d16de5baa7a"
(betterrecs) DBG | CfgFile="/Users/liz/.docker/machine/machines/betterrecs/betterrecs/betterrecs.vbox"
(betterrecs) DBG | SnapFldr="/Users/liz/.docker/machine/machines/betterrecs/betterrecs/Snapshots"
(betterrecs) DBG | LogFldr="/Users/liz/.docker/machine/machines/betterrecs/betterrecs/Logs"
(betterrecs) DBG | hardwareuuid="238a0ef9-bb37-4a1b-ac17-9d16de5baa7a"
(betterrecs) DBG | memory=1024
(betterrecs) DBG | pagefusion="off"
(betterrecs) DBG | vram=8
(betterrecs) DBG | cpuexecutioncap=100
(betterrecs) DBG | hpet="on"
(betterrecs) DBG | chipset="piix3"
(betterrecs) DBG | firmware="BIOS"
(betterrecs) DBG | cpus=1
(betterrecs) DBG | pae="on"
(betterrecs) DBG | longmode="on"
(betterrecs) DBG | cpuid-portability-level=0
(betterrecs) DBG | bootmenu="disabled"
(betterrecs) DBG | boot1="dvd"
(betterrecs) DBG | boot2="dvd"
(betterrecs) DBG | boot3="disk"
(betterrecs) DBG | boot4="none"
(betterrecs) DBG | acpi="on"
(betterrecs) DBG | ioapic="on"
(betterrecs) DBG | biossystemtimeoffset=0
(betterrecs) DBG | rtcuseutc="on"
(betterrecs) DBG | hwvirtex="on"
(betterrecs) DBG | nestedpaging="on"
(betterrecs) DBG | largepages="on"
(betterrecs) DBG | vtxvpid="on"
(betterrecs) DBG | vtxux="on"
(betterrecs) DBG | paravirtprovider="default"
(betterrecs) DBG | VMState="running"
(betterrecs) DBG | VMStateChangeTime="2015-11-27T10:23:34.525000000"
(betterrecs) DBG | monitorcount=1
(betterrecs) DBG | accelerate3d="off"
(betterrecs) DBG | accelerate2dvideo="off"
(betterrecs) DBG | teleporterenabled="off"
(betterrecs) DBG | teleporterport=0
(betterrecs) DBG | teleporteraddress=""
(betterrecs) DBG | teleporterpassword=""
(betterrecs) DBG | tracing-enabled="off"
(betterrecs) DBG | tracing-allow-vm-access="off"
(betterrecs) DBG | tracing-config=""
(betterrecs) DBG | autostart-enabled="off"
(betterrecs) DBG | autostart-delay=0
(betterrecs) DBG | defaultfrontend=""
(betterrecs) DBG | storagecontrollername0="SATA"
(betterrecs) DBG | storagecontrollertype0="IntelAhci"
(betterrecs) DBG | storagecontrollerinstance0="0"
(betterrecs) DBG | storagecontrollermaxportcount0="30"
(betterrecs) DBG | storagecontrollerportcount0="30"
(betterrecs) DBG | storagecontrollerbootable0="on"
(betterrecs) DBG | "SATA-0-0"="/Users/liz/.docker/machine/machines/betterrecs/boot2docker.iso"
(betterrecs) DBG | "SATA-ImageUUID-0-0"="824cf97a-8370-4b44-9b51-38ac90fc79cb"
(betterrecs) DBG | "SATA-tempeject"="off"
(betterrecs) DBG | "SATA-IsEjected"="off"
(betterrecs) DBG | "SATA-1-0"="/Users/liz/.docker/machine/machines/betterrecs/disk.vmdk"
(betterrecs) DBG | "SATA-ImageUUID-1-0"="dadaea90-3840-497d-b0bc-c25f0f8bb124"
(betterrecs) DBG | "SATA-2-0"="none"
(betterrecs) DBG | "SATA-3-0"="none"
(betterrecs) DBG | "SATA-4-0"="none"
(betterrecs) DBG | "SATA-5-0"="none"
(betterrecs) DBG | "SATA-6-0"="none"
(betterrecs) DBG | "SATA-7-0"="none"
(betterrecs) DBG | "SATA-8-0"="none"
(betterrecs) DBG | "SATA-9-0"="none"
(betterrecs) DBG | "SATA-10-0"="none"
(betterrecs) DBG | "SATA-11-0"="none"
(betterrecs) DBG | "SATA-12-0"="none"
(betterrecs) DBG | "SATA-13-0"="none"
(betterrecs) DBG | "SATA-14-0"="none"
(betterrecs) DBG | "SATA-15-0"="none"
(betterrecs) DBG | "SATA-16-0"="none"
(betterrecs) DBG | "SATA-17-0"="none"
(betterrecs) DBG | "SATA-18-0"="none"
(betterrecs) DBG | "SATA-19-0"="none"
(betterrecs) DBG | "SATA-20-0"="none"
(betterrecs) DBG | "SATA-21-0"="none"
(betterrecs) DBG | "SATA-22-0"="none"
(betterrecs) DBG | "SATA-23-0"="none"
(betterrecs) DBG | "SATA-24-0"="none"
(betterrecs) DBG | "SATA-25-0"="none"
(betterrecs) DBG | "SATA-26-0"="none"
(betterrecs) DBG | "SATA-27-0"="none"
(betterrecs) DBG | "SATA-28-0"="none"
(betterrecs) DBG | "SATA-29-0"="none"
(betterrecs) DBG | natnet1="nat"
(betterrecs) DBG | macaddress1="08002733C33D"
(betterrecs) DBG | cableconnected1="on"
(betterrecs) DBG | nic1="nat"
(betterrecs) DBG | nictype1="82540EM"
(betterrecs) DBG | nicspeed1="0"
(betterrecs) DBG | mtu="0"
(betterrecs) DBG | sockSnd="64"
(betterrecs) DBG | sockRcv="64"
(betterrecs) DBG | tcpWndSnd="64"
(betterrecs) DBG | tcpWndRcv="64"
(betterrecs) DBG | Forwarding(0)="ssh,tcp,127.0.0.1,49214,,22"
(betterrecs) DBG | hostonlyadapter2="vboxnet0"
(betterrecs) DBG | macaddress2="0800277330F8"
(betterrecs) DBG | cableconnected2="on"
(betterrecs) DBG | nic2="hostonly"
(betterrecs) DBG | nictype2="82540EM"
(betterrecs) DBG | nicspeed2="0"
(betterrecs) DBG | nic3="none"
(betterrecs) DBG | nic4="none"
(betterrecs) DBG | nic5="none"
(betterrecs) DBG | nic6="none"
(betterrecs) DBG | nic7="none"
(betterrecs) DBG | nic8="none"
(betterrecs) DBG | hidpointing="ps2mouse"
(betterrecs) DBG | hidkeyboard="ps2kbd"
(betterrecs) DBG | uart1="off"
(betterrecs) DBG | uart2="off"
(betterrecs) DBG | lpt1="off"
(betterrecs) DBG | lpt2="off"
(betterrecs) DBG | audio="none"
(betterrecs) DBG | clipboard="disabled"
(betterrecs) DBG | draganddrop="disabled"
(betterrecs) DBG | SessionName="headless"
(betterrecs) DBG | VideoMode="720,400,0"@0,0 1
(betterrecs) DBG | vrde="off"
(betterrecs) DBG | usb="off"
(betterrecs) DBG | ehci="off"
(betterrecs) DBG | xhci="off"
(betterrecs) DBG | SharedFolderNameMachineMapping1="Users"
(betterrecs) DBG | SharedFolderPathMachineMapping1="/Users"
(betterrecs) DBG | VRDEActiveConnection="off"
(betterrecs) DBG | VRDEClients=0
(betterrecs) DBG | vcpenabled="off"
(betterrecs) DBG | vcpscreens=0
(betterrecs) DBG | vcpfile="/Users/liz/.docker/machine/machines/betterrecs/betterrecs/betterrecs.webm"
(betterrecs) DBG | vcpwidth=1024
(betterrecs) DBG | vcpheight=768
(betterrecs) DBG | vcprate=512
(betterrecs) DBG | vcpfps=25
(betterrecs) DBG | GuestMemoryBalloon=0
(betterrecs) DBG | GuestOSType="Linux26_64"
(betterrecs) DBG | GuestAdditionsRunLevel=2
(betterrecs) DBG | GuestAdditionsVersion="5.0.8 r103449"
(betterrecs) DBG | GuestAdditionsFacility_VirtualBox Base Driver=50,1448619834843
(betterrecs) DBG | GuestAdditionsFacility_VirtualBox System Service=50,1448619842592
(betterrecs) DBG | GuestAdditionsFacility_Seamless Mode=0,1448619834843
(betterrecs) DBG | GuestAdditionsFacility_Graphics Mode=0,1448619834843
(betterrecs) DBG | }
(betterrecs) DBG | STDERR:
(betterrecs) DBG | {
(betterrecs) DBG | }
(betterrecs) DBG | Using SSH client type: external
(betterrecs) DBG | About to run SSH command:
(betterrecs) DBG | ip addr show dev eth1
(betterrecs) DBG | SSH cmd err, output: <nil>: 4: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
(betterrecs) DBG | link/ether 08:00:27:73:30:f8 brd ff:ff:ff:ff:ff:ff
(betterrecs) DBG | inet 192.168.99.100/24 brd 192.168.99.255 scope global eth1
(betterrecs) DBG | valid_lft forever preferred_lft forever
(betterrecs) DBG | inet6 fe80::a00:27ff:fe73:30f8/64 scope link
(betterrecs) DBG | valid_lft forever preferred_lft forever
(betterrecs) DBG |
(betterrecs) DBG | SSH returned: 4: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
(betterrecs) DBG | link/ether 08:00:27:73:30:f8 brd ff:ff:ff:ff:ff:ff
(betterrecs) DBG | inet 192.168.99.100/24 brd 192.168.99.255 scope global eth1
(betterrecs) DBG | valid_lft forever preferred_lft forever
(betterrecs) DBG | inet6 fe80::a00:27ff:fe73:30f8/64 scope link
(betterrecs) DBG | valid_lft forever preferred_lft forever
(betterrecs) DBG |
(betterrecs) DBG | END SSH
(betterrecs) DBG |
(betterrecs) Calling RpcServerDriver.GetConfigRaw
(betterrecs) Calling RpcServerDriver.GetConfigRaw
Thanks @lizrice
So @lizrice, to confirm my understanding: at the end of the create, everything seems to go fine, but then env
chokes with the error message mentioned above? And regenerate-certs
fixes it?
EDIT: Looks like the env
listed above is healthy. Can you post the debug output of an env
invocation that fails?
Yes that's it
On Mon, 30 Nov 2015 at 22:39, Nathan LeClaire [email protected]
wrote:
So @lizrice https://github.com/lizrice, to confirm my understanding: at
the end of the create, everything seems to go fine, but then env chokes
with the error message mentioned above? And regenerate-certs fixes it?—
Reply to this email directly or view it on GitHub
https://github.com/docker/machine/issues/2175#issuecomment-160784509.
I have the same issue, except that regenerate-certs does _not_ fix the issue. I can paste the output of those commands for my machine; but are those cert keys private or public keys?
Had this same issue on osx. Regenerating the certs did not work:
This machine has been allocated an IP address, but Docker Machine could not
reach it successfully.
SSH for the machine should still work, but connecting to exposed ports, such as
the Docker daemon port (usually
You may need to add the route manually, or use another related workaround.
This could be due to a VPN, proxy, or host file configuration issue.
Looked like the route to the box was not correctly configured. Creating a new docker machine did not work either; however, creating a new machine with vmwarefusion worked correctly.
Restarting my computer also fixes the issue.
@gortok Private, may want to remove them before posting.
@lizrice I don't understand. The env
command in your posted example spits out what I would expect to see, but not the "connection boilerplate" error message.
I'll double-check next time I see this happen, but I think I posted
everything I got
On Wed, 2 Dec 2015 at 01:19, Nathan LeClaire [email protected]
wrote:
@lizrice https://github.com/lizrice I don't understand. The env command
in your posted example spits out what I would expect to see, but not the
"connection boilerplate" error message.—
Reply to this email directly or view it on GitHub
https://github.com/docker/machine/issues/2175#issuecomment-161148632.
Does this help?
$ docker-machine start force12
Started machines may have new IP addresses. You may need to re-run the `docker-machine env` command.
$ docker-machine env force12
Error running connection boilerplate: Error checking and/or regenerating the certs: There was an error validating certificates for host "192.168.99.100:2376": x509: certificate is valid for 192.168.99.101, not 192.168.99.100
You can attempt to regenerate them using 'docker-machine regenerate-certs name'.
Be advised that this will trigger a Docker daemon restart which will stop running containers.
$ docker-machine regenerate-certs force12
Regenerate TLS machine certs? Warning: this is irreversible. (y/n): y
Regenerating TLS certificates
Copying certs to the local machine directory...
Copying certs to the remote machine...
Setting Docker configuration on the remote daemon...
$ docker-machine env force12
export DOCKER_TLS_VERIFY="1"
export DOCKER_HOST="tcp://192.168.99.100:2376"
export DOCKER_CERT_PATH="/Users/liz/.docker/machine/machines/force12"
export DOCKER_MACHINE_NAME="force12"
# Run this command to configure your shell:
# eval "$(docker-machine env force12)"
@lizrice Closer -- I need that second command that printed the "Error running connection boilerplate" message, run with --debug
enabled, so I can inspect what's happening in finer-grained detail.
Hi there @nathanleclaire
I am experiencing this problem as well as of this morning.
$ dm --version
dm version 0.5.2 ( 0456b9f )
$ docker --version
Docker version 1.9.0, build 76d6bc9
$ VirtualBox --help
Oracle VM VirtualBox Manager 5.0.10
$ system_profiler SPSoftwareDataType
Software:
System Software Overview:
System Version: OS X 10.10.5 (14F1021)
Kernel Version: Darwin 14.5.0
$ dm ls
NAME ACTIVE DRIVER STATE URL SWARM ERRORS
dev - virtualbox Running tcp://192.168.99.100:2376
$ dm env dev
Error checking TLS connection: Error checking and/or regenerating the certs: There was an error validating certificates for host "192.168.99.100:2376": dial tcp 192.168.99.100:2376: getsockopt: connection refused
You can attempt to regenerate them using 'docker-machine regenerate-certs [name]'.
Be advised that this will trigger a Docker daemon restart which will stop running containers.
$ docker-machine regenerate-certs dev
Regenerate TLS machine certs? Warning: this is irreversible. (y/n): y
Regenerating TLS certificates
Detecting the provisioner...
Unable to verify the Docker daemon is listening: Maximum number of retries (5) exceeded
$ docker-machine ssh dev
## .
## ## ## ==
## ## ## ## ## ===
/"""""""""""""""""\___/ ===
~~~ {~~ ~~~~ ~~~ ~~~~ ~~~ ~ / ===- ~~~
\______ o __/
\ \ __/
\____\_______/
_ _ ____ _ _
| |__ ___ ___ | |_|___ \ __| | ___ ___| | _____ _ __
| '_ \ / _ \ / _ \| __| __) / _` |/ _ \ / __| |/ / _ \ '__|
| |_) | (_) | (_) | |_ / __/ (_| | (_) | (__| < __/ |
|_.__/ \___/ \___/ \__|_____\__,_|\___/ \___|_|\_\___|_|
Boot2Docker version 1.9.0, build master : 16e4a2a - Tue Nov 3 19:49:22 UTC 2015
Docker version 1.9.0, build 76d6bc9
docker@dev:~$
And here is the output of the commands that you referenced Here
Link to the Gist containing output => https://gist.github.com/Dangeranger/4f139d7acf530f6c4ec0)
UPDATE: @nathanleclaire
Running the following worked to fix the issue with evaluating the docker host env.
From this answer by https://github.com/chiavegatto in https://github.com/docker/docker/issues/17846
https://github.com/docker/docker/issues/17846#issuecomment-155233858
$ docker-machine ssh dev
Boot2Docker version 1.9.0, build master : 16e4a2a - Tue Nov 3 19:49:22 UTC 2015
Docker version 1.9.0, build 76d6bc9
$ sudo -i
$ rm -rf /var/lib/docker/network
# exit from the Docker host and then run
$ docker-machine env dev
export DOCKER_TLS_VERIFY="1"
export DOCKER_HOST="tcp://192.168.99.100:2376"
export DOCKER_CERT_PATH="/Users/mansfield/.docker/machine/machines/dev"
export DOCKER_MACHINE_NAME="dev"
# Run this command to configure your shell:
# eval "$(dm env dev)"
:confetti_ball: :boom: :+1:
Good luck!
@Dangeranger But is the route reachable? i.e. can you ping 192.168.99.100
?
EDIT: Just saw the second comment. Very peculiar.
@nathanleclaire Yes indeed!
$ docker-machine env dev
export DOCKER_TLS_VERIFY="1"
export DOCKER_HOST="tcp://192.168.99.100:2376"
export DOCKER_CERT_PATH="/Users/mansfield/.docker/machine/machines/dev"
export DOCKER_MACHINE_NAME="dev"
$ ping -c 3 192.168.99.100
PING 192.168.99.100 (192.168.99.100): 56 data bytes
64 bytes from 192.168.99.100: icmp_seq=0 ttl=64 time=0.219 ms
64 bytes from 192.168.99.100: icmp_seq=1 ttl=64 time=0.423 ms
64 bytes from 192.168.99.100: icmp_seq=2 ttl=64 time=0.387 ms
--- 192.168.99.100 ping statistics ---
3 packets transmitted, 3 packets received, 0.0% packet loss
round-trip min/avg/max/stddev = 0.219/0.343/0.423/0.089 ms
If this is a separate issue, my apologies;
I run into having to regenerate certificates every time I docker-machine stop and docker-machine start a machine created with the AWS driver. This seems to be related to the docker-machine changing ip-addresses. Weird. An IP-change should surely be supported.
docker-machine --debug env docker-machine-`hostname`
Docker Machine Version: 0.5.2 ( 0456b9f )
Found binary path at /usr/local/bin/docker-machine-driver-amazonec2
Launching plugin server for driver amazonec2
Plugin server listening at address 127.0.0.1:58207
() Calling .GetVersion
Using API Version 1
() Calling .SetConfigRaw
() Calling .GetMachineName
(docker-machine-12cu-acceptatie) Calling .GetState
(docker-machine-12cu-acceptatie) DBG | Making AWS API call with values:
(docker-machine-12cu-acceptatie) DBG | {
(docker-machine-12cu-acceptatie) DBG | "Action": [
(docker-machine-12cu-acceptatie) DBG | "DescribeInstances"
(docker-machine-12cu-acceptatie) DBG | ],
(docker-machine-12cu-acceptatie) DBG | "InstanceId.1": [
(docker-machine-12cu-acceptatie) DBG | "i-fe0abf42"
(docker-machine-12cu-acceptatie) DBG | ],
(docker-machine-12cu-acceptatie) DBG | "Version": [
(docker-machine-12cu-acceptatie) DBG | "2014-06-15"
(docker-machine-12cu-acceptatie) DBG | ]
(docker-machine-12cu-acceptatie) DBG | }
(docker-machine-12cu-acceptatie) Calling .GetURL
(docker-machine-12cu-acceptatie) DBG | Making AWS API call with values:
(docker-machine-12cu-acceptatie) DBG | {
(docker-machine-12cu-acceptatie) DBG | "Action": [
(docker-machine-12cu-acceptatie) DBG | "DescribeInstances"
(docker-machine-12cu-acceptatie) DBG | ],
(docker-machine-12cu-acceptatie) DBG | "InstanceId.1": [
(docker-machine-12cu-acceptatie) DBG | "i-fe0abf42"
(docker-machine-12cu-acceptatie) DBG | ],
(docker-machine-12cu-acceptatie) DBG | "Version": [
(docker-machine-12cu-acceptatie) DBG | "2014-06-15"
(docker-machine-12cu-acceptatie) DBG | ]
(docker-machine-12cu-acceptatie) DBG | }
Reading CA certificate from /var/lib/jenkins/.docker/machine/certs/ca.pem
Reading server certificate from /var/lib/jenkins/.docker/machine/machines/docker-machine-12cu-acceptatie/server.pem
Reading server key from /var/lib/jenkins/.docker/machine/machines/docker-machine-12cu-acceptatie/server-key.pem
Error checking TLS connection: Error checking and/or regenerating the certs: There was an error validating certificates for host "52.29.84.243:2376": x509: certificate is valid for 52.28.126.68, not 52.29.84.243
You can attempt to regenerate them using 'docker-machine regenerate-certs [name]'.
Be advised that this will trigger a Docker daemon restart which will stop running containers.
Note the:
There was an error validating certificates for host "52.29.84.243:2376": x509: certificate is valid for 52.28.126.68, not 52.29.84.243
I think I found the problem (but not necessarily the solution yet).
docker-machine -v
docker-machine version 0.5.2 ( 0456b9f )
This is a working certificate, that doesn't ask to be regenerated on restart:
generated with: openssl x509 -in
Certificate:
Data:
Version: 3 (0x2)
Serial Number:
6e:c0:e7:43:47:6c:b7:55:db:35:96:da:d6:93:ec:cd
Signature Algorithm: sha256WithRSAEncryption
Issuer: O=jenkins
Validity
Not Before: Dec 7 14:01:00 2015 GMT
Not After : Nov 21 14:01:00 2018 GMT
Subject: O=jenkins.docker-machine-12cu-acceptatie
Subject Public Key Info:
Public Key Algorithm: rsaEncryption
Public-Key: (2048 bit)
Modulus:
00:a4:3f:9a:1b:d7:cb:c1:03:ee:a2:ed:af:3b:a0:
b3:81:7c:ed:44:bf:a4:e6:46:54:ea:a4:64:a3:1e:
a9:52:f4:81:09:36:07:76:79:28:fb:3c:6f:bb:32:
32:16:57:29:f6:d0:4e:9f:52:0f:b0:4f:c7:82:81:
19:83:37:f3:b7:8a:96:bf:70:e9:4b:e1:17:b5:5a:
38:75:c4:8a:2c:f4:63:03:ab:9a:13:c3:f1:89:6c:
f2:8f:90:55:5e:3d:8c:6a:b7:75:14:7f:75:a4:d5:
70:0d:3a:28:cd:ab:b7:b5:4a:6e:3d:cb:fb:a1:9a:
ee:f2:c3:4f:7d:50:60:e9:06:9c:bf:cb:77:75:ba:
79:97:07:92:0a:02:00:99:f3:56:b0:49:f3:57:9d:
a8:60:9c:b2:d4:e4:68:aa:13:f6:84:50:fd:f5:a7:
8d:53:37:ba:04:2b:1b:25:df:43:a4:7c:30:d5:d5:
93:f1:ca:d7:f8:ee:e0:0a:b2:4c:97:e1:d4:f1:2d:
c0:29:a9:11:55:bd:dc:6f:50:4b:cf:0a:cc:54:0e:
36:57:14:dc:36:2c:0b:40:72:97:0b:40:18:29:62:
18:e2:b0:c2:f8:de:0e:9e:21:c0:d5:b9:c3:38:17:
40:5a:7e:09:31:22:08:f8:27:19:00:61:a5:54:d1:
1c:87
Exponent: 65537 (0x10001)
X509v3 extensions:
X509v3 Key Usage: critical
Digital Signature, Key Encipherment, Key Agreement
X509v3 Extended Key Usage:
TLS Web Client Authentication, TLS Web Server Authentication
X509v3 Basic Constraints: critical
CA:FALSE
X509v3 Subject Alternative Name:
DNS:localhost, IP Address:52.28.126.68
Signature Algorithm: sha256WithRSAEncryption
16:4c:5b:4e:54:a8:4b:5a:5e:96:1e:8a:d6:9b:3b:07:dd:b5:
76:4e:6f:4b:71:e2:7c:68:76:d2:5a:6c:de:eb:b3:79:02:cb:
51:8d:f7:e3:f5:37:a4:32:4b:db:f2:3b:14:5b:7d:a0:9b:f2:
18:f7:00:6a:83:1e:40:34:11:ce:9c:40:5a:64:fa:4e:fb:1a:
52:0b:b0:4e:04:39:19:b3:a1:2c:fe:09:c0:7d:71:03:59:17:
74:90:da:4f:ff:40:c8:94:0d:39:b1:0b:26:a3:6c:b7:bb:c7:
c3:fc:c3:9a:86:78:9a:e0:90:df:cc:b9:7e:15:bc:dc:75:55:
de:0d:59:da:17:c7:e8:fa:38:12:e1:9e:a3:f2:05:15:2a:27:
73:f7:6f:84:7d:dd:34:8a:ee:99:b4:3d:5d:67:58:08:fd:70:
5c:0e:48:76:5a:6a:05:6f:45:49:2c:ad:be:d5:b7:1c:6f:18:
c9:2f:ed:83:06:40:a4:56:fc:a6:e9:e5:51:4f:bc:1e:e2:5d:
0f:31:53:8a:f9:95:b9:eb:29:f2:14:01:f9:d3:3f:0b:25:85:
86:1e:aa:d0:60:63:0e:4a:eb:f6:8d:6b:80:c5:0a:17:12:a2:
1f:bf:4c:36:35:19:69:cb:5d:5e:25:15:9d:37:bb:96:2a:b7:
dd:b2:d1:67
This certificate doesn't work:
Certificate:
Data:
Version: 3 (0x2)
Serial Number:
b2:95:dc:b4:b4:6a:94:b9:ab:d3:58:a3:cc:5b:d9:6e
Signature Algorithm: sha256WithRSAEncryption
Issuer: O=tijs
Validity
Not Before: Oct 2 15:07:00 2015 GMT
Not After : Sep 16 15:07:00 2018 GMT
Subject: O=tijs
Subject Public Key Info:
Public Key Algorithm: rsaEncryption
RSA Public Key: (2048 bit)
Modulus (2048 bit):
00:a6:36:a3:dd:66:1e:8d:9c:8e:c0:43:78:ec:58:
25:a0:f9:a5:24:a8:45:1c:c6:b4:16:fa:81:39:20:
b9:79:23:e0:60:6b:f9:1d:af:80:6b:0c:8c:df:30:
50:66:75:06:9b:f1:78:33:83:9e:4b:bd:7a:44:d7:
d5:06:ce:07:af:52:1d:b3:e6:64:b7:a9:6a:61:e6:
25:e9:2a:85:03:89:17:8a:9c:f2:2a:ab:6f:56:ea:
ba:7e:da:03:b2:f1:8b:35:b3:41:35:91:44:b7:17:
bd:d2:41:27:43:22:cd:c0:e6:19:7b:98:48:bb:3a:
c4:2b:54:d9:48:48:18:02:3f:c5:c7:38:19:09:3f:
6a:eb:63:26:0c:83:62:92:99:a9:20:28:0f:70:73:
c5:c7:48:50:61:00:51:c1:48:d9:7d:05:98:02:55:
6a:c0:5b:70:0b:33:f9:78:dd:b8:d4:04:ae:bc:0c:
70:88:85:01:78:d5:15:09:6a:da:22:de:00:a3:38:
ac:2e:76:af:b2:47:50:c3:75:d9:22:6f:dd:05:09:
5e:15:fd:c8:b2:3c:e4:53:a5:e5:c2:ac:36:22:b6:
12:85:3b:33:55:70:25:9b:42:bc:fe:dc:39:aa:17:
18:04:88:aa:c9:e7:3e:09:7f:35:68:51:24:7d:b8:
01:79
Exponent: 65537 (0x10001)
X509v3 extensions:
X509v3 Key Usage: critical
Digital Signature
X509v3 Extended Key Usage:
TLS Web Client Authentication
X509v3 Basic Constraints: critical
CA:FALSE
Signature Algorithm: sha256WithRSAEncryption
35:5b:74:a6:99:9a:2f:f7:c3:f0:0f:53:b8:c1:cb:f9:9b:9a:
fa:3b:7b:f3:31:35:0c:c1:da:38:9f:1f:33:b4:b4:5c:68:77:
06:a1:bd:d5:8c:66:8a:7b:23:d0:4d:81:71:b7:13:cb:9e:17:
8d:32:a5:53:50:0c:48:f3:40:96:21:ab:30:7c:49:3c:ee:c3:
c7:3f:29:8f:ac:d4:3b:ce:d5:9d:8f:ad:0e:77:b9:ac:cf:1d:
51:f4:69:db:95:58:3f:98:14:96:73:f0:e5:f0:a8:f1:d8:fa:
39:13:73:f5:9d:3d:65:01:9f:e8:a6:39:7b:87:bb:c5:5a:50:
ec:50:3f:eb:7b:54:83:6f:b8:8e:a0:73:2d:9c:1f:b8:48:6a:
f7:98:97:4e:6e:7b:15:d1:33:10:00:e6:15:af:b3:40:20:d0:
3d:3b:c1:cd:1f:54:31:34:0c:cd:3b:e4:d6:68:d7:dd:8e:2f:
36:11:43:0f:e7:8f:c4:17:07:be:b5:3d:69:46:73:2e:24:c1:
77:fa:05:54:49:f8:13:58:83:3f:a6:13:f8:d7:15:5a:19:a2:
f3:3c:92:1a:00:de:86:c5:fb:6a:15:5c:98:30:77:64:d5:62:
39:32:43:68:67:26:f4:90:f0:67:81:98:d6:94:71:af:75:32:
1b:1b:4e:bf
Please note the following sections:
working:
X509v3 extensions:
X509v3 Key Usage: critical
Digital Signature
X509v3 Extended Key Usage:
TLS Web Client Authentication
X509v3 Basic Constraints: critical
CA:FALSE
not working:
X509v3 extensions:
X509v3 Key Usage: critical
Digital Signature, Key Encipherment, Key Agreement
X509v3 Extended Key Usage:
TLS Web Client Authentication, TLS Web Server Authentication
X509v3 Basic Constraints: critical
CA:FALSE
X509v3 Subject Alternative Name:
DNS:localhost, IP Address:52.28.126.68
It seems that the second certificate is issued to a specific ip-address. Did anything change in the certificate generation code recently?
My error seems to be different. In some cases my certs do not exist at all on the Swarm nodes.
My steps to reproduce (screenshots attached):
I am wondering if there is something obvious I am missing?
Below: no .docker directory for certs for 'root' user
Below: no .docker directory for certs for 'ubuntu' user
@tdensmore The certs don't end up on $HOME/.docker
on the created instances. They end up in /etc/docker
. What symptoms are you seeing?
Thanks @nathanleclaire . I will check /etc/docker the next time that I run my stack. The symptoms I am seeing (sorry I thought I uploaded that PNG on my original comment) are that docker-machine
complains that the certs are invalid after creating the swarm cluster.
See my image below.
[Sorry for the duplicate post.] I'm not sure if this is the same issue, but I can reliably reproduce this issue by running the following:
$ docker-machine restart default && docker-machine env default
(default) OUT | Starting VM...
Restarted machines may have new IP addresses. You may need to re-run the `docker-machine env` command.
Error running connection boilerplate: Error checking and/or regenerating the certs: There was an error validating certificates for host "192.168.99.100:2376": dial tcp 192.168.99.100:2376: getsockopt: connection refused
You can attempt to regenerate them using 'docker-machine regenerate-certs name'.
Be advised that this will trigger a Docker daemon restart which will stop running containers.
However, if I run the two commands _separately_, it works okay:
$ docker-machine restart default
(default) OUT | Starting VM...
Restarted machines may have new IP addresses. You may need to re-run the `docker-machine env` command.
$ docker-machine env default
(no error)
The error also occurs if put the following two lines into a file foo.sh
:
docker-machine restart default
docker-machine env default
And run:
$ source foo.sh
@nathanleclaire I'm experiencing the exact same issue as @tijszwinkels. Stopping and restarting a machine using AWS driver triggers this issue. Same machine version too.
Same problem here after testing docker-py.
Reproducing constantly like:
LOOP START
→ dm ls
NAME ACTIVE DRIVER STATE URL SWARM
ddev * virtualbox Running tcp://192.168.99.101:2376
→ dm restart ddev
(ddev) OUT | Starting VM...
Restarted machines may have new IP addresses. You may need to re-run the `docker-machine env` command.
→ docker start manage
manage
from docker.client import Client
from docker.utils import kwargs_from_env
kwargs = kwargs_from_env()
kwargs['tls'].assert_hostname = False
api = Client(**kwargs)
#: Exactly after I try to start an already created exec_create session
#: using the same (empty) generator object, api becomes unavailable
create = api.exec_create('manage', 'bash -c "ansible -c local -i localhost, all -m setup"')
start = api.exec_start(create['Id'], stream=True)
print [line for line in start]
start = api.exec_start(create['Id'], stream=True)
print [line for line in start]
create = api.exec_create('manage', 'bash -c "ansible -c local -i localhost, all -m setup"')
*** ConnectionError: HTTPSConnectionPool(host='192.168.99.101', port=2376): Max retries exceeded with url: /v1.21/containers/manage/exec (Caused by NewConnectionError('<requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x10fdba9d0>: Failed to establish a new connection: [Errno 61] Connection refused',))
LOOP END
→ docker-machine --debug env ddev
Docker Machine Version: 0.5.1 (HEAD)
Found binary path at /usr/local/bin/docker-machine-driver-virtualbox
Launching plugin server for driver virtualbox
Plugin server listening at address 127.0.0.1:54243
() Calling RPCServerDriver.GetVersion
Using API Version 1
() Calling RPCServerDriver.SetConfigRaw
() Calling RPCServerDriver.GetMachineName
(ddev) Calling RPCServerDriver.GetState
(ddev) DBG | COMMAND: /usr/local/bin/VBoxManage showvminfo ddev --machinereadable
(ddev) DBG | STDOUT:
(ddev) DBG | {
(ddev) DBG | name="ddev"
(ddev) DBG | groups="/"
(ddev) DBG | ostype="Linux 2.6 / 3.x / 4.x (64-bit)"
(ddev) DBG | UUID="3123fda1-455a-453e-aad0-19fff84d1e30"
(ddev) DBG | CfgFile="/Users/rubot/.docker/machine/machines/ddev/ddev/ddev.vbox"
(ddev) DBG | SnapFldr="/Users/rubot/.docker/machine/machines/ddev/ddev/Snapshots"
(ddev) DBG | LogFldr="/Users/rubot/.docker/machine/machines/ddev/ddev/Logs"
(ddev) DBG | hardwareuuid="3123fda1-455a-453e-aad0-19fff84d1e30"
(ddev) DBG | memory=1024
(ddev) DBG | pagefusion="off"
(ddev) DBG | vram=8
(ddev) DBG | cpuexecutioncap=100
(ddev) DBG | hpet="on"
(ddev) DBG | chipset="piix3"
(ddev) DBG | firmware="BIOS"
(ddev) Calling RPCServerDriver.GetURL
(ddev) DBG | cpus=1
(ddev) DBG | pae="on"
(ddev) DBG | longmode="on"
(ddev) DBG | cpuid-portability-level=0
(ddev) DBG | bootmenu="disabled"
(ddev) DBG | boot1="dvd"
(ddev) DBG | boot2="dvd"
(ddev) DBG | boot3="disk"
(ddev) DBG | boot4="none"
(ddev) DBG | acpi="on"
(ddev) DBG | ioapic="on"
(ddev) DBG | biossystemtimeoffset=0
(ddev) DBG | rtcuseutc="on"
(ddev) DBG | hwvirtex="on"
(ddev) DBG | nestedpaging="on"
(ddev) DBG | largepages="on"
(ddev) DBG | vtxvpid="on"
(ddev) DBG | vtxux="on"
(ddev) DBG | paravirtprovider="default"
(ddev) DBG | VMState="running"
(ddev) DBG | VMStateChangeTime="2015-12-11T10:12:04.963000000"
(ddev) DBG | monitorcount=1
(ddev) DBG | accelerate3d="off"
(ddev) DBG | accelerate2dvideo="off"
(ddev) DBG | teleporterenabled="off"
(ddev) DBG | teleporterport=0
(ddev) DBG | teleporteraddress=""
(ddev) DBG | teleporterpassword=""
(ddev) DBG | tracing-enabled="off"
(ddev) DBG | tracing-allow-vm-access="off"
(ddev) DBG | tracing-config=""
(ddev) DBG | autostart-enabled="off"
(ddev) DBG | autostart-delay=0
(ddev) DBG | defaultfrontend=""
(ddev) DBG | storagecontrollername0="SATA"
(ddev) DBG | storagecontrollertype0="IntelAhci"
(ddev) DBG | storagecontrollerinstance0="0"
(ddev) DBG | storagecontrollermaxportcount0="30"
(ddev) DBG | storagecontrollerportcount0="30"
(ddev) DBG | storagecontrollerbootable0="on"
(ddev) DBG | "SATA-0-0"="/Users/rubot/.docker/machine/machines/ddev/boot2docker.iso"
(ddev) DBG | "SATA-ImageUUID-0-0"="68bbc276-9b64-4ea5-a67d-29f2f065bf6f"
(ddev) DBG | "SATA-tempeject"="off"
(ddev) DBG | "SATA-IsEjected"="off"
(ddev) DBG | "SATA-1-0"="/Users/rubot/.docker/machine/machines/ddev/disk.vmdk"
(ddev) DBG | "SATA-ImageUUID-1-0"="b75e1c05-f592-4575-b287-3223b9dfa361"
(ddev) DBG | "SATA-2-0"="none"
(ddev) DBG | "SATA-3-0"="none"
(ddev) DBG | "SATA-4-0"="none"
(ddev) DBG | "SATA-5-0"="none"
(ddev) DBG | "SATA-6-0"="none"
(ddev) DBG | "SATA-7-0"="none"
(ddev) DBG | "SATA-8-0"="none"
(ddev) DBG | "SATA-9-0"="none"
(ddev) DBG | "SATA-10-0"="none"
(ddev) DBG | "SATA-11-0"="none"
(ddev) DBG | "SATA-12-0"="none"
(ddev) DBG | "SATA-13-0"="none"
(ddev) DBG | "SATA-14-0"="none"
(ddev) DBG | "SATA-15-0"="none"
(ddev) DBG | "SATA-16-0"="none"
(ddev) DBG | "SATA-17-0"="none"
(ddev) DBG | "SATA-18-0"="none"
(ddev) DBG | "SATA-19-0"="none"
(ddev) DBG | "SATA-20-0"="none"
(ddev) DBG | "SATA-21-0"="none"
(ddev) DBG | "SATA-22-0"="none"
(ddev) DBG | "SATA-23-0"="none"
(ddev) DBG | "SATA-24-0"="none"
(ddev) DBG | "SATA-25-0"="none"
(ddev) DBG | "SATA-26-0"="none"
(ddev) DBG | "SATA-27-0"="none"
(ddev) DBG | "SATA-28-0"="none"
(ddev) DBG | "SATA-29-0"="none"
(ddev) DBG | natnet1="nat"
(ddev) DBG | macaddress1="080027A42B25"
(ddev) DBG | cableconnected1="on"
(ddev) DBG | nic1="nat"
(ddev) DBG | nictype1="82540EM"
(ddev) DBG | nicspeed1="0"
(ddev) DBG | mtu="0"
(ddev) DBG | sockSnd="64"
(ddev) DBG | sockRcv="64"
(ddev) DBG | tcpWndSnd="64"
(ddev) DBG | tcpWndRcv="64"
(ddev) DBG | Forwarding(0)="ssh,tcp,127.0.0.1,53497,,22"
(ddev) DBG | hostonlyadapter2="vboxnet0"
(ddev) DBG | macaddress2="08002757C1AF"
(ddev) DBG | cableconnected2="on"
(ddev) DBG | nic2="hostonly"
(ddev) DBG | nictype2="82540EM"
(ddev) DBG | nicspeed2="0"
(ddev) DBG | nic3="none"
(ddev) DBG | nic4="none"
(ddev) DBG | nic5="none"
(ddev) DBG | nic6="none"
(ddev) DBG | nic7="none"
(ddev) DBG | nic8="none"
(ddev) DBG | hidpointing="ps2mouse"
(ddev) DBG | hidkeyboard="ps2kbd"
(ddev) DBG | uart1="off"
(ddev) DBG | uart2="off"
(ddev) DBG | lpt1="off"
(ddev) DBG | lpt2="off"
(ddev) DBG | audio="none"
(ddev) DBG | clipboard="disabled"
(ddev) DBG | draganddrop="disabled"
(ddev) DBG | SessionName="headless"
(ddev) DBG | VideoMode="720,400,0"@0,0 1
(ddev) DBG | vrde="off"
(ddev) DBG | usb="off"
(ddev) DBG | ehci="off"
(ddev) DBG | xhci="off"
(ddev) DBG | SharedFolderNameMachineMapping1="Users"
(ddev) DBG | SharedFolderPathMachineMapping1="/Users"
(ddev) DBG | VRDEActiveConnection="off"
(ddev) DBG | VRDEClients=0
(ddev) DBG | vcpenabled="off"
(ddev) DBG | vcpscreens=0
(ddev) DBG | vcpfile="/Users/rubot/.docker/machine/machines/ddev/ddev/ddev.webm"
(ddev) DBG | vcpwidth=1024
(ddev) DBG | vcpheight=768
(ddev) DBG | vcprate=512
(ddev) DBG | vcpfps=25
(ddev) DBG | GuestMemoryBalloon=0
(ddev) DBG | GuestOSType="Linux26_64"
(ddev) DBG | GuestAdditionsRunLevel=2
(ddev) DBG | GuestAdditionsVersion="5.0.8 r103449"
(ddev) DBG | GuestAdditionsFacility_VirtualBox Base Driver=50,1449828743931
(ddev) DBG | GuestAdditionsFacility_VirtualBox System Service=50,1449828751900
(ddev) DBG | GuestAdditionsFacility_Seamless Mode=0,1449828743931
(ddev) DBG | GuestAdditionsFacility_Graphics Mode=0,1449828743931
(ddev) DBG | }
(ddev) DBG | STDERR:
(ddev) DBG | {
(ddev) DBG | }
(ddev) DBG | COMMAND: /usr/local/bin/VBoxManage showvminfo ddev --machinereadable
(ddev) DBG | STDOUT:
(ddev) DBG | {
(ddev) DBG | name="ddev"
(ddev) DBG | groups="/"
(ddev) DBG | ostype="Linux 2.6 / 3.x / 4.x (64-bit)"
(ddev) DBG | UUID="3123fda1-455a-453e-aad0-19fff84d1e30"
(ddev) DBG | CfgFile="/Users/rubot/.docker/machine/machines/ddev/ddev/ddev.vbox"
(ddev) DBG | SnapFldr="/Users/rubot/.docker/machine/machines/ddev/ddev/Snapshots"
(ddev) DBG | LogFldr="/Users/rubot/.docker/machine/machines/ddev/ddev/Logs"
(ddev) DBG | hardwareuuid="3123fda1-455a-453e-aad0-19fff84d1e30"
(ddev) DBG | memory=1024
(ddev) DBG | pagefusion="off"
(ddev) DBG | vram=8
(ddev) DBG | cpuexecutioncap=100
(ddev) DBG | hpet="on"
(ddev) DBG | chipset="piix3"
(ddev) DBG | firmware="BIOS"
(ddev) DBG | cpus=1
(ddev) DBG | pae="on"
(ddev) DBG | longmode="on"
(ddev) DBG | cpuid-portability-level=0
(ddev) DBG | bootmenu="disabled"
(ddev) DBG | boot1="dvd"
(ddev) DBG | boot2="dvd"
(ddev) DBG | boot3="disk"
(ddev) DBG | boot4="none"
(ddev) DBG | acpi="on"
(ddev) DBG | ioapic="on"
(ddev) DBG | biossystemtimeoffset=0
(ddev) DBG | rtcuseutc="on"
(ddev) DBG | hwvirtex="on"
(ddev) DBG | nestedpaging="on"
(ddev) DBG | largepages="on"
(ddev) DBG | vtxvpid="on"
(ddev) DBG | vtxux="on"
(ddev) DBG | paravirtprovider="default"
(ddev) DBG | VMState="running"
(ddev) DBG | VMStateChangeTime="2015-12-11T10:12:04.963000000"
(ddev) DBG | monitorcount=1
(ddev) DBG | accelerate3d="off"
(ddev) DBG | accelerate2dvideo="off"
(ddev) DBG | teleporterenabled="off"
(ddev) DBG | teleporterport=0
(ddev) DBG | teleporteraddress=""
(ddev) DBG | teleporterpassword=""
(ddev) DBG | tracing-enabled="off"
(ddev) DBG | tracing-allow-vm-access="off"
(ddev) DBG | tracing-config=""
(ddev) DBG | autostart-enabled="off"
(ddev) DBG | autostart-delay=0
(ddev) DBG | defaultfrontend=""
(ddev) DBG | storagecontrollername0="SATA"
(ddev) DBG | storagecontrollertype0="IntelAhci"
(ddev) DBG | storagecontrollerinstance0="0"
(ddev) DBG | storagecontrollermaxportcount0="30"
(ddev) DBG | storagecontrollerportcount0="30"
(ddev) DBG | storagecontrollerbootable0="on"
(ddev) DBG | "SATA-0-0"="/Users/rubot/.docker/machine/machines/ddev/boot2docker.iso"
(ddev) DBG | "SATA-ImageUUID-0-0"="68bbc276-9b64-4ea5-a67d-29f2f065bf6f"
(ddev) DBG | "SATA-tempeject"="off"
(ddev) DBG | "SATA-IsEjected"="off"
(ddev) DBG | "SATA-1-0"="/Users/rubot/.docker/machine/machines/ddev/disk.vmdk"
(ddev) DBG | "SATA-ImageUUID-1-0"="b75e1c05-f592-4575-b287-3223b9dfa361"
(ddev) DBG | "SATA-2-0"="none"
(ddev) DBG | "SATA-3-0"="none"
(ddev) DBG | "SATA-4-0"="none"
(ddev) DBG | "SATA-5-0"="none"
(ddev) DBG | "SATA-6-0"="none"
(ddev) DBG | "SATA-7-0"="none"
(ddev) DBG | "SATA-8-0"="none"
(ddev) DBG | "SATA-9-0"="none"
(ddev) DBG | "SATA-10-0"="none"
(ddev) DBG | "SATA-11-0"="none"
(ddev) DBG | "SATA-12-0"="none"
(ddev) DBG | "SATA-13-0"="none"
(ddev) DBG | "SATA-14-0"="none"
(ddev) DBG | "SATA-15-0"="none"
(ddev) DBG | "SATA-16-0"="none"
(ddev) DBG | "SATA-17-0"="none"
(ddev) DBG | "SATA-18-0"="none"
(ddev) DBG | "SATA-19-0"="none"
(ddev) DBG | "SATA-20-0"="none"
(ddev) DBG | "SATA-21-0"="none"
(ddev) DBG | "SATA-22-0"="none"
(ddev) DBG | "SATA-23-0"="none"
(ddev) DBG | "SATA-24-0"="none"
(ddev) DBG | "SATA-25-0"="none"
(ddev) DBG | "SATA-26-0"="none"
(ddev) DBG | "SATA-27-0"="none"
(ddev) DBG | "SATA-28-0"="none"
(ddev) DBG | "SATA-29-0"="none"
(ddev) DBG | natnet1="nat"
(ddev) DBG | macaddress1="080027A42B25"
(ddev) DBG | cableconnected1="on"
(ddev) DBG | nic1="nat"
(ddev) DBG | nictype1="82540EM"
(ddev) DBG | nicspeed1="0"
(ddev) DBG | mtu="0"
(ddev) DBG | sockSnd="64"
(ddev) DBG | sockRcv="64"
(ddev) DBG | tcpWndSnd="64"
(ddev) DBG | tcpWndRcv="64"
(ddev) DBG | Forwarding(0)="ssh,tcp,127.0.0.1,53497,,22"
(ddev) DBG | hostonlyadapter2="vboxnet0"
(ddev) DBG | macaddress2="08002757C1AF"
(ddev) DBG | cableconnected2="on"
(ddev) DBG | nic2="hostonly"
(ddev) DBG | nictype2="82540EM"
(ddev) DBG | nicspeed2="0"
(ddev) DBG | nic3="none"
(ddev) DBG | nic4="none"
(ddev) DBG | nic5="none"
(ddev) DBG | nic6="none"
(ddev) DBG | nic7="none"
(ddev) DBG | nic8="none"
(ddev) DBG | hidpointing="ps2mouse"
(ddev) DBG | hidkeyboard="ps2kbd"
(ddev) DBG | uart1="off"
(ddev) DBG | uart2="off"
(ddev) DBG | lpt1="off"
(ddev) DBG | lpt2="off"
(ddev) DBG | audio="none"
(ddev) DBG | clipboard="disabled"
(ddev) DBG | draganddrop="disabled"
(ddev) DBG | SessionName="headless"
(ddev) DBG | VideoMode="720,400,0"@0,0 1
(ddev) DBG | vrde="off"
(ddev) DBG | usb="off"
(ddev) DBG | ehci="off"
(ddev) DBG | xhci="off"
(ddev) DBG | SharedFolderNameMachineMapping1="Users"
(ddev) DBG | SharedFolderPathMachineMapping1="/Users"
(ddev) DBG | VRDEActiveConnection="off"
(ddev) DBG | VRDEClients=0
(ddev) DBG | vcpenabled="off"
(ddev) DBG | vcpscreens=0
(ddev) DBG | vcpfile="/Users/rubot/.docker/machine/machines/ddev/ddev/ddev.webm"
(ddev) DBG | vcpwidth=1024
(ddev) DBG | vcpheight=768
(ddev) DBG | vcprate=512
(ddev) DBG | vcpfps=25
(ddev) DBG | GuestMemoryBalloon=0
(ddev) DBG | GuestOSType="Linux26_64"
(ddev) DBG | GuestAdditionsRunLevel=2
(ddev) DBG | GuestAdditionsVersion="5.0.8 r103449"
(ddev) DBG | GuestAdditionsFacility_VirtualBox Base Driver=50,1449828743931
(ddev) DBG | GuestAdditionsFacility_VirtualBox System Service=50,1449828751900
(ddev) DBG | GuestAdditionsFacility_Seamless Mode=0,1449828743931
(ddev) DBG | GuestAdditionsFacility_Graphics Mode=0,1449828743931
(ddev) DBG | }
(ddev) DBG | STDERR:
(ddev) DBG | {
(ddev) DBG | }
(ddev) DBG | Using SSH client type: external
(ddev) DBG | About to run SSH command:
(ddev) DBG | ip addr show dev eth1
(ddev) DBG | SSH cmd err, output: <nil>: 4: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
(ddev) DBG | link/ether 08:00:27:57:c1:af brd ff:ff:ff:ff:ff:ff
(ddev) DBG | inet 192.168.99.101/24 brd 192.168.99.255 scope global eth1
(ddev) DBG | valid_lft forever preferred_lft forever
(ddev) DBG | inet6 fe80::a00:27ff:fe57:c1af/64 scope link
(ddev) DBG | valid_lft forever preferred_lft forever
(ddev) DBG |
(ddev) DBG | SSH returned: 4: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
(ddev) DBG | link/ether 08:00:27:57:c1:af brd ff:ff:ff:ff:ff:ff
(ddev) DBG | inet 192.168.99.101/24 brd 192.168.99.255 scope global eth1
(ddev) DBG | valid_lft forever preferred_lft forever
(ddev) DBG | inet6 fe80::a00:27ff:fe57:c1af/64 scope link
Reading CA certificate from /Users/rubot/.docker/machine/certs/ca.pem
(ddev) DBG | valid_lft forever preferred_lft forever
(ddev) DBG |
(ddev) DBG | END SSH
(ddev) DBG |
Reading server certificate from /Users/rubot/.docker/machine/machines/ddev/server.pem
Reading server key from /Users/rubot/.docker/machine/machines/ddev/server-key.pem
Error running connection boilerplate: Error checking and/or regenerating the certs: There was an error validating certificates for host "192.168.99.101:2376": dial tcp 192.168.99.101:2376: getsockopt: connection refused
You can attempt to regenerate them using 'docker-machine regenerate-certs name'.
Be advised that this will trigger a Docker daemon restart which will stop running containers.
→ docker-machine --debug regenerate-certs -f ddev
Docker Machine Version: 0.5.1 (HEAD)
Regenerating TLS certificates
Found binary path at /usr/local/bin/docker-machine-driver-virtualbox
Launching plugin server for driver virtualbox
Plugin server listening at address 127.0.0.1:54253
() Calling RPCServerDriver.GetVersion
Using API Version 1
() Calling RPCServerDriver.SetConfigRaw
() Calling RPCServerDriver.GetMachineName
command=configureAuth machine=ddev
Detecting the provisioner...
(ddev) Calling RPCServerDriver.GetSSHHostname
(ddev) Calling RPCServerDriver.GetSSHPort
(ddev) Calling RPCServerDriver.GetSSHKeyPath
(ddev) Calling RPCServerDriver.GetSSHUsername
Using SSH client type: external
About to run SSH command:
cat /etc/os-release
SSH cmd err, output: <nil>: NAME=Boot2Docker
VERSION=1.9.0
ID=boot2docker
ID_LIKE=tcl
VERSION_ID=1.9.0
PRETTY_NAME="Boot2Docker 1.9.0 (TCL 6.4); master : 16e4a2a - Tue Nov 3 19:49:22 UTC 2015"
ANSI_COLOR="1;34"
HOME_URL="http://boot2docker.io"
SUPPORT_URL="https://github.com/boot2docker/boot2docker"
BUG_REPORT_URL="https://github.com/boot2docker/boot2docker/issues"
found compatible host: boot2docker
(ddev) Calling RPCServerDriver.GetMachineName
(ddev) Calling RPCServerDriver.GetSSHHostname
(ddev) Calling RPCServerDriver.GetSSHPort
(ddev) Calling RPCServerDriver.GetSSHKeyPath
(ddev) Calling RPCServerDriver.GetSSHUsername
Using SSH client type: external
About to run SSH command:
sudo /usr/bin/sethostname ddev && echo "ddev" | sudo tee /var/lib/boot2docker/etc/hostname
SSH cmd err, output: <nil>: Setting hostname to ddev Done.
ddev
(ddev) Calling RPCServerDriver.GetSSHHostname
(ddev) Calling RPCServerDriver.GetSSHPort
(ddev) Calling RPCServerDriver.GetSSHKeyPath
(ddev) Calling RPCServerDriver.GetSSHUsername
Using SSH client type: external
About to run SSH command:
netstat -a
SSH cmd err, output: <nil>: Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 0.0.0.0:ssh 0.0.0.0:* LISTEN
tcp 0 0 10.0.2.15:ssh 10.0.2.2:54257 ESTABLISHED
tcp 0 0 :::ssh :::* LISTEN
Active UNIX domain sockets (servers and established)
Proto RefCnt Flags Type State I-Node Path
unix 2 [ ACC ] STREAM LISTENING 17009 /var/run/acpid.socket
unix 2 [ ACC ] SEQPACKET LISTENING 14286 /run/udev/control
unix 3 [ ] STREAM CONNECTED 23091
unix 3 [ ] STREAM CONNECTED 23090
unix 3 [ ] DGRAM 14296
unix 3 [ ] DGRAM 14295
(ddev) Calling RPCServerDriver.GetSSHHostname
(ddev) Calling RPCServerDriver.GetSSHPort
(ddev) Calling RPCServerDriver.GetSSHKeyPath
(ddev) Calling RPCServerDriver.GetSSHUsername
Using SSH client type: external
About to run SSH command:
netstat -a
SSH cmd err, output: <nil>: Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 0.0.0.0:ssh 0.0.0.0:* LISTEN
tcp 0 0 10.0.2.15:ssh 10.0.2.2:54258 ESTABLISHED
tcp 0 0 :::ssh :::* LISTEN
Active UNIX domain sockets (servers and established)
Proto RefCnt Flags Type State I-Node Path
unix 2 [ ACC ] STREAM LISTENING 17009 /var/run/acpid.socket
unix 2 [ ACC ] SEQPACKET LISTENING 14286 /run/udev/control
unix 3 [ ] STREAM CONNECTED 23144
unix 3 [ ] STREAM CONNECTED 23143
unix 3 [ ] DGRAM 14296
unix 3 [ ] DGRAM 14295
(ddev) Calling RPCServerDriver.GetSSHHostname
(ddev) Calling RPCServerDriver.GetSSHPort
(ddev) Calling RPCServerDriver.GetSSHKeyPath
(ddev) Calling RPCServerDriver.GetSSHUsername
Using SSH client type: external
About to run SSH command:
netstat -a
SSH cmd err, output: <nil>: Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 0.0.0.0:ssh 0.0.0.0:* LISTEN
tcp 36 0 10.0.2.15:ssh 10.0.2.2:54259 ESTABLISHED
tcp 0 0 :::ssh :::* LISTEN
Active UNIX domain sockets (servers and established)
Proto RefCnt Flags Type State I-Node Path
unix 2 [ ACC ] STREAM LISTENING 17009 /var/run/acpid.socket
unix 2 [ ACC ] SEQPACKET LISTENING 14286 /run/udev/control
unix 3 [ ] STREAM CONNECTED 23199
unix 3 [ ] STREAM CONNECTED 23198
unix 3 [ ] DGRAM 14296
unix 3 [ ] DGRAM 14295
(ddev) Calling RPCServerDriver.GetSSHHostname
(ddev) Calling RPCServerDriver.GetSSHPort
(ddev) Calling RPCServerDriver.GetSSHKeyPath
(ddev) Calling RPCServerDriver.GetSSHUsername
Using SSH client type: external
About to run SSH command:
netstat -a
SSH cmd err, output: <nil>: Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 0.0.0.0:ssh 0.0.0.0:* LISTEN
tcp 36 0 10.0.2.15:ssh 10.0.2.2:54260 ESTABLISHED
tcp 0 0 :::ssh :::* LISTEN
Active UNIX domain sockets (servers and established)
Proto RefCnt Flags Type State I-Node Path
unix 2 [ ACC ] STREAM LISTENING 17009 /var/run/acpid.socket
unix 2 [ ACC ] SEQPACKET LISTENING 14286 /run/udev/control
unix 3 [ ] STREAM CONNECTED 23259
unix 3 [ ] STREAM CONNECTED 23258
unix 3 [ ] DGRAM 14296
unix 3 [ ] DGRAM 14295
(ddev) Calling RPCServerDriver.GetSSHHostname
(ddev) Calling RPCServerDriver.GetSSHPort
(ddev) Calling RPCServerDriver.GetSSHKeyPath
(ddev) Calling RPCServerDriver.GetSSHUsername
Using SSH client type: external
About to run SSH command:
netstat -a
SSH cmd err, output: <nil>: Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 0.0.0.0:ssh 0.0.0.0:* LISTEN
tcp 0 0 10.0.2.15:ssh 10.0.2.2:54261 ESTABLISHED
tcp 0 0 :::ssh :::* LISTEN
Active UNIX domain sockets (servers and established)
Proto RefCnt Flags Type State I-Node Path
unix 2 [ ACC ] STREAM LISTENING 17009 /var/run/acpid.socket
unix 2 [ ACC ] SEQPACKET LISTENING 14286 /run/udev/control
unix 3 [ ] STREAM CONNECTED 23312
unix 3 [ ] STREAM CONNECTED 23311
unix 3 [ ] DGRAM 14296
unix 3 [ ] DGRAM 14295
Unable to verify the Docker daemon is listening: Maximum number of retries (5) exceeded
@nathanleclaire I see this was removed from the 0.5.2 milestone. Is there a new milestone in mind?
I saw it again - here's the debug you asked for @nathanleclaire
$ docker-machine --debug env force12
Docker Machine Version: 0.5.0 (04cfa58)
Found binary path at /usr/local/bin/docker-machine-driver-virtualbox
Launching plugin server for driver virtualbox
Plugin server listening at address 127.0.0.1:50951
() Calling RpcServerDriver.GetVersion
Using API Version 1
() Calling RpcServerDriver.SetConfigRaw
() Calling RpcServerDriver.GetMachineName
(force12) Calling RpcServerDriver.GetState
(force12) DBG | COMMAND: /usr/local/bin/VBoxManage showvminfo force12 --machinereadable
(force12) DBG | STDOUT:
(force12) DBG | {
(force12) DBG | name="force12"
(force12) DBG | groups="/"
(force12) DBG | ostype="Linux 2.6 / 3.x / 4.x (64-bit)"
(force12) DBG | UUID="350b1e64-2634-4dd6-91eb-90ba4f32bab1"
(force12) DBG | CfgFile="/Users/liz/.docker/machine/machines/force12/force12/force12.vbox"
(force12) DBG | SnapFldr="/Users/liz/.docker/machine/machines/force12/force12/Snapshots"
(force12) DBG | LogFldr="/Users/liz/.docker/machine/machines/force12/force12/Logs"
(force12) DBG | hardwareuuid="350b1e64-2634-4dd6-91eb-90ba4f32bab1"
(force12) DBG | memory=1024
(force12) DBG | pagefusion="off"
(force12) DBG | vram=8
(force12) DBG | cpuexecutioncap=100
(force12) DBG | hpet="on"
(force12) Calling RpcServerDriver.GetURL
(force12) DBG | chipset="piix3"
(force12) DBG | firmware="BIOS"
(force12) DBG | cpus=1
(force12) DBG | pae="on"
(force12) DBG | longmode="on"
(force12) DBG | cpuid-portability-level=0
(force12) DBG | bootmenu="disabled"
(force12) DBG | boot1="dvd"
(force12) DBG | boot2="dvd"
(force12) DBG | boot3="disk"
(force12) DBG | boot4="none"
(force12) DBG | acpi="on"
(force12) DBG | ioapic="on"
(force12) DBG | biossystemtimeoffset=0
(force12) DBG | rtcuseutc="on"
(force12) DBG | hwvirtex="on"
(force12) DBG | nestedpaging="on"
(force12) DBG | largepages="on"
(force12) DBG | vtxvpid="on"
(force12) DBG | vtxux="on"
(force12) DBG | paravirtprovider="default"
(force12) DBG | VMState="running"
(force12) DBG | VMStateChangeTime="2015-12-11T19:07:09.590000000"
(force12) DBG | monitorcount=1
(force12) DBG | accelerate3d="off"
(force12) DBG | accelerate2dvideo="off"
(force12) DBG | teleporterenabled="off"
(force12) DBG | teleporterport=0
(force12) DBG | teleporteraddress=""
(force12) DBG | teleporterpassword=""
(force12) DBG | tracing-enabled="off"
(force12) DBG | tracing-allow-vm-access="off"
(force12) DBG | tracing-config=""
(force12) DBG | autostart-enabled="off"
(force12) DBG | autostart-delay=0
(force12) DBG | defaultfrontend=""
(force12) DBG | storagecontrollername0="SATA"
(force12) DBG | storagecontrollertype0="IntelAhci"
(force12) DBG | storagecontrollerinstance0="0"
(force12) DBG | storagecontrollermaxportcount0="30"
(force12) DBG | storagecontrollerportcount0="30"
(force12) DBG | storagecontrollerbootable0="on"
(force12) DBG | "SATA-0-0"="/Users/liz/.docker/machine/machines/force12/boot2docker.iso"
(force12) DBG | "SATA-ImageUUID-0-0"="6b4904ab-34d7-45a7-a75d-694e0f9d458a"
(force12) DBG | "SATA-tempeject"="off"
(force12) DBG | "SATA-IsEjected"="off"
(force12) DBG | "SATA-1-0"="/Users/liz/.docker/machine/machines/force12/disk.vmdk"
(force12) DBG | "SATA-ImageUUID-1-0"="4d4c2b54-9587-47b9-8174-f4c0db765711"
(force12) DBG | "SATA-2-0"="none"
(force12) DBG | "SATA-3-0"="none"
(force12) DBG | "SATA-4-0"="none"
(force12) DBG | "SATA-5-0"="none"
(force12) DBG | "SATA-6-0"="none"
(force12) DBG | "SATA-7-0"="none"
(force12) DBG | "SATA-8-0"="none"
(force12) DBG | "SATA-9-0"="none"
(force12) DBG | "SATA-10-0"="none"
(force12) DBG | "SATA-11-0"="none"
(force12) DBG | "SATA-12-0"="none"
(force12) DBG | "SATA-13-0"="none"
(force12) DBG | "SATA-14-0"="none"
(force12) DBG | "SATA-15-0"="none"
(force12) DBG | "SATA-16-0"="none"
(force12) DBG | "SATA-17-0"="none"
(force12) DBG | "SATA-18-0"="none"
(force12) DBG | "SATA-19-0"="none"
(force12) DBG | "SATA-20-0"="none"
(force12) DBG | "SATA-21-0"="none"
(force12) DBG | "SATA-22-0"="none"
(force12) DBG | "SATA-23-0"="none"
(force12) DBG | "SATA-24-0"="none"
(force12) DBG | "SATA-25-0"="none"
(force12) DBG | "SATA-26-0"="none"
(force12) DBG | "SATA-27-0"="none"
(force12) DBG | "SATA-28-0"="none"
(force12) DBG | "SATA-29-0"="none"
(force12) DBG | natnet1="nat"
(force12) DBG | macaddress1="0800275B3EAE"
(force12) DBG | cableconnected1="on"
(force12) DBG | nic1="nat"
(force12) DBG | nictype1="82540EM"
(force12) DBG | nicspeed1="0"
(force12) DBG | mtu="0"
(force12) DBG | sockSnd="64"
(force12) DBG | sockRcv="64"
(force12) DBG | tcpWndSnd="64"
(force12) DBG | tcpWndRcv="64"
(force12) DBG | Forwarding(0)="ssh,tcp,127.0.0.1,55846,,22"
(force12) DBG | hostonlyadapter2="vboxnet0"
(force12) DBG | macaddress2="080027C094E9"
(force12) DBG | cableconnected2="on"
(force12) DBG | nic2="hostonly"
(force12) DBG | nictype2="82540EM"
(force12) DBG | nicspeed2="0"
(force12) DBG | nic3="none"
(force12) DBG | nic4="none"
(force12) DBG | nic5="none"
(force12) DBG | nic6="none"
(force12) DBG | nic7="none"
(force12) DBG | nic8="none"
(force12) DBG | hidpointing="ps2mouse"
(force12) DBG | hidkeyboard="ps2kbd"
(force12) DBG | uart1="off"
(force12) DBG | uart2="off"
(force12) DBG | lpt1="off"
(force12) DBG | lpt2="off"
(force12) DBG | audio="none"
(force12) DBG | clipboard="disabled"
(force12) DBG | draganddrop="disabled"
(force12) DBG | SessionName="headless"
(force12) DBG | VideoMode="720,400,0"@0,0 1
(force12) DBG | vrde="off"
(force12) DBG | usb="off"
(force12) DBG | ehci="off"
(force12) DBG | xhci="off"
(force12) DBG | SharedFolderNameMachineMapping1="Users"
(force12) DBG | SharedFolderPathMachineMapping1="/Users"
(force12) DBG | VRDEActiveConnection="off"
(force12) DBG | VRDEClients=0
(force12) DBG | vcpenabled="off"
(force12) DBG | vcpscreens=0
(force12) DBG | vcpfile="/Users/liz/.docker/machine/machines/force12/force12/force12.webm"
(force12) DBG | vcpwidth=1024
(force12) DBG | vcpheight=768
(force12) DBG | vcprate=512
(force12) DBG | vcpfps=25
(force12) DBG | GuestMemoryBalloon=0
(force12) DBG | GuestOSType="Linux26_64"
(force12) DBG | GuestAdditionsRunLevel=2
(force12) DBG | GuestAdditionsVersion="5.0.8 r103449"
(force12) DBG | GuestAdditionsFacility_VirtualBox Base Driver=50,1449860848913
(force12) DBG | GuestAdditionsFacility_VirtualBox System Service=50,1449860856996
(force12) DBG | GuestAdditionsFacility_Seamless Mode=0,1449860848912
(force12) DBG | GuestAdditionsFacility_Graphics Mode=0,1449860848912
(force12) DBG | }
(force12) DBG | STDERR:
(force12) DBG | {
(force12) DBG | }
(force12) DBG | COMMAND: /usr/local/bin/VBoxManage showvminfo force12 --machinereadable
(force12) DBG | STDOUT:
(force12) DBG | {
(force12) DBG | name="force12"
(force12) DBG | groups="/"
(force12) DBG | ostype="Linux 2.6 / 3.x / 4.x (64-bit)"
(force12) DBG | UUID="350b1e64-2634-4dd6-91eb-90ba4f32bab1"
(force12) DBG | CfgFile="/Users/liz/.docker/machine/machines/force12/force12/force12.vbox"
(force12) DBG | SnapFldr="/Users/liz/.docker/machine/machines/force12/force12/Snapshots"
(force12) DBG | LogFldr="/Users/liz/.docker/machine/machines/force12/force12/Logs"
(force12) DBG | hardwareuuid="350b1e64-2634-4dd6-91eb-90ba4f32bab1"
(force12) DBG | memory=1024
(force12) DBG | pagefusion="off"
(force12) DBG | vram=8
(force12) DBG | cpuexecutioncap=100
(force12) DBG | hpet="on"
(force12) DBG | chipset="piix3"
(force12) DBG | firmware="BIOS"
(force12) DBG | cpus=1
(force12) DBG | pae="on"
(force12) DBG | longmode="on"
(force12) DBG | cpuid-portability-level=0
(force12) DBG | bootmenu="disabled"
(force12) DBG | boot1="dvd"
(force12) DBG | boot2="dvd"
(force12) DBG | boot3="disk"
(force12) DBG | boot4="none"
(force12) DBG | acpi="on"
(force12) DBG | ioapic="on"
(force12) DBG | biossystemtimeoffset=0
(force12) DBG | rtcuseutc="on"
(force12) DBG | hwvirtex="on"
(force12) DBG | nestedpaging="on"
(force12) DBG | largepages="on"
(force12) DBG | vtxvpid="on"
(force12) DBG | vtxux="on"
(force12) DBG | paravirtprovider="default"
(force12) DBG | VMState="running"
(force12) DBG | VMStateChangeTime="2015-12-11T19:07:09.590000000"
(force12) DBG | monitorcount=1
(force12) DBG | accelerate3d="off"
(force12) DBG | accelerate2dvideo="off"
(force12) DBG | teleporterenabled="off"
(force12) DBG | teleporterport=0
(force12) DBG | teleporteraddress=""
(force12) DBG | teleporterpassword=""
(force12) DBG | tracing-enabled="off"
(force12) DBG | tracing-allow-vm-access="off"
(force12) DBG | tracing-config=""
(force12) DBG | autostart-enabled="off"
(force12) DBG | autostart-delay=0
(force12) DBG | defaultfrontend=""
(force12) DBG | storagecontrollername0="SATA"
(force12) DBG | storagecontrollertype0="IntelAhci"
(force12) DBG | storagecontrollerinstance0="0"
(force12) DBG | storagecontrollermaxportcount0="30"
(force12) DBG | storagecontrollerportcount0="30"
(force12) DBG | storagecontrollerbootable0="on"
(force12) DBG | "SATA-0-0"="/Users/liz/.docker/machine/machines/force12/boot2docker.iso"
(force12) DBG | "SATA-ImageUUID-0-0"="6b4904ab-34d7-45a7-a75d-694e0f9d458a"
(force12) DBG | "SATA-tempeject"="off"
(force12) DBG | "SATA-IsEjected"="off"
(force12) DBG | "SATA-1-0"="/Users/liz/.docker/machine/machines/force12/disk.vmdk"
(force12) DBG | "SATA-ImageUUID-1-0"="4d4c2b54-9587-47b9-8174-f4c0db765711"
(force12) DBG | "SATA-2-0"="none"
(force12) DBG | "SATA-3-0"="none"
(force12) DBG | "SATA-4-0"="none"
(force12) DBG | "SATA-5-0"="none"
(force12) DBG | "SATA-6-0"="none"
(force12) DBG | "SATA-7-0"="none"
(force12) DBG | "SATA-8-0"="none"
(force12) DBG | "SATA-9-0"="none"
(force12) DBG | "SATA-10-0"="none"
(force12) DBG | "SATA-11-0"="none"
(force12) DBG | "SATA-12-0"="none"
(force12) DBG | "SATA-13-0"="none"
(force12) DBG | "SATA-14-0"="none"
(force12) DBG | "SATA-15-0"="none"
(force12) DBG | "SATA-16-0"="none"
(force12) DBG | "SATA-17-0"="none"
(force12) DBG | "SATA-18-0"="none"
(force12) DBG | "SATA-19-0"="none"
(force12) DBG | "SATA-20-0"="none"
(force12) DBG | "SATA-21-0"="none"
(force12) DBG | "SATA-22-0"="none"
(force12) DBG | "SATA-23-0"="none"
(force12) DBG | "SATA-24-0"="none"
(force12) DBG | "SATA-25-0"="none"
(force12) DBG | "SATA-26-0"="none"
(force12) DBG | "SATA-27-0"="none"
(force12) DBG | "SATA-28-0"="none"
(force12) DBG | "SATA-29-0"="none"
(force12) DBG | natnet1="nat"
(force12) DBG | macaddress1="0800275B3EAE"
(force12) DBG | cableconnected1="on"
(force12) DBG | nic1="nat"
(force12) DBG | nictype1="82540EM"
(force12) DBG | nicspeed1="0"
(force12) DBG | mtu="0"
(force12) DBG | sockSnd="64"
(force12) DBG | sockRcv="64"
(force12) DBG | tcpWndSnd="64"
(force12) DBG | tcpWndRcv="64"
(force12) DBG | Forwarding(0)="ssh,tcp,127.0.0.1,55846,,22"
(force12) DBG | hostonlyadapter2="vboxnet0"
(force12) DBG | macaddress2="080027C094E9"
(force12) DBG | cableconnected2="on"
(force12) DBG | nic2="hostonly"
(force12) DBG | nictype2="82540EM"
(force12) DBG | nicspeed2="0"
(force12) DBG | nic3="none"
(force12) DBG | nic4="none"
(force12) DBG | nic5="none"
(force12) DBG | nic6="none"
(force12) DBG | nic7="none"
(force12) DBG | nic8="none"
(force12) DBG | hidpointing="ps2mouse"
(force12) DBG | hidkeyboard="ps2kbd"
(force12) DBG | uart1="off"
(force12) DBG | uart2="off"
(force12) DBG | lpt1="off"
(force12) DBG | lpt2="off"
(force12) DBG | audio="none"
(force12) DBG | clipboard="disabled"
(force12) DBG | draganddrop="disabled"
(force12) DBG | SessionName="headless"
(force12) DBG | VideoMode="720,400,0"@0,0 1
(force12) DBG | vrde="off"
(force12) DBG | usb="off"
(force12) DBG | ehci="off"
(force12) DBG | xhci="off"
(force12) DBG | SharedFolderNameMachineMapping1="Users"
(force12) DBG | SharedFolderPathMachineMapping1="/Users"
(force12) DBG | VRDEActiveConnection="off"
(force12) DBG | VRDEClients=0
(force12) DBG | vcpenabled="off"
(force12) DBG | vcpscreens=0
(force12) DBG | vcpfile="/Users/liz/.docker/machine/machines/force12/force12/force12.webm"
(force12) DBG | vcpwidth=1024
(force12) DBG | vcpheight=768
(force12) DBG | vcprate=512
(force12) DBG | vcpfps=25
(force12) DBG | GuestMemoryBalloon=0
(force12) DBG | GuestOSType="Linux26_64"
(force12) DBG | GuestAdditionsRunLevel=2
(force12) DBG | GuestAdditionsVersion="5.0.8 r103449"
(force12) DBG | GuestAdditionsFacility_VirtualBox Base Driver=50,1449860848913
(force12) DBG | GuestAdditionsFacility_VirtualBox System Service=50,1449860856996
(force12) DBG | GuestAdditionsFacility_Seamless Mode=0,1449860848912
(force12) DBG | GuestAdditionsFacility_Graphics Mode=0,1449860848912
(force12) DBG | }
(force12) DBG | STDERR:
(force12) DBG | {
(force12) DBG | }
(force12) DBG | Using SSH client type: external
(force12) DBG | About to run SSH command:
(force12) DBG | ip addr show dev eth1
(force12) DBG | SSH cmd err, output: <nil>: 4: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
(force12) DBG | link/ether 08:00:27:c0:94:e9 brd ff:ff:ff:ff:ff:ff
(force12) DBG | inet 192.168.99.101/24 brd 192.168.99.255 scope global eth1
(force12) DBG | valid_lft forever preferred_lft forever
(force12) DBG | inet6 fe80::a00:27ff:fec0:94e9/64 scope link
(force12) DBG | valid_lft forever preferred_lft forever
(force12) DBG |
(force12) DBG | SSH returned: 4: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
(force12) DBG | link/ether 08:00:27:c0:94:e9 brd ff:ff:ff:ff:ff:ff
Reading CA certificate from /Users/liz/.docker/machine/certs/ca.pem
(force12) DBG | inet 192.168.99.101/24 brd 192.168.99.255 scope global eth1
(force12) DBG | valid_lft forever preferred_lft forever
(force12) DBG | inet6 fe80::a00:27ff:fec0:94e9/64 scope link
(force12) DBG | valid_lft forever preferred_lft forever
(force12) DBG |
(force12) DBG | END SSH
(force12) DBG |
Reading server certificate from /Users/liz/.docker/machine/machines/force12/server.pem
Reading server key from /Users/liz/.docker/machine/machines/force12/server-key.pem
Error running connection boilerplate: Error checking and/or regenerating the certs: There was an error validating certificates for host "192.168.99.101:2376": x509: certificate is valid for 192.168.99.100, not 192.168.99.101
You can attempt to regenerate them using 'docker-machine regenerate-certs name'.
Be advised that this will trigger a Docker daemon restart which will stop running containers.
$ docker-machine --debug regenerate-certs force12
Docker Machine Version: 0.5.0 (04cfa58)
Regenerate TLS machine certs? Warning: this is irreversible. (y/n): y
Regenerating TLS certificates
Found binary path at /usr/local/bin/docker-machine-driver-virtualbox
Launching plugin server for driver virtualbox
Plugin server listening at address 127.0.0.1:51158
() Calling RpcServerDriver.GetVersion
Using API Version 1
() Calling RpcServerDriver.SetConfigRaw
() Calling RpcServerDriver.GetMachineName
command=configureAuth machine=force12
(force12) Calling RpcServerDriver.GetSSHHostname
(force12) Calling RpcServerDriver.GetSSHPort
(force12) Calling RpcServerDriver.GetSSHKeyPath
(force12) Calling RpcServerDriver.GetSSHUsername
Using SSH client type: external
About to run SSH command:
cat /etc/os-release
SSH cmd err, output: <nil>: NAME=Boot2Docker
VERSION=1.9.0
ID=boot2docker
ID_LIKE=tcl
VERSION_ID=1.9.0
PRETTY_NAME="Boot2Docker 1.9.0 (TCL 6.4); master : 16e4a2a - Tue Nov 3 19:49:22 UTC 2015"
ANSI_COLOR="1;34"
HOME_URL="http://boot2docker.io"
SUPPORT_URL="https://github.com/boot2docker/boot2docker"
BUG_REPORT_URL="https://github.com/boot2docker/boot2docker/issues"
found compatible host: boot2docker
(force12) Calling RpcServerDriver.GetMachineName
(force12) Calling RpcServerDriver.GetSSHHostname
(force12) Calling RpcServerDriver.GetSSHPort
(force12) Calling RpcServerDriver.GetSSHKeyPath
(force12) Calling RpcServerDriver.GetSSHUsername
Using SSH client type: external
About to run SSH command:
sudo /usr/bin/sethostname force12 && echo "force12" | sudo tee /var/lib/boot2docker/etc/hostname
SSH cmd err, output: <nil>: Setting hostname to force12 Done.
force12
(force12) Calling RpcServerDriver.GetSSHHostname
(force12) Calling RpcServerDriver.GetSSHPort
(force12) Calling RpcServerDriver.GetSSHKeyPath
(force12) Calling RpcServerDriver.GetSSHUsername
Using SSH client type: external
About to run SSH command:
netstat -a
SSH cmd err, output: <nil>: Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 0.0.0.0:ssh 0.0.0.0:* LISTEN
tcp 0 0 10.0.2.15:ssh 10.0.2.2:51162 ESTABLISHED
tcp 0 0 :::ssh :::* LISTEN
tcp 0 0 :::2376 :::* LISTEN
Active UNIX domain sockets (servers and established)
Proto RefCnt Flags Type State I-Node Path
unix 2 [ ACC ] SEQPACKET LISTENING 14286 /run/udev/control
unix 2 [ ACC ] STREAM LISTENING 16868 /var/run/docker.sock
unix 2 [ ACC ] STREAM LISTENING 16626 /var/run/acpid.socket
unix 2 [ ACC ] STREAM LISTENING 17196 /var/lib/docker/network/files/05df9531506ff5bae20f65cc213e979e52c91a1f060e3919b6a4e1d03eafe060.sock
unix 3 [ ] DGRAM 14295
unix 3 [ ] STREAM CONNECTED 17998
unix 3 [ ] DGRAM 14296
unix 3 [ ] STREAM CONNECTED 17999
(force12) Calling RpcServerDriver.GetSSHHostname
(force12) Calling RpcServerDriver.GetSSHPort
(force12) Calling RpcServerDriver.GetSSHKeyPath
(force12) Calling RpcServerDriver.GetSSHUsername
Using SSH client type: external
About to run SSH command:
sudo mkdir -p /var/lib/boot2docker
SSH cmd err, output: <nil>:
(force12) Calling RpcServerDriver.GetMachineName
(force12) Calling RpcServerDriver.GetIP
(force12) DBG | COMMAND: /usr/local/bin/VBoxManage showvminfo force12 --machinereadable
(force12) DBG | STDOUT:
(force12) DBG | {
(force12) DBG | name="force12"
(force12) DBG | groups="/"
(force12) DBG | ostype="Linux 2.6 / 3.x / 4.x (64-bit)"
(force12) DBG | UUID="350b1e64-2634-4dd6-91eb-90ba4f32bab1"
(force12) DBG | CfgFile="/Users/liz/.docker/machine/machines/force12/force12/force12.vbox"
(force12) DBG | SnapFldr="/Users/liz/.docker/machine/machines/force12/force12/Snapshots"
(force12) DBG | LogFldr="/Users/liz/.docker/machine/machines/force12/force12/Logs"
(force12) DBG | hardwareuuid="350b1e64-2634-4dd6-91eb-90ba4f32bab1"
(force12) DBG | memory=1024
(force12) DBG | pagefusion="off"
(force12) DBG | vram=8
(force12) DBG | cpuexecutioncap=100
(force12) DBG | hpet="on"
(force12) DBG | chipset="piix3"
(force12) DBG | firmware="BIOS"
(force12) DBG | cpus=1
(force12) DBG | pae="on"
(force12) DBG | longmode="on"
(force12) DBG | cpuid-portability-level=0
(force12) DBG | bootmenu="disabled"
(force12) DBG | boot1="dvd"
(force12) DBG | boot2="dvd"
(force12) DBG | boot3="disk"
(force12) DBG | boot4="none"
(force12) DBG | acpi="on"
(force12) DBG | ioapic="on"
(force12) DBG | biossystemtimeoffset=0
(force12) DBG | rtcuseutc="on"
(force12) DBG | hwvirtex="on"
(force12) DBG | nestedpaging="on"
(force12) DBG | largepages="on"
(force12) DBG | vtxvpid="on"
(force12) DBG | vtxux="on"
(force12) DBG | paravirtprovider="default"
(force12) DBG | VMState="running"
(force12) DBG | VMStateChangeTime="2015-12-11T19:07:09.590000000"
(force12) DBG | monitorcount=1
(force12) DBG | accelerate3d="off"
(force12) DBG | accelerate2dvideo="off"
(force12) DBG | teleporterenabled="off"
(force12) DBG | teleporterport=0
(force12) DBG | teleporteraddress=""
(force12) DBG | teleporterpassword=""
(force12) DBG | tracing-enabled="off"
(force12) DBG | tracing-allow-vm-access="off"
(force12) DBG | tracing-config=""
(force12) DBG | autostart-enabled="off"
(force12) DBG | autostart-delay=0
(force12) DBG | defaultfrontend=""
(force12) DBG | storagecontrollername0="SATA"
(force12) DBG | storagecontrollertype0="IntelAhci"
(force12) DBG | storagecontrollerinstance0="0"
(force12) DBG | storagecontrollermaxportcount0="30"
(force12) DBG | storagecontrollerportcount0="30"
(force12) DBG | storagecontrollerbootable0="on"
(force12) DBG | "SATA-0-0"="/Users/liz/.docker/machine/machines/force12/boot2docker.iso"
(force12) DBG | "SATA-ImageUUID-0-0"="6b4904ab-34d7-45a7-a75d-694e0f9d458a"
(force12) DBG | "SATA-tempeject"="off"
(force12) DBG | "SATA-IsEjected"="off"
(force12) DBG | "SATA-1-0"="/Users/liz/.docker/machine/machines/force12/disk.vmdk"
(force12) DBG | "SATA-ImageUUID-1-0"="4d4c2b54-9587-47b9-8174-f4c0db765711"
(force12) DBG | "SATA-2-0"="none"
(force12) DBG | "SATA-3-0"="none"
(force12) DBG | "SATA-4-0"="none"
(force12) DBG | "SATA-5-0"="none"
(force12) DBG | "SATA-6-0"="none"
(force12) DBG | "SATA-7-0"="none"
(force12) DBG | "SATA-8-0"="none"
(force12) DBG | "SATA-9-0"="none"
(force12) DBG | "SATA-10-0"="none"
(force12) DBG | "SATA-11-0"="none"
(force12) DBG | "SATA-12-0"="none"
(force12) DBG | "SATA-13-0"="none"
(force12) DBG | "SATA-14-0"="none"
(force12) DBG | "SATA-15-0"="none"
(force12) DBG | "SATA-16-0"="none"
(force12) DBG | "SATA-17-0"="none"
(force12) DBG | "SATA-18-0"="none"
(force12) DBG | "SATA-19-0"="none"
(force12) DBG | "SATA-20-0"="none"
(force12) DBG | "SATA-21-0"="none"
(force12) DBG | "SATA-22-0"="none"
(force12) DBG | "SATA-23-0"="none"
(force12) DBG | "SATA-24-0"="none"
(force12) DBG | "SATA-25-0"="none"
(force12) DBG | "SATA-26-0"="none"
(force12) DBG | "SATA-27-0"="none"
(force12) DBG | "SATA-28-0"="none"
(force12) DBG | "SATA-29-0"="none"
(force12) DBG | natnet1="nat"
(force12) DBG | macaddress1="0800275B3EAE"
(force12) DBG | cableconnected1="on"
(force12) DBG | nic1="nat"
(force12) DBG | nictype1="82540EM"
(force12) DBG | nicspeed1="0"
(force12) DBG | mtu="0"
(force12) DBG | sockSnd="64"
(force12) DBG | sockRcv="64"
(force12) DBG | tcpWndSnd="64"
(force12) DBG | tcpWndRcv="64"
(force12) DBG | Forwarding(0)="ssh,tcp,127.0.0.1,55846,,22"
(force12) DBG | hostonlyadapter2="vboxnet0"
(force12) DBG | macaddress2="080027C094E9"
(force12) DBG | cableconnected2="on"
(force12) DBG | nic2="hostonly"
(force12) DBG | nictype2="82540EM"
(force12) DBG | nicspeed2="0"
(force12) DBG | nic3="none"
(force12) DBG | nic4="none"
(force12) DBG | nic5="none"
(force12) DBG | nic6="none"
(force12) DBG | nic7="none"
(force12) DBG | nic8="none"
(force12) DBG | hidpointing="ps2mouse"
(force12) DBG | hidkeyboard="ps2kbd"
(force12) DBG | uart1="off"
(force12) DBG | uart2="off"
(force12) DBG | lpt1="off"
(force12) DBG | lpt2="off"
(force12) DBG | audio="none"
(force12) DBG | clipboard="disabled"
(force12) DBG | draganddrop="disabled"
(force12) DBG | SessionName="headless"
(force12) DBG | VideoMode="720,400,0"@0,0 1
(force12) DBG | vrde="off"
(force12) DBG | usb="off"
(force12) DBG | ehci="off"
(force12) DBG | xhci="off"
(force12) DBG | SharedFolderNameMachineMapping1="Users"
(force12) DBG | SharedFolderPathMachineMapping1="/Users"
(force12) DBG | VRDEActiveConnection="off"
(force12) DBG | VRDEClients=0
(force12) DBG | vcpenabled="off"
(force12) DBG | vcpscreens=0
(force12) DBG | vcpfile="/Users/liz/.docker/machine/machines/force12/force12/force12.webm"
(force12) DBG | vcpwidth=1024
(force12) DBG | vcpheight=768
(force12) DBG | vcprate=512
(force12) DBG | vcpfps=25
(force12) DBG | GuestMemoryBalloon=0
(force12) DBG | GuestOSType="Linux26_64"
(force12) DBG | GuestAdditionsRunLevel=2
(force12) DBG | GuestAdditionsVersion="5.0.8 r103449"
(force12) DBG | GuestAdditionsFacility_VirtualBox Base Driver=50,1449860848913
(force12) DBG | GuestAdditionsFacility_VirtualBox System Service=50,1449860856996
(force12) DBG | GuestAdditionsFacility_Seamless Mode=0,1449860848912
(force12) DBG | GuestAdditionsFacility_Graphics Mode=0,1449860848912
(force12) DBG | }
(force12) DBG | STDERR:
(force12) DBG | {
(force12) DBG | }
(force12) DBG | Using SSH client type: external
(force12) DBG | About to run SSH command:
(force12) DBG | ip addr show dev eth1
(force12) DBG | SSH cmd err, output: <nil>: 4: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
(force12) DBG | link/ether 08:00:27:c0:94:e9 brd ff:ff:ff:ff:ff:ff
Copying certs to the local machine directory...
(force12) DBG | inet 192.168.99.101/24 brd 192.168.99.255 scope global eth1
(force12) DBG | valid_lft forever preferred_lft forever
(force12) DBG | inet6 fe80::a00:27ff:fec0:94e9/64 scope link
(force12) DBG | valid_lft forever preferred_lft forever
(force12) DBG |
(force12) DBG | SSH returned: 4: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
(force12) DBG | link/ether 08:00:27:c0:94:e9 brd ff:ff:ff:ff:ff:ff
(force12) DBG | inet 192.168.99.101/24 brd 192.168.99.255 scope global eth1
(force12) DBG | valid_lft forever preferred_lft forever
(force12) DBG | inet6 fe80::a00:27ff:fec0:94e9/64 scope link
(force12) DBG | valid_lft forever preferred_lft forever
(force12) DBG |
(force12) DBG | END SSH
(force12) DBG |
generating server cert: /Users/liz/.docker/machine/machines/force12/server.pem ca-key=/Users/liz/.docker/machine/certs/ca.pem private-key=/Users/liz/.docker/machine/certs/ca-key.pem org=liz.force12
(force12) Calling RpcServerDriver.GetSSHHostname
(force12) Calling RpcServerDriver.GetSSHPort
(force12) Calling RpcServerDriver.GetSSHKeyPath
(force12) Calling RpcServerDriver.GetSSHUsername
Using SSH client type: external
About to run SSH command:
sudo /etc/init.d/docker stop
SSH cmd err, output: <nil>:
Copying certs to the remote machine...
(force12) Calling RpcServerDriver.GetSSHHostname
(force12) Calling RpcServerDriver.GetSSHPort
(force12) Calling RpcServerDriver.GetSSHKeyPath
(force12) Calling RpcServerDriver.GetSSHUsername
Using SSH client type: external
About to run SSH command:
printf '%s' '-----BEGIN CERTIFICATE-----
MIICxTCCAa+gAwIBAgIQG+7IaWezmEtyKdTY0XwKTzALBgkqhkiG9w0BAQswDjEM
MAoGA1UEChMDbGl6MB4XDTE1MDkyNDE4MDIwMFoXDTE4MDkwODE4MDIwMFowDjEM
MAoGA1UEChMDbGl6MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAu3sM
lzFTb6qOsovgwFz/GEIN/lC1h8i9MIUt5LWF17MBp23aT15HTXy5GTuhfnXh3kPS
KKn5XzWvXQ9JILDIemIy8r/cO1ceGP1HYOtFtyuaJqle34UcFvIe9uH9KXB/Kh+a
fvQbXFuj67LODcUMD76pQd7YvB/D+G56gTFhrmOQQRCGHgj2ySgLcEr0TgtTbBiy
GyZl5N9uBPvwQNVXVKYQdK12VJSFIjY8zx/2Z7hmp6jCEcFcHtmHbw/hT/ReTTmR
ZQaXZrbAqWOdMbeNBbNIcnWNmdv/BED0l0K6d7x017f066BxrUA1HIq1rXClqeym
iKFg0gfQGyG3bYZb2QIDAQABoyMwITAOBgNVHQ8BAf8EBAMCAKwwDwYDVR0TAQH/
BAUwAwEB/zALBgkqhkiG9w0BAQsDggEBAF65b1uUdG4nj49N5rtVy+2me6fJos7N
VlhbfXBjO6lmsoaDDP7qndmUnYVWUCgdLaXZj+NlVxAT9n8LVVOBtik9lda0VGxU
R2iwZHCOWky+3BCs2zrTP2pJlO95jlQ31/wz6qbBNAIxHC8bCH15gWAEB202l+Hs
EDbvoGlGHiC3PY4q6EBJTuo/hT31P0WPz8+CPivkm184tYwG4zbPTh6auTZz5FAw
amfFvAvV+JZ+2V0ftJdjZbqCxOSccU/BSZOl34TKvjgtDgRZv7ZH7QoCMrK/INWH
tSC3vZZOW++swflG6ZNiRlOKAt0Mtqbfbqup2Fo4KnGi7byCcXm8c/M=
-----END CERTIFICATE-----
' | sudo tee /var/lib/boot2docker/ca.pem
SSH cmd err, output: <nil>: -----BEGIN CERTIFICATE-----
MIICxTCCAa+gAwIBAgIQG+7IaWezmEtyKdTY0XwKTzALBgkqhkiG9w0BAQswDjEM
MAoGA1UEChMDbGl6MB4XDTE1MDkyNDE4MDIwMFoXDTE4MDkwODE4MDIwMFowDjEM
MAoGA1UEChMDbGl6MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAu3sM
lzFTb6qOsovgwFz/GEIN/lC1h8i9MIUt5LWF17MBp23aT15HTXy5GTuhfnXh3kPS
KKn5XzWvXQ9JILDIemIy8r/cO1ceGP1HYOtFtyuaJqle34UcFvIe9uH9KXB/Kh+a
fvQbXFuj67LODcUMD76pQd7YvB/D+G56gTFhrmOQQRCGHgj2ySgLcEr0TgtTbBiy
GyZl5N9uBPvwQNVXVKYQdK12VJSFIjY8zx/2Z7hmp6jCEcFcHtmHbw/hT/ReTTmR
ZQaXZrbAqWOdMbeNBbNIcnWNmdv/BED0l0K6d7x017f066BxrUA1HIq1rXClqeym
iKFg0gfQGyG3bYZb2QIDAQABoyMwITAOBgNVHQ8BAf8EBAMCAKwwDwYDVR0TAQH/
BAUwAwEB/zALBgkqhkiG9w0BAQsDggEBAF65b1uUdG4nj49N5rtVy+2me6fJos7N
VlhbfXBjO6lmsoaDDP7qndmUnYVWUCgdLaXZj+NlVxAT9n8LVVOBtik9lda0VGxU
R2iwZHCOWky+3BCs2zrTP2pJlO95jlQ31/wz6qbBNAIxHC8bCH15gWAEB202l+Hs
EDbvoGlGHiC3PY4q6EBJTuo/hT31P0WPz8+CPivkm184tYwG4zbPTh6auTZz5FAw
amfFvAvV+JZ+2V0ftJdjZbqCxOSccU/BSZOl34TKvjgtDgRZv7ZH7QoCMrK/INWH
tSC3vZZOW++swflG6ZNiRlOKAt0Mtqbfbqup2Fo4KnGi7byCcXm8c/M=
-----END CERTIFICATE-----
(force12) Calling RpcServerDriver.GetSSHHostname
(force12) Calling RpcServerDriver.GetSSHPort
(force12) Calling RpcServerDriver.GetSSHKeyPath
(force12) Calling RpcServerDriver.GetSSHUsername
Using SSH client type: external
About to run SSH command:
printf '%s' '-----BEGIN CERTIFICATE-----
MIIDCjCCAfKgAwIBAgIRAMoBcnNX2W2tW4dJJ43kVz0wDQYJKoZIhvcNAQELBQAw
DjEMMAoGA1UEChMDbGl6MB4XDTE1MTIxMTE5MTEwMFoXDTE4MTEyNTE5MTEwMFow
FjEUMBIGA1UEChMLbGl6LmZvcmNlMTIwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAw
ggEKAoIBAQC8ECbb0P4PnsbNrbCpXoUQ9Izwhm3IkS69GeROjKDpYLhxmKHQIIYw
V/j/IazpJ7uW3YL5OtW+6jxmw1ktYCmE6i+O/fOTBUwXVDdFns/7uP9JRExkyTx2
Nu+esyxMOz2bce6y3K7DbqfnajKdnPHwssZypQKDQwmGwMTWEQikGrknxd69bZB+
brz84LAfbD2V1qRyQorkQq3kSqNO39YX7Gyv9BB94zNq2q3ERl8C/KlLfQrP0PJX
6U9ba3PsQFV66Mpz0w7dijLlOwIJxjoS1dwJpV8SbrREu76zOTMVvhfpwqH4pqsD
DzLt12mrw2SqTmyX+TKueesPw67Q19g9AgMBAAGjWzBZMA4GA1UdDwEB/wQEAwID
qDAdBgNVHSUEFjAUBggrBgEFBQcDAgYIKwYBBQUHAwEwDAYDVR0TAQH/BAIwADAa
BgNVHREEEzARgglsb2NhbGhvc3SHBMCoY2UwDQYJKoZIhvcNAQELBQADggEBAH/B
eeyF7Ka0YqwjEgvFZOkf75QHktsMcPA/4lIpDjHNRvHELfIXWA7JVgk8VvVAJn7o
QTF+uUCbvOWy/CsKPX0sPqqtH+UBzXXOsw1RtWdSUUZSRsS0uLnBErxTqF3v03XN
HHGlSo03uNPFujFLeVQhTomX3+ZBtohtSztCopScBCbCDMt6eZrQZh/wyCYCRaRm
zdPp88NzTgf6vLs5I5Bp2te0JMQ7Qambzw+EJhCMFnMyQFDC7BooVnEJI14rPQHs
WYUiny/5KAEincfntiZ8bVD5Qz9UtAYamMqDwj2dQjZwW0cxBDywt8Urr82ccJ7+
NCKdcukBMak075LMh8Y=
-----END CERTIFICATE-----
' | sudo tee /var/lib/boot2docker/server.pem
SSH cmd err, output: <nil>: -----BEGIN CERTIFICATE-----
MIIDCjCCAfKgAwIBAgIRAMoBcnNX2W2tW4dJJ43kVz0wDQYJKoZIhvcNAQELBQAw
DjEMMAoGA1UEChMDbGl6MB4XDTE1MTIxMTE5MTEwMFoXDTE4MTEyNTE5MTEwMFow
FjEUMBIGA1UEChMLbGl6LmZvcmNlMTIwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAw
ggEKAoIBAQC8ECbb0P4PnsbNrbCpXoUQ9Izwhm3IkS69GeROjKDpYLhxmKHQIIYw
V/j/IazpJ7uW3YL5OtW+6jxmw1ktYCmE6i+O/fOTBUwXVDdFns/7uP9JRExkyTx2
Nu+esyxMOz2bce6y3K7DbqfnajKdnPHwssZypQKDQwmGwMTWEQikGrknxd69bZB+
brz84LAfbD2V1qRyQorkQq3kSqNO39YX7Gyv9BB94zNq2q3ERl8C/KlLfQrP0PJX
6U9ba3PsQFV66Mpz0w7dijLlOwIJxjoS1dwJpV8SbrREu76zOTMVvhfpwqH4pqsD
DzLt12mrw2SqTmyX+TKueesPw67Q19g9AgMBAAGjWzBZMA4GA1UdDwEB/wQEAwID
qDAdBgNVHSUEFjAUBggrBgEFBQcDAgYIKwYBBQUHAwEwDAYDVR0TAQH/BAIwADAa
BgNVHREEEzARgglsb2NhbGhvc3SHBMCoY2UwDQYJKoZIhvcNAQELBQADggEBAH/B
eeyF7Ka0YqwjEgvFZOkf75QHktsMcPA/4lIpDjHNRvHELfIXWA7JVgk8VvVAJn7o
QTF+uUCbvOWy/CsKPX0sPqqtH+UBzXXOsw1RtWdSUUZSRsS0uLnBErxTqF3v03XN
HHGlSo03uNPFujFLeVQhTomX3+ZBtohtSztCopScBCbCDMt6eZrQZh/wyCYCRaRm
zdPp88NzTgf6vLs5I5Bp2te0JMQ7Qambzw+EJhCMFnMyQFDC7BooVnEJI14rPQHs
WYUiny/5KAEincfntiZ8bVD5Qz9UtAYamMqDwj2dQjZwW0cxBDywt8Urr82ccJ7+
NCKdcukBMak075LMh8Y=
-----END CERTIFICATE-----
(force12) Calling RpcServerDriver.GetSSHHostname
(force12) Calling RpcServerDriver.GetSSHPort
(force12) Calling RpcServerDriver.GetSSHKeyPath
(force12) Calling RpcServerDriver.GetSSHUsername
Using SSH client type: external
About to run SSH command:
printf '%s' '-----BEGIN RSA PRIVATE KEY-----
MIIEowIBAAKCAQEAvBAm29D+D57Gza2wqV6FEPSM8IZtyJEuvRnkToyg6WC4cZih
0CCGMFf4/yGs6Se7lt2C+TrVvuo8ZsNZLWAphOovjv3zkwVMF1Q3RZ7P+7j/SURM
ZMk8djbvnrMsTDs9m3Hustyuw26n52oynZzx8LLGcqUCg0MJhsDE1hEIpBq5J8Xe
vW2Qfm68/OCwH2w9ldakckKK5EKt5EqjTt/WF+xsr/QQfeMzatqtxEZfAvypS30K
z9DyV+lPW2tz7EBVeujKc9MO3Yoy5TsCCcY6EtXcCaVfEm60RLu+szkzFb4X6cKh
+KarAw8y7ddpq8Nkqk5sl/kyrnnrD8Ou0NfYPQIDAQABAoIBAFRges7NKfAgMNo/
P6/99H3y+vk/lyoR2YKGh2Smu9t5xcdRz+ftb8do8RKnLUk+xm+d2xGvUA9kUM1a
gDxXlMlJuSTS0+H20nj1FAdshaxPCFr7BbuCflobs87kXM+nFLEVoR8m3FJa54Jw
p10H+ZUg4OC3IDV8cl2/R5Ez+0iE3//XlyQO/uls3MCFkB5C2cqQQA2Dq7xLQhfW
m/5Acm2wuH7HrOZ6VlC9vqr/lNJNsodLcLTgRruYqU3FkILqbrwRPAn2ykuRyhpD
AXyLW+GHG2pCeOH/KlClQDJO9cLOpql9azsCvpHjVfYAK/BzBteyuJ4GjaHziIw1
SaUPI5ECgYEA2Zo6GOcDvAbWx1YZt7r5vMJHaBNfDUBzSpVa6PuIGDxoOjLcIfLQ
SQoK2FSj3tZYSbZ/L44p1Etz/sYj6D5DHgcv9N+xBdAfL452JhH0yNweT40SI+rF
mYM3uuVO0YHLZrZXN2Nezfqejj+nr5SWwPnoCkd36Jn3JWMzP1Na2DMCgYEA3T+K
hye/F0sE8YexaG0yh2VjwE7WLTqTvxSiCMd7Hjwp6UpaCGZOHIjTUkcl96Spn+4p
bDshxm35XTQXmzUevSi1dJAIpUH376CfoiCXULbQF6LdzJ2c8qOR3jJtq+oRL69K
x2N2p5sJmMsbi9ZWv83ZMzCCBg/nXEKt/GhF3c8CgYAOPaKpuIytBIGP4BmkxY7M
hKZpsELbOimRav7dGoEInQNxM5zmd96buRWGnNtwnPSANnpSYWppY1q/BLaa32BD
GdNQokcSi1FPKnKfATPU5Vryd9gFE7tE1aqTB6jF20m1eh9xF4a/0jQIOTA/NGk9
Td2atpypU1IyVzCmZ00dswKBgQC3dv5fbxUlsp7JznTNnGdfITNjf7xYyw9DT0/C
KfCtNMSoYHBiMLurK8bYnokcXt4N8cdFqY8rZXx3zj+ZA6aWwxAdNWcF6rs3aSGW
pqHzW3UZdIOqLjS8e+j0sSqCeVmBCkHfL1pwR77gheQ0xCsxZ/gpW5smfb+joON3
v9vXvwKBgADHLO5qcxaT7rRKm26UakQkfWW30weCtfK/38omLx6ftglmOR2oaZQ4
bnrITpCSpjR2OaZGquvZ00TbZRxvDv2c/3Kmiv/N611Sx4nufPt3KQcSNNoszHgo
ohWOKsCwyGyjqilTkg4T9zVZ1axyTJbN4YAOirSmyP1tUpZebtaI
-----END RSA PRIVATE KEY-----
' | sudo tee /var/lib/boot2docker/server-key.pem
SSH cmd err, output: <nil>: -----BEGIN RSA PRIVATE KEY-----
MIIEowIBAAKCAQEAvBAm29D+D57Gza2wqV6FEPSM8IZtyJEuvRnkToyg6WC4cZih
0CCGMFf4/yGs6Se7lt2C+TrVvuo8ZsNZLWAphOovjv3zkwVMF1Q3RZ7P+7j/SURM
ZMk8djbvnrMsTDs9m3Hustyuw26n52oynZzx8LLGcqUCg0MJhsDE1hEIpBq5J8Xe
vW2Qfm68/OCwH2w9ldakckKK5EKt5EqjTt/WF+xsr/QQfeMzatqtxEZfAvypS30K
z9DyV+lPW2tz7EBVeujKc9MO3Yoy5TsCCcY6EtXcCaVfEm60RLu+szkzFb4X6cKh
+KarAw8y7ddpq8Nkqk5sl/kyrnnrD8Ou0NfYPQIDAQABAoIBAFRges7NKfAgMNo/
P6/99H3y+vk/lyoR2YKGh2Smu9t5xcdRz+ftb8do8RKnLUk+xm+d2xGvUA9kUM1a
gDxXlMlJuSTS0+H20nj1FAdshaxPCFr7BbuCflobs87kXM+nFLEVoR8m3FJa54Jw
p10H+ZUg4OC3IDV8cl2/R5Ez+0iE3//XlyQO/uls3MCFkB5C2cqQQA2Dq7xLQhfW
m/5Acm2wuH7HrOZ6VlC9vqr/lNJNsodLcLTgRruYqU3FkILqbrwRPAn2ykuRyhpD
AXyLW+GHG2pCeOH/KlClQDJO9cLOpql9azsCvpHjVfYAK/BzBteyuJ4GjaHziIw1
SaUPI5ECgYEA2Zo6GOcDvAbWx1YZt7r5vMJHaBNfDUBzSpVa6PuIGDxoOjLcIfLQ
SQoK2FSj3tZYSbZ/L44p1Etz/sYj6D5DHgcv9N+xBdAfL452JhH0yNweT40SI+rF
mYM3uuVO0YHLZrZXN2Nezfqejj+nr5SWwPnoCkd36Jn3JWMzP1Na2DMCgYEA3T+K
hye/F0sE8YexaG0yh2VjwE7WLTqTvxSiCMd7Hjwp6UpaCGZOHIjTUkcl96Spn+4p
bDshxm35XTQXmzUevSi1dJAIpUH376CfoiCXULbQF6LdzJ2c8qOR3jJtq+oRL69K
x2N2p5sJmMsbi9ZWv83ZMzCCBg/nXEKt/GhF3c8CgYAOPaKpuIytBIGP4BmkxY7M
hKZpsELbOimRav7dGoEInQNxM5zmd96buRWGnNtwnPSANnpSYWppY1q/BLaa32BD
GdNQokcSi1FPKnKfATPU5Vryd9gFE7tE1aqTB6jF20m1eh9xF4a/0jQIOTA/NGk9
Td2atpypU1IyVzCmZ00dswKBgQC3dv5fbxUlsp7JznTNnGdfITNjf7xYyw9DT0/C
KfCtNMSoYHBiMLurK8bYnokcXt4N8cdFqY8rZXx3zj+ZA6aWwxAdNWcF6rs3aSGW
pqHzW3UZdIOqLjS8e+j0sSqCeVmBCkHfL1pwR77gheQ0xCsxZ/gpW5smfb+joON3
v9vXvwKBgADHLO5qcxaT7rRKm26UakQkfWW30weCtfK/38omLx6ftglmOR2oaZQ4
bnrITpCSpjR2OaZGquvZ00TbZRxvDv2c/3Kmiv/N611Sx4nufPt3KQcSNNoszHgo
ohWOKsCwyGyjqilTkg4T9zVZ1axyTJbN4YAOirSmyP1tUpZebtaI
-----END RSA PRIVATE KEY-----
(force12) Calling RpcServerDriver.GetURL
(force12) DBG | COMMAND: /usr/local/bin/VBoxManage showvminfo force12 --machinereadable
(force12) DBG | STDOUT:
(force12) DBG | {
(force12) DBG | name="force12"
(force12) DBG | groups="/"
(force12) DBG | ostype="Linux 2.6 / 3.x / 4.x (64-bit)"
(force12) DBG | UUID="350b1e64-2634-4dd6-91eb-90ba4f32bab1"
(force12) DBG | CfgFile="/Users/liz/.docker/machine/machines/force12/force12/force12.vbox"
(force12) DBG | SnapFldr="/Users/liz/.docker/machine/machines/force12/force12/Snapshots"
(force12) DBG | LogFldr="/Users/liz/.docker/machine/machines/force12/force12/Logs"
(force12) DBG | hardwareuuid="350b1e64-2634-4dd6-91eb-90ba4f32bab1"
(force12) DBG | memory=1024
(force12) DBG | pagefusion="off"
(force12) DBG | vram=8
(force12) DBG | cpuexecutioncap=100
(force12) DBG | hpet="on"
(force12) DBG | chipset="piix3"
(force12) DBG | firmware="BIOS"
(force12) DBG | cpus=1
(force12) DBG | pae="on"
(force12) DBG | longmode="on"
(force12) DBG | cpuid-portability-level=0
(force12) DBG | bootmenu="disabled"
(force12) DBG | boot1="dvd"
(force12) DBG | boot2="dvd"
(force12) DBG | boot3="disk"
(force12) DBG | boot4="none"
(force12) DBG | acpi="on"
(force12) DBG | ioapic="on"
(force12) DBG | biossystemtimeoffset=0
(force12) DBG | rtcuseutc="on"
(force12) DBG | hwvirtex="on"
(force12) DBG | nestedpaging="on"
(force12) DBG | largepages="on"
(force12) DBG | vtxvpid="on"
(force12) DBG | vtxux="on"
(force12) DBG | paravirtprovider="default"
(force12) DBG | VMState="running"
(force12) DBG | VMStateChangeTime="2015-12-11T19:07:09.590000000"
(force12) DBG | monitorcount=1
(force12) DBG | accelerate3d="off"
(force12) DBG | accelerate2dvideo="off"
(force12) DBG | teleporterenabled="off"
(force12) DBG | teleporterport=0
(force12) DBG | teleporteraddress=""
(force12) DBG | teleporterpassword=""
(force12) DBG | tracing-enabled="off"
(force12) DBG | tracing-allow-vm-access="off"
(force12) DBG | tracing-config=""
(force12) DBG | autostart-enabled="off"
(force12) DBG | autostart-delay=0
(force12) DBG | defaultfrontend=""
(force12) DBG | storagecontrollername0="SATA"
(force12) DBG | storagecontrollertype0="IntelAhci"
(force12) DBG | storagecontrollerinstance0="0"
(force12) DBG | storagecontrollermaxportcount0="30"
(force12) DBG | storagecontrollerportcount0="30"
(force12) DBG | storagecontrollerbootable0="on"
(force12) DBG | "SATA-0-0"="/Users/liz/.docker/machine/machines/force12/boot2docker.iso"
(force12) DBG | "SATA-ImageUUID-0-0"="6b4904ab-34d7-45a7-a75d-694e0f9d458a"
(force12) DBG | "SATA-tempeject"="off"
(force12) DBG | "SATA-IsEjected"="off"
(force12) DBG | "SATA-1-0"="/Users/liz/.docker/machine/machines/force12/disk.vmdk"
(force12) DBG | "SATA-ImageUUID-1-0"="4d4c2b54-9587-47b9-8174-f4c0db765711"
(force12) DBG | "SATA-2-0"="none"
(force12) DBG | "SATA-3-0"="none"
(force12) DBG | "SATA-4-0"="none"
(force12) DBG | "SATA-5-0"="none"
(force12) DBG | "SATA-6-0"="none"
(force12) DBG | "SATA-7-0"="none"
(force12) DBG | "SATA-8-0"="none"
(force12) DBG | "SATA-9-0"="none"
(force12) DBG | "SATA-10-0"="none"
(force12) DBG | "SATA-11-0"="none"
(force12) DBG | "SATA-12-0"="none"
(force12) DBG | "SATA-13-0"="none"
(force12) DBG | "SATA-14-0"="none"
(force12) DBG | "SATA-15-0"="none"
(force12) DBG | "SATA-16-0"="none"
(force12) DBG | "SATA-17-0"="none"
(force12) DBG | "SATA-18-0"="none"
(force12) DBG | "SATA-19-0"="none"
(force12) DBG | "SATA-20-0"="none"
(force12) DBG | "SATA-21-0"="none"
(force12) DBG | "SATA-22-0"="none"
(force12) DBG | "SATA-23-0"="none"
(force12) DBG | "SATA-24-0"="none"
(force12) DBG | "SATA-25-0"="none"
(force12) DBG | "SATA-26-0"="none"
(force12) DBG | "SATA-27-0"="none"
(force12) DBG | "SATA-28-0"="none"
(force12) DBG | "SATA-29-0"="none"
(force12) DBG | natnet1="nat"
(force12) DBG | macaddress1="0800275B3EAE"
(force12) DBG | cableconnected1="on"
(force12) DBG | nic1="nat"
(force12) DBG | nictype1="82540EM"
(force12) DBG | nicspeed1="0"
(force12) DBG | mtu="0"
(force12) DBG | sockSnd="64"
(force12) DBG | sockRcv="64"
(force12) DBG | tcpWndSnd="64"
(force12) DBG | tcpWndRcv="64"
(force12) DBG | Forwarding(0)="ssh,tcp,127.0.0.1,55846,,22"
(force12) DBG | hostonlyadapter2="vboxnet0"
(force12) DBG | macaddress2="080027C094E9"
(force12) DBG | cableconnected2="on"
(force12) DBG | nic2="hostonly"
(force12) DBG | nictype2="82540EM"
(force12) DBG | nicspeed2="0"
(force12) DBG | nic3="none"
(force12) DBG | nic4="none"
(force12) DBG | nic5="none"
(force12) DBG | nic6="none"
(force12) DBG | nic7="none"
(force12) DBG | nic8="none"
(force12) DBG | hidpointing="ps2mouse"
(force12) DBG | hidkeyboard="ps2kbd"
(force12) DBG | uart1="off"
(force12) DBG | uart2="off"
(force12) DBG | lpt1="off"
(force12) DBG | lpt2="off"
(force12) DBG | audio="none"
(force12) DBG | clipboard="disabled"
(force12) DBG | draganddrop="disabled"
(force12) DBG | SessionName="headless"
(force12) DBG | VideoMode="720,400,0"@0,0 1
(force12) DBG | vrde="off"
(force12) DBG | usb="off"
(force12) DBG | ehci="off"
(force12) DBG | xhci="off"
(force12) DBG | SharedFolderNameMachineMapping1="Users"
(force12) DBG | SharedFolderPathMachineMapping1="/Users"
(force12) DBG | VRDEActiveConnection="off"
(force12) DBG | VRDEClients=0
(force12) DBG | vcpenabled="off"
(force12) DBG | vcpscreens=0
(force12) DBG | vcpfile="/Users/liz/.docker/machine/machines/force12/force12/force12.webm"
(force12) DBG | vcpwidth=1024
(force12) DBG | vcpheight=768
(force12) DBG | vcprate=512
(force12) DBG | vcpfps=25
(force12) DBG | GuestMemoryBalloon=0
(force12) DBG | GuestOSType="Linux26_64"
(force12) DBG | GuestAdditionsRunLevel=2
(force12) DBG | GuestAdditionsVersion="5.0.8 r103449"
(force12) DBG | GuestAdditionsFacility_VirtualBox Base Driver=50,1449860848913
(force12) DBG | GuestAdditionsFacility_VirtualBox System Service=50,1449860856996
(force12) DBG | GuestAdditionsFacility_Seamless Mode=0,1449860848912
(force12) DBG | GuestAdditionsFacility_Graphics Mode=0,1449860848912
(force12) DBG | }
(force12) DBG | STDERR:
(force12) DBG | {
(force12) DBG | }
(force12) DBG | Using SSH client type: external
(force12) DBG | About to run SSH command:
(force12) DBG | ip addr show dev eth1
(force12) DBG | SSH cmd err, output: <nil>: 4: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
(force12) DBG | link/ether 08:00:27:c0:94:e9 brd ff:ff:ff:ff:ff:ff
(force12) DBG | inet 192.168.99.101/24 brd 192.168.99.255 scope global eth1
(force12) DBG | valid_lft forever preferred_lft forever
(force12) DBG | inet6 fe80::a00:27ff:fec0:94e9/64 scope link
(force12) DBG | valid_lft forever preferred_lft forever
(force12) DBG |
(force12) DBG | SSH returned: 4: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
(force12) DBG | link/ether 08:00:27:c0:94:e9 brd ff:ff:ff:ff:ff:ff
(force12) DBG | inet 192.168.99.101/24 brd 192.168.99.255 scope global eth1
(force12) DBG | valid_lft forever preferred_lft forever
(force12) DBG | inet6 fe80::a00:27ff:fec0:94e9/64 scope link
(force12) DBG | valid_lft forever preferred_lft forever
(force12) DBG |
(force12) DBG | END SSH
(force12) DBG |
(force12) Calling RpcServerDriver.DriverName
Setting Docker configuration on the remote daemon...
(force12) Calling RpcServerDriver.GetSSHHostname
(force12) Calling RpcServerDriver.GetSSHPort
(force12) Calling RpcServerDriver.GetSSHKeyPath
(force12) Calling RpcServerDriver.GetSSHUsername
Using SSH client type: external
About to run SSH command:
printf %s "
EXTRA_ARGS='
--label provider=virtualbox
'
CACERT=/var/lib/boot2docker/ca.pem
DOCKER_HOST='-H tcp://0.0.0.0:2376'
DOCKER_STORAGE=aufs
DOCKER_TLS=auto
SERVERKEY=/var/lib/boot2docker/server-key.pem
SERVERCERT=/var/lib/boot2docker/server.pem
" | sudo tee /var/lib/boot2docker/profile
SSH cmd err, output: <nil>:
EXTRA_ARGS='
--label provider=virtualbox
'
CACERT=/var/lib/boot2docker/ca.pem
DOCKER_HOST='-H tcp://0.0.0.0:2376'
DOCKER_STORAGE=aufs
DOCKER_TLS=auto
SERVERKEY=/var/lib/boot2docker/server-key.pem
SERVERCERT=/var/lib/boot2docker/server.pem
(force12) Calling RpcServerDriver.GetSSHHostname
(force12) Calling RpcServerDriver.GetSSHPort
(force12) Calling RpcServerDriver.GetSSHKeyPath
(force12) Calling RpcServerDriver.GetSSHUsername
Using SSH client type: external
About to run SSH command:
sudo /etc/init.d/docker start
SSH cmd err, output: <nil>: Need TLS certs for force12,127.0.0.1,10.0.2.15,192.168.99.101
-------------------
(force12) Calling RpcServerDriver.GetSSHHostname
(force12) Calling RpcServerDriver.GetSSHPort
(force12) Calling RpcServerDriver.GetSSHKeyPath
(force12) Calling RpcServerDriver.GetSSHUsername
Using SSH client type: external
About to run SSH command:
netstat -a
SSH cmd err, output: <nil>: Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 0.0.0.0:ssh 0.0.0.0:* LISTEN
tcp 0 0 10.0.2.15:ssh 10.0.2.2:51173 ESTABLISHED
tcp 0 0 :::ssh :::* LISTEN
Active UNIX domain sockets (servers and established)
Proto RefCnt Flags Type State I-Node Path
unix 2 [ ACC ] SEQPACKET LISTENING 14286 /run/udev/control
unix 2 [ ACC ] STREAM LISTENING 16626 /var/run/acpid.socket
unix 3 [ ] STREAM CONNECTED 18575
unix 3 [ ] DGRAM 14295
unix 3 [ ] STREAM CONNECTED 18576
unix 3 [ ] DGRAM 14296
(force12) Calling RpcServerDriver.GetSSHHostname
(force12) Calling RpcServerDriver.GetSSHPort
(force12) Calling RpcServerDriver.GetSSHKeyPath
(force12) Calling RpcServerDriver.GetSSHUsername
Using SSH client type: external
About to run SSH command:
netstat -a
SSH cmd err, output: <nil>: Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 0.0.0.0:ssh 0.0.0.0:* LISTEN
tcp 36 0 10.0.2.15:ssh 10.0.2.2:51175 ESTABLISHED
tcp 0 0 :::ssh :::* LISTEN
tcp 0 0 :::2376 :::* LISTEN
Active UNIX domain sockets (servers and established)
Proto RefCnt Flags Type State I-Node Path
unix 2 [ ACC ] STREAM LISTENING 18602 /var/run/docker.sock
unix 2 [ ACC ] SEQPACKET LISTENING 14286 /run/udev/control
unix 2 [ ACC ] STREAM LISTENING 16626 /var/run/acpid.socket
unix 2 [ ACC ] STREAM LISTENING 18669 /var/lib/docker/network/files/ce0ed0d3d061d44db990ff28d601c4adf759830a98e014c54a4d7d2cb17ace20.sock
unix 3 [ ] STREAM CONNECTED 18784
unix 3 [ ] DGRAM 14295
unix 3 [ ] STREAM CONNECTED 18785
unix 3 [ ] DGRAM 14296
(force12) Calling RpcServerDriver.GetIP
(force12) DBG | COMMAND: /usr/local/bin/VBoxManage showvminfo force12 --machinereadable
(force12) DBG | STDOUT:
(force12) DBG | {
(force12) DBG | name="force12"
(force12) DBG | groups="/"
(force12) DBG | ostype="Linux 2.6 / 3.x / 4.x (64-bit)"
(force12) DBG | UUID="350b1e64-2634-4dd6-91eb-90ba4f32bab1"
(force12) DBG | CfgFile="/Users/liz/.docker/machine/machines/force12/force12/force12.vbox"
(force12) DBG | SnapFldr="/Users/liz/.docker/machine/machines/force12/force12/Snapshots"
(force12) DBG | LogFldr="/Users/liz/.docker/machine/machines/force12/force12/Logs"
(force12) DBG | hardwareuuid="350b1e64-2634-4dd6-91eb-90ba4f32bab1"
(force12) DBG | memory=1024
(force12) DBG | pagefusion="off"
(force12) DBG | vram=8
(force12) DBG | cpuexecutioncap=100
(force12) DBG | hpet="on"
(force12) DBG | chipset="piix3"
(force12) DBG | firmware="BIOS"
(force12) DBG | cpus=1
(force12) DBG | pae="on"
(force12) DBG | longmode="on"
(force12) DBG | cpuid-portability-level=0
(force12) DBG | bootmenu="disabled"
(force12) DBG | boot1="dvd"
(force12) DBG | boot2="dvd"
(force12) DBG | boot3="disk"
(force12) DBG | boot4="none"
(force12) DBG | acpi="on"
(force12) DBG | ioapic="on"
(force12) DBG | biossystemtimeoffset=0
(force12) DBG | rtcuseutc="on"
(force12) DBG | hwvirtex="on"
(force12) DBG | nestedpaging="on"
(force12) DBG | largepages="on"
(force12) DBG | vtxvpid="on"
(force12) DBG | vtxux="on"
(force12) DBG | paravirtprovider="default"
(force12) DBG | VMState="running"
(force12) DBG | VMStateChangeTime="2015-12-11T19:07:09.590000000"
(force12) DBG | monitorcount=1
(force12) DBG | accelerate3d="off"
(force12) DBG | accelerate2dvideo="off"
(force12) DBG | teleporterenabled="off"
(force12) DBG | teleporterport=0
(force12) DBG | teleporteraddress=""
(force12) DBG | teleporterpassword=""
(force12) DBG | tracing-enabled="off"
(force12) DBG | tracing-allow-vm-access="off"
(force12) DBG | tracing-config=""
(force12) DBG | autostart-enabled="off"
(force12) DBG | autostart-delay=0
(force12) DBG | defaultfrontend=""
(force12) DBG | storagecontrollername0="SATA"
(force12) DBG | storagecontrollertype0="IntelAhci"
(force12) DBG | storagecontrollerinstance0="0"
(force12) DBG | storagecontrollermaxportcount0="30"
(force12) DBG | storagecontrollerportcount0="30"
(force12) DBG | storagecontrollerbootable0="on"
(force12) DBG | "SATA-0-0"="/Users/liz/.docker/machine/machines/force12/boot2docker.iso"
(force12) DBG | "SATA-ImageUUID-0-0"="6b4904ab-34d7-45a7-a75d-694e0f9d458a"
(force12) DBG | "SATA-tempeject"="off"
(force12) DBG | "SATA-IsEjected"="off"
(force12) DBG | "SATA-1-0"="/Users/liz/.docker/machine/machines/force12/disk.vmdk"
(force12) DBG | "SATA-ImageUUID-1-0"="4d4c2b54-9587-47b9-8174-f4c0db765711"
(force12) DBG | "SATA-2-0"="none"
(force12) DBG | "SATA-3-0"="none"
(force12) DBG | "SATA-4-0"="none"
(force12) DBG | "SATA-5-0"="none"
(force12) DBG | "SATA-6-0"="none"
(force12) DBG | "SATA-7-0"="none"
(force12) DBG | "SATA-8-0"="none"
(force12) DBG | "SATA-9-0"="none"
(force12) DBG | "SATA-10-0"="none"
(force12) DBG | "SATA-11-0"="none"
(force12) DBG | "SATA-12-0"="none"
(force12) DBG | "SATA-13-0"="none"
(force12) DBG | "SATA-14-0"="none"
(force12) DBG | "SATA-15-0"="none"
(force12) DBG | "SATA-16-0"="none"
(force12) DBG | "SATA-17-0"="none"
(force12) DBG | "SATA-18-0"="none"
(force12) DBG | "SATA-19-0"="none"
(force12) DBG | "SATA-20-0"="none"
(force12) DBG | "SATA-21-0"="none"
(force12) DBG | "SATA-22-0"="none"
(force12) DBG | "SATA-23-0"="none"
(force12) DBG | "SATA-24-0"="none"
(force12) DBG | "SATA-25-0"="none"
(force12) DBG | "SATA-26-0"="none"
(force12) DBG | "SATA-27-0"="none"
(force12) DBG | "SATA-28-0"="none"
(force12) DBG | "SATA-29-0"="none"
(force12) DBG | natnet1="nat"
(force12) DBG | macaddress1="0800275B3EAE"
(force12) DBG | cableconnected1="on"
(force12) DBG | nic1="nat"
(force12) DBG | nictype1="82540EM"
(force12) DBG | nicspeed1="0"
(force12) DBG | mtu="0"
(force12) DBG | sockSnd="64"
(force12) DBG | sockRcv="64"
(force12) DBG | tcpWndSnd="64"
(force12) DBG | tcpWndRcv="64"
(force12) DBG | Forwarding(0)="ssh,tcp,127.0.0.1,55846,,22"
(force12) DBG | hostonlyadapter2="vboxnet0"
(force12) DBG | macaddress2="080027C094E9"
(force12) DBG | cableconnected2="on"
(force12) DBG | nic2="hostonly"
(force12) DBG | nictype2="82540EM"
(force12) DBG | nicspeed2="0"
(force12) DBG | nic3="none"
(force12) DBG | nic4="none"
(force12) DBG | nic5="none"
(force12) DBG | nic6="none"
(force12) DBG | nic7="none"
(force12) DBG | nic8="none"
(force12) DBG | hidpointing="ps2mouse"
(force12) DBG | hidkeyboard="ps2kbd"
(force12) DBG | uart1="off"
(force12) DBG | uart2="off"
(force12) DBG | lpt1="off"
(force12) DBG | lpt2="off"
(force12) DBG | audio="none"
(force12) DBG | clipboard="disabled"
(force12) DBG | draganddrop="disabled"
(force12) DBG | SessionName="headless"
(force12) DBG | VideoMode="720,400,0"@0,0 1
(force12) DBG | vrde="off"
(force12) DBG | usb="off"
(force12) DBG | ehci="off"
(force12) DBG | xhci="off"
(force12) DBG | SharedFolderNameMachineMapping1="Users"
(force12) DBG | SharedFolderPathMachineMapping1="/Users"
(force12) DBG | VRDEActiveConnection="off"
(force12) DBG | VRDEClients=0
(force12) DBG | vcpenabled="off"
(force12) DBG | vcpscreens=0
(force12) DBG | vcpfile="/Users/liz/.docker/machine/machines/force12/force12/force12.webm"
(force12) DBG | vcpwidth=1024
(force12) DBG | vcpheight=768
(force12) DBG | vcprate=512
(force12) DBG | vcpfps=25
(force12) DBG | GuestMemoryBalloon=0
(force12) DBG | GuestOSType="Linux26_64"
(force12) DBG | GuestAdditionsRunLevel=2
(force12) DBG | GuestAdditionsVersion="5.0.8 r103449"
(force12) DBG | GuestAdditionsFacility_VirtualBox Base Driver=50,1449860848913
(force12) DBG | GuestAdditionsFacility_VirtualBox System Service=50,1449860856996
(force12) DBG | GuestAdditionsFacility_Seamless Mode=0,1449860848912
(force12) DBG | GuestAdditionsFacility_Graphics Mode=0,1449860848912
(force12) DBG | }
(force12) DBG | STDERR:
(force12) DBG | {
(force12) DBG | }
(force12) DBG | Using SSH client type: external
(force12) DBG | About to run SSH command:
(force12) DBG | ip addr show dev eth1
(force12) DBG | SSH cmd err, output: <nil>: 4: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
(force12) DBG | link/ether 08:00:27:c0:94:e9 brd ff:ff:ff:ff:ff:ff
(force12) DBG | inet 192.168.99.101/24 brd 192.168.99.255 scope global eth1
(force12) DBG | valid_lft forever preferred_lft forever
(force12) DBG | inet6 fe80::a00:27ff:fec0:94e9/64 scope link
(force12) DBG | valid_lft forever preferred_lft forever
(force12) DBG |
(force12) DBG | SSH returned: 4: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
(force12) DBG | link/ether 08:00:27:c0:94:e9 brd ff:ff:ff:ff:ff:ff
(force12) DBG | inet 192.168.99.101/24 brd 192.168.99.255 scope global eth1
(force12) DBG | valid_lft forever preferred_lft forever
(force12) DBG | inet6 fe80::a00:27ff:fec0:94e9/64 scope link
(force12) DBG | valid_lft forever preferred_lft forever
(force12) DBG |
(force12) DBG | END SSH
(force12) DBG |
(force12) Calling RpcServerDriver.GetConfigRaw
(force12) Calling RpcServerDriver.GetConfigRaw
$ docker-machine --debug env force12
Docker Machine Version: 0.5.0 (04cfa58)
Found binary path at /usr/local/bin/docker-machine-driver-virtualbox
Launching plugin server for driver virtualbox
Plugin server listening at address 127.0.0.1:51295
() Calling RpcServerDriver.GetVersion
Using API Version 1
() Calling RpcServerDriver.SetConfigRaw
() Calling RpcServerDriver.GetMachineName
(force12) Calling RpcServerDriver.GetState
(force12) DBG | COMMAND: /usr/local/bin/VBoxManage showvminfo force12 --machinereadable
(force12) DBG | STDOUT:
(force12) DBG | {
(force12) DBG | name="force12"
(force12) DBG | groups="/"
(force12) DBG | ostype="Linux 2.6 / 3.x / 4.x (64-bit)"
(force12) DBG | UUID="350b1e64-2634-4dd6-91eb-90ba4f32bab1"
(force12) DBG | CfgFile="/Users/liz/.docker/machine/machines/force12/force12/force12.vbox"
(force12) DBG | SnapFldr="/Users/liz/.docker/machine/machines/force12/force12/Snapshots"
(force12) DBG | LogFldr="/Users/liz/.docker/machine/machines/force12/force12/Logs"
(force12) DBG | hardwareuuid="350b1e64-2634-4dd6-91eb-90ba4f32bab1"
(force12) DBG | memory=1024
(force12) DBG | pagefusion="off"
(force12) DBG | vram=8
(force12) DBG | cpuexecutioncap=100
(force12) DBG | hpet="on"
(force12) DBG | chipset="piix3"
(force12) DBG | firmware="BIOS"
(force12) DBG | cpus=1
(force12) DBG | pae="on"
(force12) DBG | longmode="on"
(force12) DBG | cpuid-portability-level=0
(force12) DBG | bootmenu="disabled"
(force12) DBG | boot1="dvd"
(force12) DBG | boot2="dvd"
(force12) DBG | boot3="disk"
(force12) DBG | boot4="none"
(force12) DBG | acpi="on"
(force12) DBG | ioapic="on"
(force12) DBG | biossystemtimeoffset=0
(force12) DBG | rtcuseutc="on"
(force12) DBG | hwvirtex="on"
(force12) DBG | nestedpaging="on"
(force12) DBG | largepages="on"
(force12) DBG | vtxvpid="on"
(force12) DBG | vtxux="on"
(force12) DBG | paravirtprovider="default"
(force12) DBG | VMState="running"
(force12) Calling RpcServerDriver.GetURL
(force12) DBG | VMStateChangeTime="2015-12-11T19:07:09.590000000"
(force12) DBG | monitorcount=1
(force12) DBG | accelerate3d="off"
(force12) DBG | accelerate2dvideo="off"
(force12) DBG | teleporterenabled="off"
(force12) DBG | teleporterport=0
(force12) DBG | teleporteraddress=""
(force12) DBG | teleporterpassword=""
(force12) DBG | tracing-enabled="off"
(force12) DBG | tracing-allow-vm-access="off"
(force12) DBG | tracing-config=""
(force12) DBG | autostart-enabled="off"
(force12) DBG | autostart-delay=0
(force12) DBG | defaultfrontend=""
(force12) DBG | storagecontrollername0="SATA"
(force12) DBG | storagecontrollertype0="IntelAhci"
(force12) DBG | storagecontrollerinstance0="0"
(force12) DBG | storagecontrollermaxportcount0="30"
(force12) DBG | storagecontrollerportcount0="30"
(force12) DBG | storagecontrollerbootable0="on"
(force12) DBG | "SATA-0-0"="/Users/liz/.docker/machine/machines/force12/boot2docker.iso"
(force12) DBG | "SATA-ImageUUID-0-0"="6b4904ab-34d7-45a7-a75d-694e0f9d458a"
(force12) DBG | "SATA-tempeject"="off"
(force12) DBG | "SATA-IsEjected"="off"
(force12) DBG | "SATA-1-0"="/Users/liz/.docker/machine/machines/force12/disk.vmdk"
(force12) DBG | "SATA-ImageUUID-1-0"="4d4c2b54-9587-47b9-8174-f4c0db765711"
(force12) DBG | "SATA-2-0"="none"
(force12) DBG | "SATA-3-0"="none"
(force12) DBG | "SATA-4-0"="none"
(force12) DBG | "SATA-5-0"="none"
(force12) DBG | "SATA-6-0"="none"
(force12) DBG | "SATA-7-0"="none"
(force12) DBG | "SATA-8-0"="none"
(force12) DBG | "SATA-9-0"="none"
(force12) DBG | "SATA-10-0"="none"
(force12) DBG | "SATA-11-0"="none"
(force12) DBG | "SATA-12-0"="none"
(force12) DBG | "SATA-13-0"="none"
(force12) DBG | "SATA-14-0"="none"
(force12) DBG | "SATA-15-0"="none"
(force12) DBG | "SATA-16-0"="none"
(force12) DBG | "SATA-17-0"="none"
(force12) DBG | "SATA-18-0"="none"
(force12) DBG | "SATA-19-0"="none"
(force12) DBG | "SATA-20-0"="none"
(force12) DBG | "SATA-21-0"="none"
(force12) DBG | "SATA-22-0"="none"
(force12) DBG | "SATA-23-0"="none"
(force12) DBG | "SATA-24-0"="none"
(force12) DBG | "SATA-25-0"="none"
(force12) DBG | "SATA-26-0"="none"
(force12) DBG | "SATA-27-0"="none"
(force12) DBG | "SATA-28-0"="none"
(force12) DBG | "SATA-29-0"="none"
(force12) DBG | natnet1="nat"
(force12) DBG | macaddress1="0800275B3EAE"
(force12) DBG | cableconnected1="on"
(force12) DBG | nic1="nat"
(force12) DBG | nictype1="82540EM"
(force12) DBG | nicspeed1="0"
(force12) DBG | mtu="0"
(force12) DBG | sockSnd="64"
(force12) DBG | sockRcv="64"
(force12) DBG | tcpWndSnd="64"
(force12) DBG | tcpWndRcv="64"
(force12) DBG | Forwarding(0)="ssh,tcp,127.0.0.1,55846,,22"
(force12) DBG | hostonlyadapter2="vboxnet0"
(force12) DBG | macaddress2="080027C094E9"
(force12) DBG | cableconnected2="on"
(force12) DBG | nic2="hostonly"
(force12) DBG | nictype2="82540EM"
(force12) DBG | nicspeed2="0"
(force12) DBG | nic3="none"
(force12) DBG | nic4="none"
(force12) DBG | nic5="none"
(force12) DBG | nic6="none"
(force12) DBG | nic7="none"
(force12) DBG | nic8="none"
(force12) DBG | hidpointing="ps2mouse"
(force12) DBG | hidkeyboard="ps2kbd"
(force12) DBG | uart1="off"
(force12) DBG | uart2="off"
(force12) DBG | lpt1="off"
(force12) DBG | lpt2="off"
(force12) DBG | audio="none"
(force12) DBG | clipboard="disabled"
(force12) DBG | draganddrop="disabled"
(force12) DBG | SessionName="headless"
(force12) DBG | VideoMode="720,400,0"@0,0 1
(force12) DBG | vrde="off"
(force12) DBG | usb="off"
(force12) DBG | ehci="off"
(force12) DBG | xhci="off"
(force12) DBG | SharedFolderNameMachineMapping1="Users"
(force12) DBG | SharedFolderPathMachineMapping1="/Users"
(force12) DBG | VRDEActiveConnection="off"
(force12) DBG | VRDEClients=0
(force12) DBG | vcpenabled="off"
(force12) DBG | vcpscreens=0
(force12) DBG | vcpfile="/Users/liz/.docker/machine/machines/force12/force12/force12.webm"
(force12) DBG | vcpwidth=1024
(force12) DBG | vcpheight=768
(force12) DBG | vcprate=512
(force12) DBG | vcpfps=25
(force12) DBG | GuestMemoryBalloon=0
(force12) DBG | GuestOSType="Linux26_64"
(force12) DBG | GuestAdditionsRunLevel=2
(force12) DBG | GuestAdditionsVersion="5.0.8 r103449"
(force12) DBG | GuestAdditionsFacility_VirtualBox Base Driver=50,1449860848913
(force12) DBG | GuestAdditionsFacility_VirtualBox System Service=50,1449860856996
(force12) DBG | GuestAdditionsFacility_Seamless Mode=0,1449860848912
(force12) DBG | GuestAdditionsFacility_Graphics Mode=0,1449860848912
(force12) DBG | }
(force12) DBG | STDERR:
(force12) DBG | {
(force12) DBG | }
(force12) DBG | COMMAND: /usr/local/bin/VBoxManage showvminfo force12 --machinereadable
(force12) DBG | STDOUT:
(force12) DBG | {
(force12) DBG | name="force12"
(force12) DBG | groups="/"
(force12) DBG | ostype="Linux 2.6 / 3.x / 4.x (64-bit)"
(force12) DBG | UUID="350b1e64-2634-4dd6-91eb-90ba4f32bab1"
(force12) DBG | CfgFile="/Users/liz/.docker/machine/machines/force12/force12/force12.vbox"
(force12) DBG | SnapFldr="/Users/liz/.docker/machine/machines/force12/force12/Snapshots"
(force12) DBG | LogFldr="/Users/liz/.docker/machine/machines/force12/force12/Logs"
(force12) DBG | hardwareuuid="350b1e64-2634-4dd6-91eb-90ba4f32bab1"
(force12) DBG | memory=1024
(force12) DBG | pagefusion="off"
(force12) DBG | vram=8
(force12) DBG | cpuexecutioncap=100
(force12) DBG | hpet="on"
(force12) DBG | chipset="piix3"
(force12) DBG | firmware="BIOS"
(force12) DBG | cpus=1
(force12) DBG | pae="on"
(force12) DBG | longmode="on"
(force12) DBG | cpuid-portability-level=0
(force12) DBG | bootmenu="disabled"
(force12) DBG | boot1="dvd"
(force12) DBG | boot2="dvd"
(force12) DBG | boot3="disk"
(force12) DBG | boot4="none"
(force12) DBG | acpi="on"
(force12) DBG | ioapic="on"
(force12) DBG | biossystemtimeoffset=0
(force12) DBG | rtcuseutc="on"
(force12) DBG | hwvirtex="on"
(force12) DBG | nestedpaging="on"
(force12) DBG | largepages="on"
(force12) DBG | vtxvpid="on"
(force12) DBG | vtxux="on"
(force12) DBG | paravirtprovider="default"
(force12) DBG | VMState="running"
(force12) DBG | VMStateChangeTime="2015-12-11T19:07:09.590000000"
(force12) DBG | monitorcount=1
(force12) DBG | accelerate3d="off"
(force12) DBG | accelerate2dvideo="off"
(force12) DBG | teleporterenabled="off"
(force12) DBG | teleporterport=0
(force12) DBG | teleporteraddress=""
(force12) DBG | teleporterpassword=""
(force12) DBG | tracing-enabled="off"
(force12) DBG | tracing-allow-vm-access="off"
(force12) DBG | tracing-config=""
(force12) DBG | autostart-enabled="off"
(force12) DBG | autostart-delay=0
(force12) DBG | defaultfrontend=""
(force12) DBG | storagecontrollername0="SATA"
(force12) DBG | storagecontrollertype0="IntelAhci"
(force12) DBG | storagecontrollerinstance0="0"
(force12) DBG | storagecontrollermaxportcount0="30"
(force12) DBG | storagecontrollerportcount0="30"
(force12) DBG | storagecontrollerbootable0="on"
(force12) DBG | "SATA-0-0"="/Users/liz/.docker/machine/machines/force12/boot2docker.iso"
(force12) DBG | "SATA-ImageUUID-0-0"="6b4904ab-34d7-45a7-a75d-694e0f9d458a"
(force12) DBG | "SATA-tempeject"="off"
(force12) DBG | "SATA-IsEjected"="off"
(force12) DBG | "SATA-1-0"="/Users/liz/.docker/machine/machines/force12/disk.vmdk"
(force12) DBG | "SATA-ImageUUID-1-0"="4d4c2b54-9587-47b9-8174-f4c0db765711"
(force12) DBG | "SATA-2-0"="none"
(force12) DBG | "SATA-3-0"="none"
(force12) DBG | "SATA-4-0"="none"
(force12) DBG | "SATA-5-0"="none"
(force12) DBG | "SATA-6-0"="none"
(force12) DBG | "SATA-7-0"="none"
(force12) DBG | "SATA-8-0"="none"
(force12) DBG | "SATA-9-0"="none"
(force12) DBG | "SATA-10-0"="none"
(force12) DBG | "SATA-11-0"="none"
(force12) DBG | "SATA-12-0"="none"
(force12) DBG | "SATA-13-0"="none"
(force12) DBG | "SATA-14-0"="none"
(force12) DBG | "SATA-15-0"="none"
(force12) DBG | "SATA-16-0"="none"
(force12) DBG | "SATA-17-0"="none"
(force12) DBG | "SATA-18-0"="none"
(force12) DBG | "SATA-19-0"="none"
(force12) DBG | "SATA-20-0"="none"
(force12) DBG | "SATA-21-0"="none"
(force12) DBG | "SATA-22-0"="none"
(force12) DBG | "SATA-23-0"="none"
(force12) DBG | "SATA-24-0"="none"
(force12) DBG | "SATA-25-0"="none"
(force12) DBG | "SATA-26-0"="none"
(force12) DBG | "SATA-27-0"="none"
(force12) DBG | "SATA-28-0"="none"
(force12) DBG | "SATA-29-0"="none"
(force12) DBG | natnet1="nat"
(force12) DBG | macaddress1="0800275B3EAE"
(force12) DBG | cableconnected1="on"
(force12) DBG | nic1="nat"
(force12) DBG | nictype1="82540EM"
(force12) DBG | nicspeed1="0"
(force12) DBG | mtu="0"
(force12) DBG | sockSnd="64"
(force12) DBG | sockRcv="64"
(force12) DBG | tcpWndSnd="64"
(force12) DBG | tcpWndRcv="64"
(force12) DBG | Forwarding(0)="ssh,tcp,127.0.0.1,55846,,22"
(force12) DBG | hostonlyadapter2="vboxnet0"
(force12) DBG | macaddress2="080027C094E9"
(force12) DBG | cableconnected2="on"
(force12) DBG | nic2="hostonly"
(force12) DBG | nictype2="82540EM"
(force12) DBG | nicspeed2="0"
(force12) DBG | nic3="none"
(force12) DBG | nic4="none"
(force12) DBG | nic5="none"
(force12) DBG | nic6="none"
(force12) DBG | nic7="none"
(force12) DBG | nic8="none"
(force12) DBG | hidpointing="ps2mouse"
(force12) DBG | hidkeyboard="ps2kbd"
(force12) DBG | uart1="off"
(force12) DBG | uart2="off"
(force12) DBG | lpt1="off"
(force12) DBG | lpt2="off"
(force12) DBG | audio="none"
(force12) DBG | clipboard="disabled"
(force12) DBG | draganddrop="disabled"
(force12) DBG | SessionName="headless"
(force12) DBG | VideoMode="720,400,0"@0,0 1
(force12) DBG | vrde="off"
(force12) DBG | usb="off"
(force12) DBG | ehci="off"
(force12) DBG | xhci="off"
(force12) DBG | SharedFolderNameMachineMapping1="Users"
(force12) DBG | SharedFolderPathMachineMapping1="/Users"
(force12) DBG | VRDEActiveConnection="off"
(force12) DBG | VRDEClients=0
(force12) DBG | vcpenabled="off"
(force12) DBG | vcpscreens=0
(force12) DBG | vcpfile="/Users/liz/.docker/machine/machines/force12/force12/force12.webm"
(force12) DBG | vcpwidth=1024
(force12) DBG | vcpheight=768
(force12) DBG | vcprate=512
(force12) DBG | vcpfps=25
(force12) DBG | GuestMemoryBalloon=0
(force12) DBG | GuestOSType="Linux26_64"
(force12) DBG | GuestAdditionsRunLevel=2
(force12) DBG | GuestAdditionsVersion="5.0.8 r103449"
(force12) DBG | GuestAdditionsFacility_VirtualBox Base Driver=50,1449860848913
(force12) DBG | GuestAdditionsFacility_VirtualBox System Service=50,1449860856996
(force12) DBG | GuestAdditionsFacility_Seamless Mode=0,1449860848912
(force12) DBG | GuestAdditionsFacility_Graphics Mode=0,1449860848912
(force12) DBG | }
(force12) DBG | STDERR:
(force12) DBG | {
(force12) DBG | }
(force12) DBG | Using SSH client type: external
(force12) DBG | About to run SSH command:
(force12) DBG | ip addr show dev eth1
(force12) DBG | SSH cmd err, output: <nil>: 4: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
(force12) DBG | link/ether 08:00:27:c0:94:e9 brd ff:ff:ff:ff:ff:ff
(force12) DBG | inet 192.168.99.101/24 brd 192.168.99.255 scope global eth1
(force12) DBG | valid_lft forever preferred_lft forever
(force12) DBG | inet6 fe80::a00:27ff:fec0:94e9/64 scope link
(force12) DBG | valid_lft forever preferred_lft forever
(force12) DBG |
(force12) DBG | SSH returned: 4: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
(force12) DBG | link/ether 08:00:27:c0:94:e9 brd ff:ff:ff:ff:ff:ff
(force12) DBG | inet 192.168.99.101/24 brd 192.168.99.255 scope global eth1
(force12) DBG | valid_lft forever preferred_lft forever
(force12) DBG | inet6 fe80::a00:27ff:fec0:94e9/64 scope link
(force12) DBG | valid_lft forever preferred_lft forever
(force12) DBG |
(force12) DBG | END SSH
(force12) DBG |
Reading CA certificate from /Users/liz/.docker/machine/certs/ca.pem
Reading server certificate from /Users/liz/.docker/machine/machines/force12/server.pem
Reading server key from /Users/liz/.docker/machine/machines/force12/server-key.pem
shell: bash
export DOCKER_TLS_VERIFY="1"
export DOCKER_HOST="tcp://192.168.99.101:2376"
export DOCKER_CERT_PATH="/Users/liz/.docker/machine/machines/force12"
export DOCKER_MACHINE_NAME="force12"
# Run this command to configure your shell:
# eval "$(docker-machine --debug env force12)"
@tdensmore ASAP (it's important to us to fix) -- but since the underlying cause is unknown, we can't commit to an exact timeframe.
@lizrice Thanks! Will take a look.
Doing rm -rf /var/lib/docker/network
on the host machine worked for me. I don't understand however why it happens: it was a brand new machine, cache cleared.
Not sure if this is related but the following fails consistently for me:
docker-machine create -d amazonec2 test
eval $(docker-machine env test)
docker ps # all good
docker-machine stop test
docker-machine start test
eval $(docker-machine env test)
Error running connection boilerplate: Error checking and/or regenerating the certs: There was an error validating certificates for host "54.173.54.43:2376": x509: certificate is valid for 54.152.68.62, not 54.173.54.43
You can attempt to regenerate them using 'docker-machine regenerate-certs name'.
Be advised that this will trigger a Docker daemon restart which will stop running containers.
I'm running 0.5.4.
I think I have an important clue on this. This information is an extension of what I wrote above in this comment.
On my machine (Mac OS X 10.11.2, docker-machine version 0.5.1 (7e8e38e)), I've noticed that whether the "getsockopt: connection refused" error occurs is tied to _how long I wait_ to call docker-machine env
after calling docker-machine restart
.
More specifically, with the script reset.sh
below:
#!/bin/bash
docker-machine restart default
sleep $1
docker-machine env default
I've noticed that source reset.sh 1
or source reset.sh 2
tends to trigger the error, but source reset.sh 3
and higher always succeeds. So waiting a bit after starting helps for some reason.
I also noticed that this line (configuring the dialer) happens to have a 2 second timeout, but that may or may not be related.
I'm also seeing the same as @cjerdonek - After starting the machine, we simply wait for 10 seconds before using the docker-machine env
command. This usually fix our problems.
I'm not sure if this is related, but I tried running docker-machine restart default
, and then displaying the processes in that process group at 0.25 second increments. I did this to see if anything was still running after the restart ended.
Sure enough, it showed that the /usr/local/bin/docker-machine-driver-virtualbox
child process started by docker-machine
continued running for 0.5 seconds _after_ the docker-machine restart
parent process ended. So maybe something isn't terminating cleanly?
Here is my output (at 0.25 second increments):
running ps:
58257 58257 docker-machine restart default
58257 58258 /usr/local/bin/docker-machine-driver-virtualbox
running ps:
58257 58257 docker-machine restart default
58257 58258 /usr/local/bin/docker-machine-driver-virtualbox
58257 58667 /Applications/VirtualBox.app/Contents/MacOS/VBoxManage showvminfo default --machinereadable
running ps:
58257 58258 /usr/local/bin/docker-machine-driver-virtualbox
running ps:
58257 58258 /usr/local/bin/docker-machine-driver-virtualbox
running ps:
running ps:
And here is the script I used to generate it:
#!/bin/bash
pgid=$(ps xao pgid,pid,command | grep "[d]ocker-machine restart" | awk '{print $1}')
echo "pgid: $pgid"
while [ 1 ]
do
echo "running ps:"
ps xao pgid,pid,command | grep -E "^$pgid"
sleep .25
done
I just had an issue with this, with 3 network adapters enabled for the VM, the last one attached to a Bridged Adapter on the ethernet connection. VM worked fine for a long time and suddenly didn't work anymore. It turns out I had switched from an ethernet connection to a wireless connection, so the VM was not able to resolve an IP on the new network, kept promoting to regenerate the certificates, couldn't resolve IPs etc.
Changing the settings in the VirtualBox Manager to use the new adapter solved the issue, then of course run:
docker-machine regenerate-certs default
(or your VM name)
eval "$(docker-machine env default)"
I hope this debug output may be of some help... and FWIW I am not using the AWS driver.
Steps to repro (on Mac):
Install DockerToolbox-1.9.1f.pkg then install DockerToolbox-1.9.1g.pkg
Docker version 1.9.1, build a34a1d5
docker-compose version 1.5.2, build 7240ff3
docker-machine version 0.5.5, build 02c4254
the command that generated this:
docker-machine --debug create --driver virtualbox --virtualbox-memory 2048 registry
_Please notice the following error (line 505)_
Generate server cert /usr/local/bin/generate_cert --host=registry,127.0.0.1,10.0.2.15,192.168.99.104 --ca=/var/lib/boot2docker/ca.pem --ca-key=/var/lib/boot2docker/tls/cakey.pem --cert=/var/lib/boot2docker/server.pem --key=/var/lib/boot2docker/server-key.pem --org=Boot2Docker
2016/01/07 05:19:20 Preventing overwrite: the following files already exist: "/var/lib/boot2docker/server.pem" "/var/lib/boot2docker/server-key.pem". To overwrite files, add "--overwrite".
(registry) DBG | "SATA-7-0"="none"
(registry) DBG | "SATA-8-0"="none"
(registry) DBG | "SATA-9-0"="none"
(registry) DBG | "SATA-10-0"="none"
(registry) DBG | "SATA-11-0"="none"
(registry) DBG | "SATA-12-0"="none"
(registry) DBG | "SATA-13-0"="none"
(registry) DBG | "SATA-14-0"="none"
(registry) DBG | "SATA-15-0"="none"
(registry) DBG | "SATA-16-0"="none"
(registry) DBG | "SATA-17-0"="none"
(registry) DBG | "SATA-18-0"="none"
(registry) DBG | "SATA-19-0"="none"
(registry) DBG | "SATA-20-0"="none"
(registry) DBG | "SATA-21-0"="none"
(registry) DBG | "SATA-22-0"="none"
(registry) DBG | "SATA-23-0"="none"
(registry) DBG | "SATA-24-0"="none"
(registry) DBG | "SATA-25-0"="none"
(registry) DBG | "SATA-26-0"="none"
(registry) DBG | "SATA-27-0"="none"
(registry) DBG | "SATA-28-0"="none"
(registry) DBG | "SATA-29-0"="none"
(registry) DBG | natnet1="nat"
(registry) DBG | macaddress1="080027D369AC"
(registry) DBG | cableconnected1="on"
(registry) DBG | nic1="nat"
(registry) DBG | nictype1="82540EM"
(registry) DBG | nicspeed1="0"
(registry) DBG | mtu="0"
(registry) DBG | sockSnd="64"
(registry) DBG | sockRcv="64"
(registry) DBG | tcpWndSnd="64"
(registry) DBG | tcpWndRcv="64"
(registry) DBG | Forwarding(0)="ssh,tcp,127.0.0.1,61554,,22"
(registry) DBG | hostonlyadapter2="vboxnet1"
(registry) DBG | macaddress2="080027A8AF71"
(registry) DBG | cableconnected2="on"
(registry) DBG | nic2="hostonly"
(registry) DBG | nictype2="82540EM"
(registry) DBG | nicspeed2="0"
(registry) DBG | nic3="none"
(registry) DBG | nic4="none"
(registry) DBG | nic5="none"
(registry) DBG | nic6="none"
(registry) DBG | nic7="none"
(registry) DBG | nic8="none"
(registry) DBG | hidpointing="ps2mouse"
(registry) DBG | hidkeyboard="ps2kbd"
(registry) DBG | uart1="off"
(registry) DBG | uart2="off"
(registry) DBG | lpt1="off"
(registry) DBG | lpt2="off"
(registry) DBG | audio="none"
(registry) DBG | clipboard="disabled"
(registry) DBG | draganddrop="disabled"
(registry) DBG | SessionName="headless"
(registry) DBG | VideoMode="720,400,0"@0,0 1
(registry) DBG | vrde="off"
(registry) DBG | usb="off"
(registry) DBG | ehci="off"
(registry) DBG | xhci="off"
(registry) DBG | SharedFolderNameMachineMapping1="Users"
(registry) DBG | SharedFolderPathMachineMapping1="/Users"
(registry) DBG | VRDEActiveConnection="off"
(registry) DBG | VRDEClients=0
(registry) DBG | vcpenabled="off"
(registry) DBG | vcpscreens=0
(registry) DBG | vcpfile="/Users/todd/.docker/machine/machines/registry/registry/registry.webm"
(registry) DBG | vcpwidth=1024
(registry) DBG | vcpheight=768
(registry) DBG | vcprate=512
(registry) DBG | vcpfps=25
(registry) DBG | GuestMemoryBalloon=0
(registry) DBG | GuestOSType="Linux26_64"
(registry) DBG | GuestAdditionsRunLevel=2
(registry) DBG | GuestAdditionsVersion="5.0.10 r104061"
(registry) DBG | GuestAdditionsFacility_VirtualBox Base Driver=50,1452143934925
(registry) DBG | GuestAdditionsFacility_VirtualBox System Service=50,1452143951932
(registry) DBG | GuestAdditionsFacility_Seamless Mode=0,1452143934925
(registry) DBG | GuestAdditionsFacility_Graphics Mode=0,1452143934925
(registry) DBG | }
(registry) DBG | STDERR:
(registry) DBG | {
(registry) DBG | }
(registry) DBG | Using SSH client type: external
(registry) DBG | {[-o PasswordAuthentication=no -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o LogLevel=quiet -o ConnectionAttempts=3 -o ConnectTimeout=10 -o ControlMaster=no -o ControlPath=none [email protected] -o IdentitiesOnly=yes -i /Users/todd/.docker/machine/machines/registry/id_rsa -p 61554] /usr/bin/ssh}
(registry) DBG | About to run SSH command:
(registry) DBG | ip addr show dev eth1
(registry) DBG | SSH cmd err, output:
(registry) DBG | link/ether 08:00:27:a8:af:71 brd ff:ff:ff:ff:ff:ff
(registry) DBG | inet 192.168.99.104/24 brd 192.168.99.255 scope global eth1
(registry) DBG | valid_lft forever preferred_lft forever
(registry) DBG | inet6 fe80::a00:27ff:fea8:af71/64 scope link
(registry) DBG | valid_lft forever preferred_lft forever
(registry) DBG |
(registry) DBG | SSH returned: 4: eth1:
(registry) DBG | link/ether 08:00:27:a8:af:71 brd ff:ff:ff:ff:ff:ff
(registry) DBG | inet 192.168.99.104/24 brd 192.168.99.255 scope global eth1
(registry) DBG | valid_lft forever preferred_lft forever
(registry) DBG | inet6 fe80::a00:27ff:fea8:af71/64 scope link
(registry) DBG | valid_lft forever preferred_lft forever
(registry) DBG |
(registry) DBG | END SSH
(registry) DBG |
generating server cert: /Users/todd/.docker/machine/machines/registry/server.pem ca-key=/Users/todd/.docker/machine/certs/ca.pem private-key=/Users/todd/.docker/machine/certs/ca-key.pem org=todd.registry san=192.168.99.104 localhost Calling .GetSSHHostname
(registry) Calling .GetSSHPort
(registry) Calling .GetSSHKeyPath
(registry) Calling .GetSSHKeyPath
(registry) Calling .GetSSHUsername
Using SSH client type: external
{[-o PasswordAuthentication=no -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o LogLevel=quiet -o ConnectionAttempts=3 -o ConnectTimeout=10 -o ControlMaster=no -o ControlPath=none [email protected] -o IdentitiesOnly=yes -i /Users/todd/.docker/machine/machines/registry/id_rsa -p 61554] /usr/bin/ssh}
About to run SSH command:
sudo /etc/init.d/docker stop
SSH cmd err, output:
(registry) Calling .GetSSHHostname
(registry) Calling .GetSSHPort
(registry) Calling .GetSSHKeyPath
(registry) Calling .GetSSHKeyPath
(registry) Calling .GetSSHUsername
Using SSH client type: external
{[-o PasswordAuthentication=no -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o LogLevel=quiet -o ConnectionAttempts=3 -o ConnectTimeout=10 -o ControlMaster=no -o ControlPath=none [email protected] -o IdentitiesOnly=yes -i /Users/todd/.docker/machine/machines/registry/id_rsa -p 61554] /usr/bin/ssh}
About to run SSH command:
if [ ! -z "$(ip link show docker0)" ]; then sudo ip link delete docker0; fi
SSH cmd err, output:
(registry) Calling .GetSSHHostname
(registry) Calling .GetSSHPort
(registry) Calling .GetSSHKeyPath
(registry) Calling .GetSSHKeyPath
(registry) Calling .GetSSHUsername
Using SSH client type: external
{[-o PasswordAuthentication=no -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o LogLevel=quiet -o ConnectionAttempts=3 -o ConnectTimeout=10 -o ControlMaster=no -o ControlPath=none [email protected] -o IdentitiesOnly=yes -i /Users/todd/.docker/machine/machines/registry/id_rsa -p 61554] /usr/bin/ssh}
About to run SSH command:
printf '%s' '-----BEGIN CERTIFICATE-----
MIICxzCCAbGgAwIBAgIQN5zSGUNnaarpTbKMMbHnJjALBgkqhkiG9w0BAQswDzEN
MAsGA1UEChMEdG9kZDAeFw0xNTA5MDExNjM2MDBaFw0xODA4MTYxNjM2MDBaMA8x
DTALBgNVBAoTBHRvZGQwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDD
NnBEEJhhycZDUQvvfc6mygzjC/gPnrmR5VpmnkvcDg3FXSnihQvsZjIn02u7hXug
3noJ/neFabpacXvIrpvUl7ibehSGOCx/R5tNYX4U2PqLTt/eBpKt/Cq4pjfR7D0o
NCuorNFp97qed0gLHeT1dn7XZiV/r9BtjvCO/k/Pac6xJGx8jmdlkRfHh+DF07lh
QhKoLRoxautz9OYx6mUADKYIRXNeqqLd5sK3V+89RBE0Fo/nCaRFrVZfhnMbKk7s
hPgrpWHJtwxb8L3KOAxUMNGGrCpbwNgx4OBrw8pcCXAU5xWOw3/32TROqZ+WZSQE
UQF34p1+qtrE2uOb1UtlAgMBAAGjIzAhMA4GA1UdDwEB/wQEAwIArDAPBgNVHRMB
Af8EBTADAQH/MAsGCSqGSIb3DQEBCwOCAQEAcRsUPGDcIbt93lPqjzP1FF7KIP6c
YxPKXJEjfgwr0wmVg7JOeFvg5TojgeTmRT7DEPTdqPnNjQUxEaybDxv6mBVrUibv
BVlWdxTWeP3oPgjoJqvUoMVQzFYxocoEV2tHZiBHiEahdJf9U+Q2UA84wz1sriyb
8YMrmYr9AUrq0STHDW42pmGNLP++bYhAHBoQvR96qVegroxerc1piUwoN2GQ3FQU
GqI546vAxienOnU2dEWqMCHokmqipOFMKg3jEvMXusAPZEkoZ5tqKKxpaaSRbUt5
VthAzVpGmo+PmwJ70j0rgPu2k06ddl4R5gf6K814bdpE+79qKB5DU3pqmA==
-----END CERTIFICATE-----
' | sudo tee /var/lib/boot2docker/ca.pem
SSH cmd err, output:
MIICxzCCAbGgAwIBAgIQN5zSGUNnaarpTbKMMbHnJjALBgkqhkiG9w0BAQswDzEN
MAsGA1UEChMEdG9kZDAeFw0xNTA5MDExNjM2MDBaFw0xODA4MTYxNjM2MDBaMA8x
DTALBgNVBAoTBHRvZGQwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDD
NnBEEJhhycZDUQvvfc6mygzjC/gPnrmR5VpmnkvcDg3FXSnihQvsZjIn02u7hXug
3noJ/neFabpacXvIrpvUl7ibehSGOCx/R5tNYX4U2PqLTt/eBpKt/Cq4pjfR7D0o
NCuorNFp97qed0gLHeT1dn7XZiV/r9BtjvCO/k/Pac6xJGx8jmdlkRfHh+DF07lh
QhKoLRoxautz9OYx6mUADKYIRXNeqqLd5sK3V+89RBE0Fo/nCaRFrVZfhnMbKk7s
hPgrpWHJtwxb8L3KOAxUMNGGrCpbwNgx4OBrw8pcCXAU5xWOw3/32TROqZ+WZSQE
UQF34p1+qtrE2uOb1UtlAgMBAAGjIzAhMA4GA1UdDwEB/wQEAwIArDAPBgNVHRMB
Af8EBTADAQH/MAsGCSqGSIb3DQEBCwOCAQEAcRsUPGDcIbt93lPqjzP1FF7KIP6c
YxPKXJEjfgwr0wmVg7JOeFvg5TojgeTmRT7DEPTdqPnNjQUxEaybDxv6mBVrUibv
BVlWdxTWeP3oPgjoJqvUoMVQzFYxocoEV2tHZiBHiEahdJf9U+Q2UA84wz1sriyb
8YMrmYr9AUrq0STHDW42pmGNLP++bYhAHBoQvR96qVegroxerc1piUwoN2GQ3FQU
GqI546vAxienOnU2dEWqMCHokmqipOFMKg3jEvMXusAPZEkoZ5tqKKxpaaSRbUt5
VthAzVpGmo+PmwJ70j0rgPu2k06ddl4R5gf6K814bdpE+79qKB5DU3pqmA==
-----END CERTIFICATE-----
(registry) Calling .GetSSHHostname
(registry) Calling .GetSSHPort
(registry) Calling .GetSSHKeyPath
(registry) Calling .GetSSHKeyPath
(registry) Calling .GetSSHUsername
Using SSH client type: external
{[-o PasswordAuthentication=no -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o LogLevel=quiet -o ConnectionAttempts=3 -o ConnectTimeout=10 -o ControlMaster=no -o ControlPath=none [email protected] -o IdentitiesOnly=yes -i /Users/todd/.docker/machine/machines/registry/id_rsa -p 61554] /usr/bin/ssh}
About to run SSH command:
printf '%s' '-----BEGIN CERTIFICATE-----
MIIDDTCCAfWgAwIBAgIRAKIp+qUcAZ1lQMyI6ZNyJ9swDQYJKoZIhvcNAQELBQAw
DzENMAsGA1UEChMEdG9kZDAeFw0xNjAxMDcwNTE0MDBaFw0xODEyMjIwNTE0MDBa
MBgxFjAUBgNVBAoTDXRvZGQucmVnaXN0cnkwggEiMA0GCSqGSIb3DQEBAQUAA4IB
DwAwggEKAoIBAQCzrk5aMnQNq1i+DG/V86bcYUtiaDym8Bp5SHcRnBY6a8MjBX0B
QLQvMzsuo47DXtM9Q7KLTlzMwd0FBtcD/tjKNiJiXS0BVy/k3pNGKD08H0/zq3Z2
t1gBdap7sxoZEj0qYQsg64iNLdMdv+cdcO7VTDJuELYPrDIm2ZHFJ7RYiwN84qMH
+0SEYvDlMmp9vPdnovEdR6bIBXby9Vc3fEj0BOFyswTJM8vEjmuPA6P6manJwoXf
lNUsI7nsj5HGgHvcFoWHWVKAJQoBDh9LSNl99a53ogZX0hywcIzPZz0Jsy5x8ov4
emaYvwXrpjRT6qxD9gsoPqBxParZZl8LFtj9AgMBAAGjWzBZMA4GA1UdDwEB/wQE
AwIDqDAdBgNVHSUEFjAUBggrBgEFBQcDAgYIKwYBBQUHAwEwDAYDVR0TAQH/BAIw
ADAaBgNVHREEEzARgglsb2NhbGhvc3SHBMCoY2gwDQYJKoZIhvcNAQELBQADggEB
AG9JpK+tjgs9LC/IMBZgJyxXDto8QZovdC9m2qGp+/xY9UghiXIUpIkGzW9v4GJB
6pytjuHvQMCbkSNhZkGr/pcV5x5d3Y1g7UDvnwgKMhszefyyf96VEvzVRw0ek35A
cGvIFN71VWMxMUJGe2ui2c9pvRfsQKI/aE0HbCnlhriXh5TMUZUoGhKxO/twlVxe
dgRmayGoEgHdfdj6eyy9sAYwSQ8QUsYnf7ZuHHs62zV06jspCX5sLZPEm15znX6b
rCzFix1v97B+qj/y+R7/eq8l2GGM2P0KzAiql6DtRKlaUzjIPhg+AddXPRXG1XhX
1oJnRKtiDKtQmf9Fo2QYCH8=
-----END CERTIFICATE-----
' | sudo tee /var/lib/boot2docker/server.pem
SSH cmd err, output:
MIIDDTCCAfWgAwIBAgIRAKIp+qUcAZ1lQMyI6ZNyJ9swDQYJKoZIhvcNAQELBQAw
DzENMAsGA1UEChMEdG9kZDAeFw0xNjAxMDcwNTE0MDBaFw0xODEyMjIwNTE0MDBa
MBgxFjAUBgNVBAoTDXRvZGQucmVnaXN0cnkwggEiMA0GCSqGSIb3DQEBAQUAA4IB
DwAwggEKAoIBAQCzrk5aMnQNq1i+DG/V86bcYUtiaDym8Bp5SHcRnBY6a8MjBX0B
QLQvMzsuo47DXtM9Q7KLTlzMwd0FBtcD/tjKNiJiXS0BVy/k3pNGKD08H0/zq3Z2
t1gBdap7sxoZEj0qYQsg64iNLdMdv+cdcO7VTDJuELYPrDIm2ZHFJ7RYiwN84qMH
+0SEYvDlMmp9vPdnovEdR6bIBXby9Vc3fEj0BOFyswTJM8vEjmuPA6P6manJwoXf
lNUsI7nsj5HGgHvcFoWHWVKAJQoBDh9LSNl99a53ogZX0hywcIzPZz0Jsy5x8ov4
emaYvwXrpjRT6qxD9gsoPqBxParZZl8LFtj9AgMBAAGjWzBZMA4GA1UdDwEB/wQE
AwIDqDAdBgNVHSUEFjAUBggrBgEFBQcDAgYIKwYBBQUHAwEwDAYDVR0TAQH/BAIw
ADAaBgNVHREEEzARgglsb2NhbGhvc3SHBMCoY2gwDQYJKoZIhvcNAQELBQADggEB
AG9JpK+tjgs9LC/IMBZgJyxXDto8QZovdC9m2qGp+/xY9UghiXIUpIkGzW9v4GJB
6pytjuHvQMCbkSNhZkGr/pcV5x5d3Y1g7UDvnwgKMhszefyyf96VEvzVRw0ek35A
cGvIFN71VWMxMUJGe2ui2c9pvRfsQKI/aE0HbCnlhriXh5TMUZUoGhKxO/twlVxe
dgRmayGoEgHdfdj6eyy9sAYwSQ8QUsYnf7ZuHHs62zV06jspCX5sLZPEm15znX6b
rCzFix1v97B+qj/y+R7/eq8l2GGM2P0KzAiql6DtRKlaUzjIPhg+AddXPRXG1XhX
1oJnRKtiDKtQmf9Fo2QYCH8=
-----END CERTIFICATE-----
(registry) Calling .GetSSHHostname
(registry) Calling .GetSSHPort
(registry) Calling .GetSSHKeyPath
(registry) Calling .GetSSHKeyPath
(registry) Calling .GetSSHUsername
Using SSH client type: external
{[-o PasswordAuthentication=no -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o LogLevel=quiet -o ConnectionAttempts=3 -o ConnectTimeout=10 -o ControlMaster=no -o ControlPath=none [email protected] -o IdentitiesOnly=yes -i /Users/todd/.docker/machine/machines/registry/id_rsa -p 61554] /usr/bin/ssh}
About to run SSH command:
printf '%s' '-----BEGIN RSA PRIVATE KEY-----
MIIEpQIBAAKCAQEAs65OWjJ0DatYvgxv1fOm3GFLYmg8pvAaeUh3EZwWOmvDIwV9
AUC0LzM7LqOOw17TPUOyi05czMHdBQbXA/7YyjYiYl0tAVcv5N6TRig9PB9P86t2
drdYAXWqe7MaGRI9KmELIOuIjS3THb/nHXDu1UwybhC2D6wyJtmRxSe0WIsDfOKj
B/tEhGLw5TJqfbz3Z6LxHUemyAV28vVXN3xI9AThcrMEyTPLxI5rjwOj+pmpycKF
35TVLCO57I+RxoB73BaFh1lSgCUKAQ4fS0jZffWud6IGV9IcsHCMz2c9CbMucfKL
+HpmmL8F66Y0U+qsQ/YLKD6gcT2q2WZfCxbY/QIDAQABAoIBABP5G0KRey8NzfaK
QWBCDllPA2cz+RIBfJ/gu0Oc2yexVOautH+QJrdcdYawrazv/IFB5jXwBwbHwf7O
DNan3IdVzyqp+te8TlmdmDdjP7NQM739YFS/+qtm3gWUGiGRUnVEhk0pgWtYHbCf
5VvzcskJCE4N038YgBardrW4vSZeVcaDkZI0/dI+vEfH21xFjbf3lc6916/eFoa0
fwuZCkPTGunseHkviQPiv5YnrEPReN7TcUnPfqew3PHNI1zPHxN5hHJWPoBFh+fW
c2NREv/RErbGdN+/TQNcjPsLj2VJyEvcoOpyII3FpFP/hI707LF9i2uOSiuKH34N
OpwTpO0CgYEAybmSEFrkOU4tLDkkqdqJkiOpoqlGkeq3kQJJIB9GKHN/mguBqLvZ
2XA27Sk+NOJLA+3GgEhNf2TotC7B5dFW6FGw9az+XCTo6KQDh5nV8v6dCKUoG3sc
c1gjWCJPwNaIEklZA5fQYY9SonXv7iZn7rWXwZhn/qHhpbGbTvs8SHMCgYEA5AZi
4NZBUSsoAoBndjR5tmMZC+Kas5rucTXCL9ovYoBC+kSrz5tayG1My1vsNuxAAVHw
19QvY00HM+SYiICna1GWp//ufRpUMgrVsqd83oY7N2FaMpy/VWfZXrf3Yt5nHBnO
4lXN3PreRqg28JfvVmdRkc7AHdPY37l2EbzprM8CgYEAv3v5nLDKp2MAGlR76wfZ
QvG7Wv6YUHafnXSv+V/2dvt8CrwVbhgzKOYOHX3i4MxWLPqOTMNVXTJqem9P+1mF
x62T7wExykH3HK5j81oh7zGl2sj7k2p/jTYDBuw7DHAYZlNdvb1kPtePt0uAX23x
hnS2Az0qqlj8Gw7GwGhXxuUCgYEAtQQE1qv/qinyVxoMCCBcRtegeHjpio8Bnsmo
YEh6uV1MzlRZeDPB+74Y6o8MlAU0QlgEM7Hz9IafoyhjlmlbfqyERtW7Q4D1Ocy0
HGEtlZFFzQ7xhaA9m9UXEERGlSws+nfabn7jL/vPHJRJGPHkQ9k9Pdy9UnBsiB44
hphLgK0CgYEAmHhoQB1IPK6auV2oeVocgtiLYSrJI55iCxeJ5IDPfw+qtwfiK6Gb
w4GWkdK15ljRAo4qvAB+f8qpnPFxXzdGxJLt4Y9b4/6ie/g3oRpwGBQRm9NJIB/y
/UXvXEKhtUciq1nuVOvFfE4F9sX9y6rGyhk5X+KA6rQFj9vaW897wgs=
-----END RSA PRIVATE KEY-----
' | sudo tee /var/lib/boot2docker/server-key.pem
SSH cmd err, output:
MIIEpQIBAAKCAQEAs65OWjJ0DatYvgxv1fOm3GFLYmg8pvAaeUh3EZwWOmvDIwV9
AUC0LzM7LqOOw17TPUOyi05czMHdBQbXA/7YyjYiYl0tAVcv5N6TRig9PB9P86t2
drdYAXWqe7MaGRI9KmELIOuIjS3THb/nHXDu1UwybhC2D6wyJtmRxSe0WIsDfOKj
B/tEhGLw5TJqfbz3Z6LxHUemyAV28vVXN3xI9AThcrMEyTPLxI5rjwOj+pmpycKF
35TVLCO57I+RxoB73BaFh1lSgCUKAQ4fS0jZffWud6IGV9IcsHCMz2c9CbMucfKL
+HpmmL8F66Y0U+qsQ/YLKD6gcT2q2WZfCxbY/QIDAQABAoIBABP5G0KRey8NzfaK
QWBCDllPA2cz+RIBfJ/gu0Oc2yexVOautH+QJrdcdYawrazv/IFB5jXwBwbHwf7O
DNan3IdVzyqp+te8TlmdmDdjP7NQM739YFS/+qtm3gWUGiGRUnVEhk0pgWtYHbCf
5VvzcskJCE4N038YgBardrW4vSZeVcaDkZI0/dI+vEfH21xFjbf3lc6916/eFoa0
fwuZCkPTGunseHkviQPiv5YnrEPReN7TcUnPfqew3PHNI1zPHxN5hHJWPoBFh+fW
c2NREv/RErbGdN+/TQNcjPsLj2VJyEvcoOpyII3FpFP/hI707LF9i2uOSiuKH34N
OpwTpO0CgYEAybmSEFrkOU4tLDkkqdqJkiOpoqlGkeq3kQJJIB9GKHN/mguBqLvZ
2XA27Sk+NOJLA+3GgEhNf2TotC7B5dFW6FGw9az+XCTo6KQDh5nV8v6dCKUoG3sc
c1gjWCJPwNaIEklZA5fQYY9SonXv7iZn7rWXwZhn/qHhpbGbTvs8SHMCgYEA5AZi
4NZBUSsoAoBndjR5tmMZC+Kas5rucTXCL9ovYoBC+kSrz5tayG1My1vsNuxAAVHw
19QvY00HM+SYiICna1GWp//ufRpUMgrVsqd83oY7N2FaMpy/VWfZXrf3Yt5nHBnO
4lXN3PreRqg28JfvVmdRkc7AHdPY37l2EbzprM8CgYEAv3v5nLDKp2MAGlR76wfZ
QvG7Wv6YUHafnXSv+V/2dvt8CrwVbhgzKOYOHX3i4MxWLPqOTMNVXTJqem9P+1mF
x62T7wExykH3HK5j81oh7zGl2sj7k2p/jTYDBuw7DHAYZlNdvb1kPtePt0uAX23x
hnS2Az0qqlj8Gw7GwGhXxuUCgYEAtQQE1qv/qinyVxoMCCBcRtegeHjpio8Bnsmo
YEh6uV1MzlRZeDPB+74Y6o8MlAU0QlgEM7Hz9IafoyhjlmlbfqyERtW7Q4D1Ocy0
HGEtlZFFzQ7xhaA9m9UXEERGlSws+nfabn7jL/vPHJRJGPHkQ9k9Pdy9UnBsiB44
hphLgK0CgYEAmHhoQB1IPK6auV2oeVocgtiLYSrJI55iCxeJ5IDPfw+qtwfiK6Gb
w4GWkdK15ljRAo4qvAB+f8qpnPFxXzdGxJLt4Y9b4/6ie/g3oRpwGBQRm9NJIB/y
/UXvXEKhtUciq1nuVOvFfE4F9sX9y6rGyhk5X+KA6rQFj9vaW897wgs=
-----END RSA PRIVATE KEY-----
(registry) Calling .GetURL
(registry) DBG | COMMAND: /usr/local/bin/VBoxManage showvminfo registry --machinereadable
(registry) DBG | STDOUT:
(registry) DBG | {
(registry) DBG | name="registry"
(registry) DBG | groups="/"
(registry) DBG | ostype="Linux 2.6 / 3.x / 4.x (64-bit)"
(registry) DBG | UUID="16c87535-d443-4d18-8957-4a2a35e1a449"
(registry) DBG | CfgFile="/Users/todd/.docker/machine/machines/registry/registry/registry.vbox"
(registry) DBG | SnapFldr="/Users/todd/.docker/machine/machines/registry/registry/Snapshots"
(registry) DBG | LogFldr="/Users/todd/.docker/machine/machines/registry/registry/Logs"
(registry) DBG | hardwareuuid="16c87535-d443-4d18-8957-4a2a35e1a449"
(registry) DBG | memory=2048
(registry) DBG | pagefusion="off"
(registry) DBG | vram=8
(registry) DBG | cpuexecutioncap=100
(registry) DBG | hpet="on"
(registry) DBG | chipset="piix3"
(registry) DBG | firmware="BIOS"
(registry) DBG | cpus=1
(registry) DBG | pae="on"
(registry) DBG | longmode="on"
(registry) DBG | cpuid-portability-level=0
(registry) DBG | bootmenu="disabled"
(registry) DBG | boot1="dvd"
(registry) DBG | boot2="dvd"
(registry) DBG | boot3="disk"
(registry) DBG | boot4="none"
(registry) DBG | acpi="on"
(registry) DBG | ioapic="on"
(registry) DBG | biossystemtimeoffset=0
(registry) DBG | rtcuseutc="on"
(registry) DBG | hwvirtex="on"
(registry) DBG | nestedpaging="on"
(registry) DBG | largepages="on"
(registry) DBG | vtxvpid="on"
(registry) DBG | vtxux="on"
(registry) DBG | paravirtprovider="default"
(registry) DBG | VMState="running"
(registry) DBG | VMStateChangeTime="2016-01-07T05:18:39.037000000"
(registry) DBG | monitorcount=1
(registry) DBG | accelerate3d="off"
(registry) DBG | accelerate2dvideo="off"
(registry) DBG | teleporterenabled="off"
(registry) DBG | teleporterport=0
(registry) DBG | teleporteraddress=""
(registry) DBG | teleporterpassword=""
(registry) DBG | tracing-enabled="off"
(registry) DBG | tracing-allow-vm-access="off"
(registry) DBG | tracing-config=""
(registry) DBG | autostart-enabled="off"
(registry) DBG | autostart-delay=0
(registry) DBG | defaultfrontend=""
(registry) DBG | storagecontrollername0="SATA"
(registry) DBG | storagecontrollertype0="IntelAhci"
(registry) DBG | storagecontrollerinstance0="0"
(registry) DBG | storagecontrollermaxportcount0="30"
(registry) DBG | storagecontrollerportcount0="30"
(registry) DBG | storagecontrollerbootable0="on"
(registry) DBG | "SATA-0-0"="/Users/todd/.docker/machine/machines/registry/boot2docker.iso"
(registry) DBG | "SATA-ImageUUID-0-0"="b732119e-8237-4676-9b30-b05814370564"
(registry) DBG | "SATA-tempeject"="off"
(registry) DBG | "SATA-IsEjected"="off"
(registry) DBG | "SATA-1-0"="/Users/todd/.docker/machine/machines/registry/disk.vmdk"
(registry) DBG | "SATA-ImageUUID-1-0"="80791e9a-dbd2-488c-abe6-5128ea60fb54"
(registry) DBG | "SATA-2-0"="none"
(registry) DBG | "SATA-3-0"="none"
(registry) DBG | "SATA-4-0"="none"
(registry) DBG | "SATA-5-0"="none"
(registry) DBG | "SATA-6-0"="none"
(registry) DBG | "SATA-7-0"="none"
(registry) DBG | "SATA-8-0"="none"
(registry) DBG | "SATA-9-0"="none"
(registry) DBG | "SATA-10-0"="none"
(registry) DBG | "SATA-11-0"="none"
(registry) DBG | "SATA-12-0"="none"
(registry) DBG | "SATA-13-0"="none"
(registry) DBG | "SATA-14-0"="none"
(registry) DBG | "SATA-15-0"="none"
(registry) DBG | "SATA-16-0"="none"
(registry) DBG | "SATA-17-0"="none"
(registry) DBG | "SATA-18-0"="none"
(registry) DBG | "SATA-19-0"="none"
(registry) DBG | "SATA-20-0"="none"
(registry) DBG | "SATA-21-0"="none"
(registry) DBG | "SATA-22-0"="none"
(registry) DBG | "SATA-23-0"="none"
(registry) DBG | "SATA-24-0"="none"
(registry) DBG | "SATA-25-0"="none"
(registry) DBG | "SATA-26-0"="none"
(registry) DBG | "SATA-27-0"="none"
(registry) DBG | "SATA-28-0"="none"
(registry) DBG | "SATA-29-0"="none"
(registry) DBG | natnet1="nat"
(registry) DBG | macaddress1="080027D369AC"
(registry) DBG | cableconnected1="on"
(registry) DBG | nic1="nat"
(registry) DBG | nictype1="82540EM"
(registry) DBG | nicspeed1="0"
(registry) DBG | mtu="0"
(registry) DBG | sockSnd="64"
(registry) DBG | sockRcv="64"
(registry) DBG | tcpWndSnd="64"
(registry) DBG | tcpWndRcv="64"
(registry) DBG | Forwarding(0)="ssh,tcp,127.0.0.1,61554,,22"
(registry) DBG | hostonlyadapter2="vboxnet1"
(registry) DBG | macaddress2="080027A8AF71"
(registry) DBG | cableconnected2="on"
(registry) DBG | nic2="hostonly"
(registry) DBG | nictype2="82540EM"
(registry) DBG | nicspeed2="0"
(registry) DBG | nic3="none"
(registry) DBG | nic4="none"
(registry) DBG | nic5="none"
(registry) DBG | nic6="none"
(registry) DBG | nic7="none"
(registry) DBG | nic8="none"
(registry) DBG | hidpointing="ps2mouse"
(registry) DBG | hidkeyboard="ps2kbd"
(registry) DBG | uart1="off"
(registry) DBG | uart2="off"
(registry) DBG | lpt1="off"
(registry) DBG | lpt2="off"
(registry) DBG | audio="none"
(registry) DBG | clipboard="disabled"
(registry) DBG | draganddrop="disabled"
(registry) DBG | SessionName="headless"
(registry) DBG | VideoMode="720,400,0"@0,0 1
(registry) DBG | vrde="off"
(registry) DBG | usb="off"
(registry) DBG | ehci="off"
(registry) DBG | xhci="off"
(registry) DBG | SharedFolderNameMachineMapping1="Users"
(registry) DBG | SharedFolderPathMachineMapping1="/Users"
(registry) DBG | VRDEActiveConnection="off"
(registry) DBG | VRDEClients=0
(registry) DBG | vcpenabled="off"
(registry) DBG | vcpscreens=0
(registry) DBG | vcpfile="/Users/todd/.docker/machine/machines/registry/registry/registry.webm"
(registry) DBG | vcpwidth=1024
(registry) DBG | vcpheight=768
(registry) DBG | vcprate=512
(registry) DBG | vcpfps=25
(registry) DBG | GuestMemoryBalloon=0
(registry) DBG | GuestOSType="Linux26_64"
(registry) DBG | GuestAdditionsRunLevel=2
(registry) DBG | GuestAdditionsVersion="5.0.10 r104061"
(registry) DBG | GuestAdditionsFacility_VirtualBox Base Driver=50,1452143934925
(registry) DBG | GuestAdditionsFacility_VirtualBox System Service=50,1452143951932
(registry) DBG | GuestAdditionsFacility_Seamless Mode=0,1452143934925
(registry) DBG | GuestAdditionsFacility_Graphics Mode=0,1452143934925
(registry) DBG | }
(registry) DBG | STDERR:
(registry) DBG | {
(registry) DBG | }
(registry) DBG | Using SSH client type: external
(registry) DBG | {[-o PasswordAuthentication=no -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o LogLevel=quiet -o ConnectionAttempts=3 -o ConnectTimeout=10 -o ControlMaster=no -o ControlPath=none [email protected] -o IdentitiesOnly=yes -i /Users/todd/.docker/machine/machines/registry/id_rsa -p 61554] /usr/bin/ssh}
(registry) DBG | About to run SSH command:
(registry) DBG | ip addr show dev eth1
(registry) DBG | SSH cmd err, output:
(registry) DBG | link/ether 08:00:27:a8:af:71 brd ff:ff:ff:ff:ff:ff
(registry) DBG | inet 192.168.99.104/24 brd 192.168.99.255 scope global eth1
(registry) DBG | valid_lft forever preferred_lft forever
(registry) DBG | inet6 fe80::a00:27ff:fea8:af71/64 scope link
(registry) DBG | valid_lft forever preferred_lft forever
(registry) DBG |
(registry) DBG | SSH returned: 4: eth1:
(registry) DBG | link/ether 08:00:27:a8:af:71 brd ff:ff:ff:ff:ff:ff
(registry) DBG | inet 192.168.99.104/24 brd 192.168.99.255 scope global eth1
(registry) DBG | valid_lft forever preferred_lft forever
(registry) DBG | inet6 fe80::a00:27ff:fea8:af71/64 scope link
(registry) DBG | valid_lft forever preferred_lft forever
(registry) DBG |
(registry) DBG | END SSH
(registry) DBG |
(registry) Calling .DriverName
(registry) Calling .GetSSHHostname
(registry) Calling .GetSSHPort
(registry) Calling .GetSSHKeyPath
(registry) Calling .GetSSHKeyPath
(registry) Calling .GetSSHUsername
Using SSH client type: external
{[-o PasswordAuthentication=no -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o LogLevel=quiet -o ConnectionAttempts=3 -o ConnectTimeout=10 -o ControlMaster=no -o ControlPath=none [email protected] -o IdentitiesOnly=yes -i /Users/todd/.docker/machine/machines/registry/id_rsa -p 61554] /usr/bin/ssh}
About to run SSH command:
printf %s "
EXTRA_ARGS='
--label provider=virtualbox
'
CACERT=/var/lib/boot2docker/ca.pem
DOCKER_HOST='-H tcp://0.0.0.0:2376'
DOCKER_STORAGE=aufs
DOCKER_TLS=auto
SERVERKEY=/var/lib/boot2docker/server-key.pem
SERVERCERT=/var/lib/boot2docker/server.pem
" | sudo tee /var/lib/boot2docker/profile
SSH cmd err, output:
EXTRA_ARGS='
--label provider=virtualbox
'
CACERT=/var/lib/boot2docker/ca.pem
DOCKER_HOST='-H tcp://0.0.0.0:2376'
DOCKER_STORAGE=aufs
DOCKER_TLS=auto
SERVERKEY=/var/lib/boot2docker/server-key.pem
SERVERCERT=/var/lib/boot2docker/server.pem
(registry) Calling .GetSSHHostname
(registry) Calling .GetSSHPort
(registry) Calling .GetSSHKeyPath
(registry) Calling .GetSSHKeyPath
(registry) Calling .GetSSHUsername
Using SSH client type: external
{[-o PasswordAuthentication=no -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o LogLevel=quiet -o ConnectionAttempts=3 -o ConnectTimeout=10 -o ControlMaster=no -o ControlPath=none [email protected] -o IdentitiesOnly=yes -i /Users/todd/.docker/machine/machines/registry/id_rsa -p 61554] /usr/bin/ssh}
About to run SSH command:
sudo /etc/init.d/docker start
SSH cmd err, output:
Generate server cert
/usr/local/bin/generate_cert --host=registry,127.0.0.1,10.0.2.15,192.168.99.104 --ca=/var/lib/boot2docker/ca.pem --ca-key=/var/lib/boot2docker/tls/cakey.pem --cert=/var/lib/boot2docker/server.pem --key=/var/lib/boot2docker/server-key.pem --org=Boot2Docker
2016/01/07 05:19:20 Preventing overwrite: the following files already exist: "/var/lib/boot2docker/server.pem" "/var/lib/boot2docker/server-key.pem". To overwrite files, add --overwrite
.
(registry) Calling .GetSSHHostname
(registry) Calling .GetSSHPort
(registry) Calling .GetSSHKeyPath
(registry) Calling .GetSSHKeyPath
(registry) Calling .GetSSHUsername
Using SSH client type: external
{[-o PasswordAuthentication=no -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o LogLevel=quiet -o ConnectionAttempts=3 -o ConnectTimeout=10 -o ControlMaster=no -o ControlPath=none [email protected] -o IdentitiesOnly=yes -i /Users/todd/.docker/machine/machines/registry/id_rsa -p 61554] /usr/bin/ssh}
About to run SSH command:
netstat -an
SSH cmd err, output:
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN
tcp 36 0 10.0.2.15:22 10.0.2.2:61576 ESTABLISHED
tcp 0 0 10.0.2.15:22 10.0.2.2:61562 TIME_WAIT
tcp 0 0 :::22 :::* LISTEN
Active UNIX domain sockets (servers and established)
Proto RefCnt Flags Type State I-Node Path
unix 2 [ ACC ] STREAM LISTENING 17854 /var/run/acpid.socket
unix 2 [ ACC ] SEQPACKET LISTENING 14282 /run/udev/control
unix 3 [ ] DGRAM 14291
unix 3 [ ] DGRAM 14292
unix 3 [ ] STREAM CONNECTED 19268
unix 3 [ ] STREAM CONNECTED 19269
(registry) Calling .GetSSHHostname
(registry) Calling .GetSSHPort
(registry) Calling .GetSSHKeyPath
(registry) Calling .GetSSHKeyPath
(registry) Calling .GetSSHUsername
Using SSH client type: external
{[-o PasswordAuthentication=no -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o LogLevel=quiet -o ConnectionAttempts=3 -o ConnectTimeout=10 -o ControlMaster=no -o ControlPath=none [email protected] -o IdentitiesOnly=yes -i /Users/todd/.docker/machine/machines/registry/id_rsa -p 61554] /usr/bin/ssh}
About to run SSH command:
netstat -an
SSH cmd err, output:
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN
tcp 0 0 10.0.2.15:22 10.0.2.2:61562 TIME_WAIT
tcp 36 0 10.0.2.15:22 10.0.2.2:61577 ESTABLISHED
tcp 0 0 :::22 :::* LISTEN
tcp 0 0 :::2376 :::* LISTEN
Active UNIX domain sockets (servers and established)
Proto RefCnt Flags Type State I-Node Path
unix 2 [ ACC ] STREAM LISTENING 19354 /var/lib/docker/network/files/bd684d31dc97decf6f6ca4b4b54743921ee24555ae514291d23fa14f6a521a10.sock
unix 2 [ ACC ] STREAM LISTENING 19287 /var/run/docker.sock
unix 2 [ ACC ] STREAM LISTENING 17854 /var/run/acpid.socket
unix 2 [ ACC ] SEQPACKET LISTENING 14282 /run/udev/control
unix 3 [ ] DGRAM 14291
unix 3 [ ] STREAM CONNECTED 19523
unix 3 [ ] DGRAM 14292
unix 3 [ ] STREAM CONNECTED 19524
(registry) Calling .GetIP
(registry) DBG | COMMAND: /usr/local/bin/VBoxManage showvminfo registry --machinereadable
(registry) DBG | STDOUT:
(registry) DBG | {
(registry) DBG | name="registry"
(registry) DBG | groups="/"
(registry) DBG | ostype="Linux 2.6 / 3.x / 4.x (64-bit)"
(registry) DBG | UUID="16c87535-d443-4d18-8957-4a2a35e1a449"
(registry) DBG | CfgFile="/Users/todd/.docker/machine/machines/registry/registry/registry.vbox"
(registry) DBG | SnapFldr="/Users/todd/.docker/machine/machines/registry/registry/Snapshots"
(registry) DBG | LogFldr="/Users/todd/.docker/machine/machines/registry/registry/Logs"
(registry) DBG | hardwareuuid="16c87535-d443-4d18-8957-4a2a35e1a449"
(registry) DBG | memory=2048
(registry) DBG | pagefusion="off"
(registry) DBG | vram=8
(registry) DBG | cpuexecutioncap=100
(registry) DBG | hpet="on"
(registry) DBG | chipset="piix3"
(registry) DBG | firmware="BIOS"
(registry) DBG | cpus=1
(registry) DBG | pae="on"
(registry) DBG | longmode="on"
(registry) DBG | cpuid-portability-level=0
(registry) DBG | bootmenu="disabled"
(registry) DBG | boot1="dvd"
(registry) DBG | boot2="dvd"
(registry) DBG | boot3="disk"
(registry) DBG | boot4="none"
(registry) DBG | acpi="on"
(registry) DBG | ioapic="on"
(registry) DBG | biossystemtimeoffset=0
(registry) DBG | rtcuseutc="on"
(registry) DBG | hwvirtex="on"
(registry) DBG | nestedpaging="on"
(registry) DBG | largepages="on"
(registry) DBG | vtxvpid="on"
(registry) DBG | vtxux="on"
(registry) DBG | paravirtprovider="default"
(registry) DBG | VMState="running"
(registry) DBG | VMStateChangeTime="2016-01-07T05:18:39.037000000"
(registry) DBG | monitorcount=1
(registry) DBG | accelerate3d="off"
(registry) DBG | accelerate2dvideo="off"
(registry) DBG | teleporterenabled="off"
(registry) DBG | teleporterport=0
(registry) DBG | teleporteraddress=""
(registry) DBG | teleporterpassword=""
(registry) DBG | tracing-enabled="off"
(registry) DBG | tracing-allow-vm-access="off"
(registry) DBG | tracing-config=""
(registry) DBG | autostart-enabled="off"
(registry) DBG | autostart-delay=0
(registry) DBG | defaultfrontend=""
(registry) DBG | storagecontrollername0="SATA"
(registry) DBG | storagecontrollertype0="IntelAhci"
(registry) DBG | storagecontrollerinstance0="0"
(registry) DBG | storagecontrollermaxportcount0="30"
(registry) DBG | storagecontrollerportcount0="30"
(registry) DBG | storagecontrollerbootable0="on"
(registry) DBG | "SATA-0-0"="/Users/todd/.docker/machine/machines/registry/boot2docker.iso"
(registry) DBG | "SATA-ImageUUID-0-0"="b732119e-8237-4676-9b30-b05814370564"
(registry) DBG | "SATA-tempeject"="off"
(registry) DBG | "SATA-IsEjected"="off"
(registry) DBG | "SATA-1-0"="/Users/todd/.docker/machine/machines/registry/disk.vmdk"
(registry) DBG | "SATA-ImageUUID-1-0"="80791e9a-dbd2-488c-abe6-5128ea60fb54"
(registry) DBG | "SATA-2-0"="none"
(registry) DBG | "SATA-3-0"="none"
(registry) DBG | "SATA-4-0"="none"
(registry) DBG | "SATA-5-0"="none"
(registry) DBG | "SATA-6-0"="none"
(registry) DBG | "SATA-7-0"="none"
(registry) DBG | "SATA-8-0"="none"
(registry) DBG | "SATA-9-0"="none"
(registry) DBG | "SATA-10-0"="none"
(registry) DBG | "SATA-11-0"="none"
(registry) DBG | "SATA-12-0"="none"
(registry) DBG | "SATA-13-0"="none"
(registry) DBG | "SATA-14-0"="none"
(registry) DBG | "SATA-15-0"="none"
(registry) DBG | "SATA-16-0"="none"
(registry) DBG | "SATA-17-0"="none"
(registry) DBG | "SATA-18-0"="none"
(registry) DBG | "SATA-19-0"="none"
(registry) DBG | "SATA-20-0"="none"
(registry) DBG | "SATA-21-0"="none"
(registry) DBG | "SATA-22-0"="none"
(registry) DBG | "SATA-23-0"="none"
(registry) DBG | "SATA-24-0"="none"
(registry) DBG | "SATA-25-0"="none"
(registry) DBG | "SATA-26-0"="none"
(registry) DBG | "SATA-27-0"="none"
(registry) DBG | "SATA-28-0"="none"
(registry) DBG | "SATA-29-0"="none"
(registry) DBG | natnet1="nat"
(registry) DBG | macaddress1="080027D369AC"
(registry) DBG | cableconnected1="on"
(registry) DBG | nic1="nat"
(registry) DBG | nictype1="82540EM"
(registry) DBG | nicspeed1="0"
(registry) DBG | mtu="0"
(registry) DBG | sockSnd="64"
(registry) DBG | sockRcv="64"
(registry) DBG | tcpWndSnd="64"
(registry) DBG | tcpWndRcv="64"
(registry) DBG | Forwarding(0)="ssh,tcp,127.0.0.1,61554,,22"
(registry) DBG | hostonlyadapter2="vboxnet1"
(registry) DBG | macaddress2="080027A8AF71"
(registry) DBG | cableconnected2="on"
(registry) DBG | nic2="hostonly"
(registry) DBG | nictype2="82540EM"
(registry) DBG | nicspeed2="0"
(registry) DBG | nic3="none"
(registry) DBG | nic4="none"
(registry) DBG | nic5="none"
(registry) DBG | nic6="none"
(registry) DBG | nic7="none"
(registry) DBG | nic8="none"
(registry) DBG | hidpointing="ps2mouse"
(registry) DBG | hidkeyboard="ps2kbd"
(registry) DBG | uart1="off"
(registry) DBG | uart2="off"
(registry) DBG | lpt1="off"
(registry) DBG | lpt2="off"
(registry) DBG | audio="none"
(registry) DBG | clipboard="disabled"
(registry) DBG | draganddrop="disabled"
(registry) DBG | SessionName="headless"
(registry) DBG | VideoMode="720,400,0"@0,0 1
(registry) DBG | vrde="off"
(registry) DBG | usb="off"
(registry) DBG | ehci="off"
(registry) DBG | xhci="off"
(registry) DBG | SharedFolderNameMachineMapping1="Users"
(registry) DBG | SharedFolderPathMachineMapping1="/Users"
(registry) DBG | VRDEActiveConnection="off"
(registry) DBG | VRDEClients=0
(registry) DBG | vcpenabled="off"
(registry) DBG | vcpscreens=0
(registry) DBG | vcpfile="/Users/todd/.docker/machine/machines/registry/registry/registry.webm"
(registry) DBG | vcpwidth=1024
(registry) DBG | vcpheight=768
(registry) DBG | vcprate=512
(registry) DBG | vcpfps=25
(registry) DBG | GuestMemoryBalloon=0
(registry) DBG | GuestOSType="Linux26_64"
(registry) DBG | GuestAdditionsRunLevel=2
(registry) DBG | GuestAdditionsVersion="5.0.10 r104061"
(registry) DBG | GuestAdditionsFacility_VirtualBox Base Driver=50,1452143934925
(registry) DBG | GuestAdditionsFacility_VirtualBox System Service=50,1452143951932
(registry) DBG | GuestAdditionsFacility_Seamless Mode=0,1452143934925
(registry) DBG | GuestAdditionsFacility_Graphics Mode=0,1452143934925
(registry) DBG | }
(registry) DBG | STDERR:
(registry) DBG | {
(registry) DBG | }
(registry) DBG | Using SSH client type: external
(registry) DBG | {[-o PasswordAuthentication=no -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o LogLevel=quiet -o ConnectionAttempts=3 -o ConnectTimeout=10 -o ControlMaster=no -o ControlPath=none [email protected] -o IdentitiesOnly=yes -i /Users/todd/.docker/machine/machines/registry/id_rsa -p 61554] /usr/bin/ssh}
(registry) DBG | About to run SSH command:
(registry) DBG | ip addr show dev eth1
(registry) DBG | SSH cmd err, output:
(registry) DBG | link/ether 08:00:27:a8:af:71 brd ff:ff:ff:ff:ff:ff
(registry) DBG | inet 192.168.99.104/24 brd 192.168.99.255 scope global eth1
(registry) DBG | valid_lft forever preferred_lft forever
(registry) DBG | inet6 fe80::a00:27ff:fea8:af71/64 scope link
(registry) DBG | valid_lft forever preferred_lft forever
(registry) DBG |
(registry) DBG | SSH returned: 4: eth1:
(registry) DBG | link/ether 08:00:27:a8:af:71 brd ff:ff:ff:ff:ff:ff
(registry) DBG | inet 192.168.99.104/24 brd 192.168.99.255 scope global eth1
(registry) DBG | valid_lft forever preferred_lft forever
(registry) DBG | inet6 fe80::a00:27ff:fea8:af71/64 scope link
(registry) DBG | valid_lft forever preferred_lft forever
(registry) DBG |
(registry) DBG | END SSH
(registry) DBG |
(registry) Calling .GetURL
(registry) DBG | COMMAND: /usr/local/bin/VBoxManage showvminfo registry --machinereadable
(registry) DBG | STDOUT:
(registry) DBG | {
(registry) DBG | name="registry"
(registry) DBG | groups="/"
(registry) DBG | ostype="Linux 2.6 / 3.x / 4.x (64-bit)"
(registry) DBG | UUID="16c87535-d443-4d18-8957-4a2a35e1a449"
(registry) DBG | CfgFile="/Users/todd/.docker/machine/machines/registry/registry/registry.vbox"
(registry) DBG | SnapFldr="/Users/todd/.docker/machine/machines/registry/registry/Snapshots"
(registry) DBG | LogFldr="/Users/todd/.docker/machine/machines/registry/registry/Logs"
(registry) DBG | hardwareuuid="16c87535-d443-4d18-8957-4a2a35e1a449"
(registry) DBG | memory=2048
(registry) DBG | pagefusion="off"
(registry) DBG | vram=8
(registry) DBG | cpuexecutioncap=100
(registry) DBG | hpet="on"
(registry) DBG | chipset="piix3"
(registry) DBG | firmware="BIOS"
(registry) DBG | cpus=1
(registry) DBG | pae="on"
(registry) DBG | longmode="on"
(registry) DBG | cpuid-portability-level=0
(registry) DBG | bootmenu="disabled"
(registry) DBG | boot1="dvd"
(registry) DBG | boot2="dvd"
(registry) DBG | boot3="disk"
(registry) DBG | boot4="none"
(registry) DBG | acpi="on"
(registry) DBG | ioapic="on"
(registry) DBG | biossystemtimeoffset=0
(registry) DBG | rtcuseutc="on"
(registry) DBG | hwvirtex="on"
(registry) DBG | nestedpaging="on"
(registry) DBG | largepages="on"
(registry) DBG | vtxvpid="on"
(registry) DBG | vtxux="on"
(registry) DBG | paravirtprovider="default"
(registry) DBG | VMState="running"
(registry) DBG | VMStateChangeTime="2016-01-07T05:18:39.037000000"
(registry) DBG | monitorcount=1
(registry) DBG | accelerate3d="off"
(registry) DBG | accelerate2dvideo="off"
(registry) DBG | teleporterenabled="off"
(registry) DBG | teleporterport=0
(registry) DBG | teleporteraddress=""
(registry) DBG | teleporterpassword=""
(registry) DBG | tracing-enabled="off"
(registry) DBG | tracing-allow-vm-access="off"
(registry) DBG | tracing-config=""
(registry) DBG | autostart-enabled="off"
(registry) DBG | autostart-delay=0
(registry) DBG | defaultfrontend=""
(registry) DBG | storagecontrollername0="SATA"
(registry) DBG | storagecontrollertype0="IntelAhci"
(registry) DBG | storagecontrollerinstance0="0"
(registry) DBG | storagecontrollermaxportcount0="30"
(registry) DBG | storagecontrollerportcount0="30"
(registry) DBG | storagecontrollerbootable0="on"
(registry) DBG | "SATA-0-0"="/Users/todd/.docker/machine/machines/registry/boot2docker.iso"
(registry) DBG | "SATA-ImageUUID-0-0"="b732119e-8237-4676-9b30-b05814370564"
(registry) DBG | "SATA-tempeject"="off"
(registry) DBG | "SATA-IsEjected"="off"
(registry) DBG | "SATA-1-0"="/Users/todd/.docker/machine/machines/registry/disk.vmdk"
(registry) DBG | "SATA-ImageUUID-1-0"="80791e9a-dbd2-488c-abe6-5128ea60fb54"
(registry) DBG | "SATA-2-0"="none"
(registry) DBG | "SATA-3-0"="none"
(registry) DBG | "SATA-4-0"="none"
(registry) DBG | "SATA-5-0"="none"
(registry) DBG | "SATA-6-0"="none"
(registry) DBG | "SATA-7-0"="none"
(registry) DBG | "SATA-8-0"="none"
(registry) DBG | "SATA-9-0"="none"
(registry) DBG | "SATA-10-0"="none"
(registry) DBG | "SATA-11-0"="none"
(registry) DBG | "SATA-12-0"="none"
(registry) DBG | "SATA-13-0"="none"
(registry) DBG | "SATA-14-0"="none"
(registry) DBG | "SATA-15-0"="none"
(registry) DBG | "SATA-16-0"="none"
(registry) DBG | "SATA-17-0"="none"
(registry) DBG | "SATA-18-0"="none"
(registry) DBG | "SATA-19-0"="none"
(registry) DBG | "SATA-20-0"="none"
(registry) DBG | "SATA-21-0"="none"
(registry) DBG | "SATA-22-0"="none"
(registry) DBG | "SATA-23-0"="none"
(registry) DBG | "SATA-24-0"="none"
(registry) DBG | "SATA-25-0"="none"
(registry) DBG | "SATA-26-0"="none"
(registry) DBG | "SATA-27-0"="none"
(registry) DBG | "SATA-28-0"="none"
(registry) DBG | "SATA-29-0"="none"
(registry) DBG | natnet1="nat"
(registry) DBG | macaddress1="080027D369AC"
(registry) DBG | cableconnected1="on"
(registry) DBG | nic1="nat"
(registry) DBG | nictype1="82540EM"
(registry) DBG | nicspeed1="0"
(registry) DBG | mtu="0"
(registry) DBG | sockSnd="64"
(registry) DBG | sockRcv="64"
(registry) DBG | tcpWndSnd="64"
(registry) DBG | tcpWndRcv="64"
(registry) DBG | Forwarding(0)="ssh,tcp,127.0.0.1,61554,,22"
(registry) DBG | hostonlyadapter2="vboxnet1"
(registry) DBG | macaddress2="080027A8AF71"
(registry) DBG | cableconnected2="on"
(registry) DBG | nic2="hostonly"
(registry) DBG | nictype2="82540EM"
(registry) DBG | nicspeed2="0"
(registry) DBG | nic3="none"
(registry) DBG | nic4="none"
(registry) DBG | nic5="none"
(registry) DBG | nic6="none"
(registry) DBG | nic7="none"
(registry) DBG | nic8="none"
(registry) DBG | hidpointing="ps2mouse"
(registry) DBG | hidkeyboard="ps2kbd"
(registry) DBG | uart1="off"
(registry) DBG | uart2="off"
(registry) DBG | lpt1="off"
(registry) DBG | lpt2="off"
(registry) DBG | audio="none"
(registry) DBG | clipboard="disabled"
(registry) DBG | draganddrop="disabled"
(registry) DBG | SessionName="headless"
(registry) DBG | VideoMode="720,400,0"@0,0 1
(registry) DBG | vrde="off"
(registry) DBG | usb="off"
(registry) DBG | ehci="off"
(registry) DBG | xhci="off"
(registry) DBG | SharedFolderNameMachineMapping1="Users"
(registry) DBG | SharedFolderPathMachineMapping1="/Users"
(registry) DBG | VRDEActiveConnection="off"
(registry) DBG | VRDEClients=0
(registry) DBG | vcpenabled="off"
(registry) DBG | vcpscreens=0
(registry) DBG | vcpfile="/Users/todd/.docker/machine/machines/registry/registry/registry.webm"
(registry) DBG | vcpwidth=1024
(registry) DBG | vcpheight=768
(registry) DBG | vcprate=512
(registry) DBG | vcpfps=25
(registry) DBG | GuestMemoryBalloon=0
(registry) DBG | GuestOSType="Linux26_64"
(registry) DBG | GuestAdditionsRunLevel=2
(registry) DBG | GuestAdditionsVersion="5.0.10 r104061"
(registry) DBG | GuestAdditionsFacility_VirtualBox Base Driver=50,1452143934925
(registry) DBG | GuestAdditionsFacility_VirtualBox System Service=50,1452143951932
(registry) DBG | GuestAdditionsFacility_Seamless Mode=0,1452143934925
(registry) DBG | GuestAdditionsFacility_Graphics Mode=0,1452143934925
(registry) DBG | }
(registry) DBG | STDERR:
(registry) DBG | {
(registry) DBG | }
(registry) DBG | Using SSH client type: external
(registry) DBG | {[-o PasswordAuthentication=no -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o LogLevel=quiet -o ConnectionAttempts=3 -o ConnectTimeout=10 -o ControlMaster=no -o ControlPath=none [email protected] -o IdentitiesOnly=yes -i /Users/todd/.docker/machine/machines/registry/id_rsa -p 61554] /usr/bin/ssh}
(registry) DBG | About to run SSH command:
(registry) DBG | ip addr show dev eth1
(registry) DBG | SSH cmd err, output:
(registry) DBG | link/ether 08:00:27:a8:af:71 brd ff:ff:ff:ff:ff:ff
(registry) DBG | inet 192.168.99.104/24 brd 192.168.99.255 scope global eth1
(registry) DBG | valid_lft forever preferred_lft forever
(registry) DBG | inet6 fe80::a00:27ff:fea8:af71/64 scope link
(registry) DBG | valid_lft forever preferred_lft forever
(registry) DBG |
(registry) DBG | SSH returned: 4: eth1:
(registry) DBG | link/ether 08:00:27:a8:af:71 brd ff:ff:ff:ff:ff:ff
(registry) DBG | inet 192.168.99.104/24 brd 192.168.99.255 scope global eth1
(registry) DBG | valid_lft forever preferred_lft forever
(registry) DBG | inet6 fe80::a00:27ff:fea8:af71/64 scope link
(registry) DBG | valid_lft forever preferred_lft forever
(registry) DBG |
(registry) DBG | END SSH
(registry) DBG |
Reading CA certificate from /Users/todd/.docker/machine/certs/ca.pem
Reading server certificate from /Users/todd/.docker/machine/machines/registry/server.pem
Reading server key from /Users/todd/.docker/machine/machines/registry/server-key.pem
Reticulating splines...
(registry) Calling .GetConfigRaw
Making call to close driver server
(flag-lookup) Calling .Close
Successfully made call to close driver server
f2ef4387b95e: Verifying Checksum
f2ef4387b95e: Download complete
75ed0b50ba1d: Verifying Checksum
75ed0b50ba1d: Download complete
e5ab901dcf2d: Pull complete
30ad296c0ea0: Pull complete
3dba40dec256: Pull complete
f2ef4387b95e: Pull complete
53bc8dcc4791: Pull complete
75ed0b50ba1d: Pull complete
17c3a7ed5521: Pull complete
8aca9e0ecf68: Pull complete
4d1828359d36: Pull complete
46ed7df7f742: Pull complete
b5e8ce623ef8: Pull complete
049dca6ef253: Pull complete
bdb608bc4555: Pull complete
8b3d489cfb73: Pull complete
c74500bbce24: Pull complete
9f3e605442f6: Pull complete
d9125e9e799b: Pull complete
Digest: sha256:8cc8023462905929df9a79ff67ee435a36848ce7a10f18d6d0faba9306b97274
Status: Downloaded newer image for progrium/consul:latest
The push refers to a repository 192.168.99.104:5000/consul
3ba9d8714085: Download complete
5768a21d659b: Verifying Checksum
5768a21d659b: Download complete
5077391c6e9a: Verifying Checksum
5077391c6e9a: Download complete
3ba9d8714085: Pull complete
e5f84a8bf706: Verifying Checksum
e5f84a8bf706: Download complete
1652c4d60eb0: Pull complete
1be01d0718a5: Pull complete
6c0449c9e602: Verifying Checksum
6c0449c9e602: Download complete
1f9207dd15f1: Pull complete
6c0449c9e602: Pull complete
32e4dbc22c81: Pull complete
e5f84a8bf706: Pull complete
b212be34ea89: Pull complete
5768a21d659b: Pull complete
5077391c6e9a: Pull complete
a1c47b5aade9: Pull complete
Digest: sha256:74af3b0da0e693e4c1b3ab18602b70b9f5a1135971f12f00b3c2d4d046f8c63f
Status: Downloaded newer image for google/cadvisor:latest
The push refers to a repository 192.168.99.104:5000/cadvisor
Sending image list
Making call to close connection to plugin binary
(flag-lookup) DBG | Closing plugin on server side
Making call to close driver server
(registry) Calling .Close
Successfully made call to close driver server
Making call to close connection to plugin binary
(registry) DBG | Closing plugin on server side
Error running connection boilerplate: Error checking and/or regenerating the certs: There was an error validating certificates for host "192.168.99.104:2376": dial tcp 192.168.99.104:2376: getsockopt: connection refused
You can attempt to regenerate them using 'docker-machine regenerate-certs [name]'.
Be advised that this will trigger a Docker daemon restart which will stop running containers.
Same problem on latest OSX
Error checking TLS connection: Error checking and/or regenerating the certs: There was an error validating certificates for host "192.168.99.100:2376": read tcp 192.168.99.1:56629->192.168.99.100:2376: read: connection reset by peer
You can attempt to regenerate them using 'docker-machine regenerate-certs [name]'.
Be advised that this will trigger a Docker daemon restart which will stop running containers.
Out of the blue..
is there a fix for this?
Doing:
rm -rf /var/lib/docker/network
and restarting my terminal seems to fix this for now;
very very frustrating!
I have seen this issue with Viktor from Docker, at least in his case it seems to be related to trying to run env
immediately after a start
has finished (in a script). It seems that maybe we should wait for the Docker daemon to be up when running start
, or increase the TLS dial timeout.
What is the error Viktor is seeing?
@dgageot Basically there was a script which contained code like this:
if [[ $(docker-machine status $VM) != "Running" ]]; then
docker-machine start $VM
fi
eval $(docker-machine env $VM)
And on the env
line it would print out an error saying that the TLS dial timed out attempting to connect to the endpoint. It seems to be because the Docker daemon had not booted yet even though start
had returned already. (Which makes sense -- VirtualBox indicating that the VM is "Running" doesn't necessarily mean all system services are started up and listening yet).
I have seen this issue with Viktor from Docker, at least in his case it seems to be related to trying to run env immediately after a start has finished (in a script).
@nathanleclaire @dgageot See my two comments here and here on this issue a little over a week ago making this same observation, with a little more information and scripts to reproduce.
Thanks @cjerdonek -- you might want to try https://github.com/docker/machine/issues/2936 to see if it fixes the issue for you.
Most helpful comment
Also experiencing this. I got it just after updating the toolbox, and also this morning after booting my computer.
Stopping and starting the vm doesn't cause the issue.
Running
docker-machine regenerate-certs <name>
does get you going again.