Created
June 24, 2015 10:33
-
-
Save clns/624e8012bb776e28d536 to your computer and use it in GitHub Desktop.
boot2docker problems on Windows 8.1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
D:\> boot2docker.exe -v init | |
Boot2Docker-cli version: v1.7.0 | |
Git commit: 7d89508 | |
2015/06/24 13:25:16 executing: C:\Program Files\Oracle\VirtualBox\VBoxManage.exe showvminfo boot2docker-vm --machineread | |
able | |
Latest release for github.com/boot2docker/boot2docker is v1.7.0 | |
Downloading boot2docker ISO image... | |
Success: downloaded https://github.com/boot2docker/boot2docker/releases/download/v1.7.0/boot2docker.iso | |
to C:\Users\Calin\.boot2docker\boot2docker.iso | |
executing: C:\Program Files (x86)\OpenSSH\bin\ssh-keygen.exe ssh-keygen -t rsa -N -f C:\Users\Calin\.ssh\id_boot2docker | |
Generating public/private rsa key pair. | |
Your identification has been saved in C:\Users\Calin\.ssh\id_boot2docker. | |
Your public key has been saved in C:\Users\Calin\.ssh\id_boot2docker.pub. | |
The key fingerprint is: | |
28:be:b5:b2:97:68:ba:df:34:fd:8e:1f:bc:53:d5:1b Calin@calin-pc | |
2015/06/24 13:25:23 executing: C:\Program Files\Oracle\VirtualBox\VBoxManage.exe showvminfo boot2docker-vm --machineread | |
able | |
2015/06/24 13:25:23 executing: C:\Program Files\Oracle\VirtualBox\VBoxManage.exe list vms | |
2015/06/24 13:25:24 executing: C:\Program Files\Oracle\VirtualBox\VBoxManage.exe createvm --name boot2docker-vm --regist | |
er | |
Virtual machine 'boot2docker-vm' is created and registered. | |
UUID: 84cab0eb-0b31-47a1-bbcd-33472c3e1bde | |
Settings file: 'E:\VirtualBoxVMs\boot2docker-vm\boot2docker-vm.vbox' | |
2015/06/24 13:25:24 executing: C:\Program Files\Oracle\VirtualBox\VBoxManage.exe showvminfo boot2docker-vm --machineread | |
able | |
2015/06/24 13:25:24 executing: C:\Program Files\Oracle\VirtualBox\VBoxManage.exe setextradata boot2docker-vm VBoxInterna | |
l/CPUM/EnableHVP 1 | |
2015/06/24 13:25:24 executing: C:\Program Files\Oracle\VirtualBox\VBoxManage.exe modifyvm boot2docker-vm --firmware bios | |
--bioslogofadein off --bioslogofadeout off --bioslogodisplaytime 0 --biosbootmenu disabled --natdnshostresolver1 off -- | |
natdnsproxy1 off --ostype Linux26_64 --cpus 4 --memory 2048 --vram 8 --acpi on --ioapic on --rtcuseutc on --cpuhotplug o | |
ff --pae on --longmode on --synthcpu off --hpet on --hwvirtex on --triplefaultreset off --nestedpaging on --largepages o | |
n --vtxvpid on --vtxux off --accelerate3d off --uart1 0x3F8 4 --uartmode1 server \\.\pipe\boot2docker-vm --boot1 dvd | |
2015/06/24 13:25:24 executing: C:\Program Files\Oracle\VirtualBox\VBoxManage.exe showvminfo boot2docker-vm --machineread | |
able | |
2015/06/24 13:25:24 executing: C:\Program Files\Oracle\VirtualBox\VBoxManage.exe modifyvm boot2docker-vm --nic1 nat --ni | |
ctype1 virtio --cableconnected1 on | |
2015/06/24 13:25:24 executing: C:\Program Files\Oracle\VirtualBox\VBoxManage.exe controlvm boot2docker-vm natpf1 ssh,tcp | |
,127.0.0.1,2022,,22 | |
2015/06/24 13:25:24 executing: C:\Program Files\Oracle\VirtualBox\VBoxManage.exe list hostonlyifs | |
2015/06/24 13:25:24 executing: C:\Program Files\Oracle\VirtualBox\VBoxManage.exe list dhcpservers | |
2015/06/24 13:25:24 executing: C:\Program Files\Oracle\VirtualBox\VBoxManage.exe modifyvm boot2docker-vm --nic2 hostonly | |
--nictype2 virtio --cableconnected2 on --hostonlyadapter2 VirtualBox Host-Only Ethernet Adapter #2 | |
2015/06/24 13:25:24 executing: C:\Program Files\Oracle\VirtualBox\VBoxManage.exe storagectl boot2docker-vm --name SATA - | |
-add sata --portcount 4 --hostiocache on --bootable on | |
2015/06/24 13:25:24 executing: C:\Program Files\Oracle\VirtualBox\VBoxManage.exe storageattach boot2docker-vm --storagec | |
tl SATA --port 0 --device 0 --type dvddrive --medium C:\Users\Calin\.boot2docker\boot2docker.iso | |
Converting from raw image file="stdin" to file="E:\VirtualBoxVMs\boot2docker-vm\boot2docker-vm.vmdk"... | |
Creating dynamic image with size 20971520000 bytes (20000MB)... | |
Initializing disk with ssh keys | |
WRITING: boot2docker, please format-me 0000000 000 | |
0000 0000000 00000000035 00000000000 014423 | |
ustar 00 0000000 0000000 | |
boot2docker, please format-me | |
.ssh | |
0000700 0000000 0000000 00000000000 00000000000 007767 5 | |
ustar 00 | |
0000000 0000000 | |
.ssh/authorized | |
_keys 0000644 0000000 0000000 00000000340 | |
00000000000 013131 | |
ustar 00 0000000 0000000 | |
ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAIEA6r4tMK9a9gd7O3t5tBdk368+T2LGU9rL39RaxQA+eI7raNjnKCPn+cXpxwXGeVc4olY | |
uuF70cXtuXM9mr0nN9vhx0fKeTknahAOssGOzpAJzL77qNSOm5OX8vuzpxTCmnB3NrQlgMyLXugYzI+Tlc/q3gBbtrM+u7m7wwOiMMP8= Calin@calin-pc | |
.ssh/authorized_keys2 | |
0000644 0000000 0000000 00000000340 00000000000 013213 | |
ustar 00 | |
0000000 0000000 | |
ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAIEA6r4t | |
MK9a9gd7O3t5tBdk368+T2LGU9rL39RaxQA+eI7raNjnKCPn+cXpxwXGeVc4olYuuF70cXtuXM9mr0nN9vhx0fKeTknahAOssGOzpAJzL77qNSOm5OX8vuzp | |
xTCmnB3NrQlgMyLXugYzI+Tlc/q3gBbtrM+u7m7wwOiMMP8= Calin@calin-pc | |
----- | |
2015/06/24 13:25:33 executing: C:\Program Files\Oracle\VirtualBox\VBoxManage.exe storageattach boot2docker-vm --storagec | |
tl SATA --port 1 --device 0 --type hdd --medium E:\VirtualBoxVMs\boot2docker-vm\boot2docker-vm.vmdk |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
D:\> boot2docker.exe -v ip | |
Boot2Docker-cli version: v1.7.0 | |
Git commit: 7d89508 | |
2015/06/24 13:31:20 executing: C:\Program Files\Oracle\VirtualBox\VBoxManage.exe showvminfo boot2docker-vm --machineread | |
able | |
2015/06/24 13:31:20 executing: C:\Program Files (x86)\OpenSSH\bin\ssh.exe ssh -o IdentitiesOnly=yes -o StrictHostKeyChec | |
king=no -o UserKnownHostsFile=/dev/null -o LogLevel=quiet -p 2022 -i C:\Users\Calin\.ssh\id_boot2docker docker@localhost | |
ip addr show dev eth1 | |
Enter passphrase for key 'C:\Users\Calin\.ssh\id_boot2docker': | |
docker@localhost's password: [typed tcuser] | |
SSH returned: 4: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000 | |
link/ether 08:00:27:01:1a:f5 brd ff:ff:ff:ff:ff:ff | |
inet 192.168.59.103/24 brd 192.168.59.255 scope global eth1 | |
valid_lft forever preferred_lft forever | |
inet6 fe80::a00:27ff:fe01:1af5/64 scope link | |
valid_lft forever preferred_lft forever | |
END SSH | |
192.168.59.103 | |
D:\> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
D:\> boot2docker.exe -v shellinit | |
Boot2Docker-cli version: v1.7.0 | |
Git commit: 7d89508 | |
2015/06/24 13:32:44 executing: C:\Program Files\Oracle\VirtualBox\VBoxManage.exe showvminfo boot2docker-vm --machineread | |
able | |
2015/06/24 13:32:44 executing: C:\Program Files (x86)\OpenSSH\bin\ssh.exe ssh -o IdentitiesOnly=yes -o StrictHostKeyChec | |
king=no -o UserKnownHostsFile=/dev/null -o LogLevel=quiet -p 2022 -i C:\Users\Calin\.ssh\id_boot2docker docker@localhost | |
grep tcp:// /proc/$(cat /var/run/docker.pid)/cmdline | |
Enter passphrase for key 'C:\Users\Calin\.ssh\id_boot2docker': | |
docker@localhost's password: [typed tcuser] | |
SSH returned: tcp://0.0.0.0:2376 | |
END SSH | |
2015/06/24 13:32:48 executing: C:\Program Files (x86)\OpenSSH\bin\ssh.exe ssh -o IdentitiesOnly=yes -o StrictHostKeyChec | |
king=no -o UserKnownHostsFile=/dev/null -o LogLevel=quiet -p 2022 -i C:\Users\Calin\.ssh\id_boot2docker docker@localhost | |
ip addr show dev eth1 | |
Enter passphrase for key 'C:\Users\Calin\.ssh\id_boot2docker': | |
docker@localhost's password: [typed tcuser] | |
SSH returned: 4: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000 | |
link/ether 08:00:27:01:1a:f5 brd ff:ff:ff:ff:ff:ff | |
inet 192.168.59.103/24 brd 192.168.59.255 scope global eth1 | |
valid_lft forever preferred_lft forever | |
inet6 fe80::a00:27ff:fe01:1af5/64 scope link | |
valid_lft forever preferred_lft forever | |
END SSH | |
2015/06/24 13:32:52 executing: C:\Program Files (x86)\OpenSSH\bin\ssh.exe ssh -o IdentitiesOnly=yes -o StrictHostKeyChec | |
king=no -o UserKnownHostsFile=/dev/null -o LogLevel=quiet -p 2022 -i C:\Users\Calin\.ssh\id_boot2docker docker@localhost | |
tar c /home/docker/.docker/*.pem | |
Enter passphrase for key 'C:\Users\Calin\.ssh\id_boot2docker': | |
docker@localhost's password: [typed tcuser] | |
tar: removing leading '/' from member names | |
Writing C:\Users\Calin\.boot2docker\certs\boot2docker-vm\ca.pem | |
Writing C:\Users\Calin\.boot2docker\certs\boot2docker-vm\cert.pem | |
Writing C:\Users\Calin\.boot2docker\certs\boot2docker-vm\key.pem | |
export DOCKER_HOST=tcp://192.168.59.103:2376 | |
export DOCKER_CERT_PATH='C:\Users\Calin\.boot2docker\certs\boot2docker-vm' | |
export DOCKER_TLS_VERIFY=1 | |
D:\> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
D:\> boot2docker.exe -v up | |
Boot2Docker-cli version: v1.7.0 | |
Git commit: 7d89508 | |
2015/06/24 13:28:30 executing: C:\Program Files\Oracle\VirtualBox\VBoxManage.exe showvminfo boot2docker-vm --machineread | |
able | |
2015/06/24 13:28:31 executing: C:\Program Files\Oracle\VirtualBox\VBoxManage.exe guestproperty set boot2docker-vm /Virtu | |
alBox/GuestAdd/SharedFolders/MountPrefix / | |
2015/06/24 13:28:31 executing: C:\Program Files\Oracle\VirtualBox\VBoxManage.exe guestproperty set boot2docker-vm /Virtu | |
alBox/GuestAdd/SharedFolders/MountDir / | |
2015/06/24 13:28:31 executing: C:\Program Files\Oracle\VirtualBox\VBoxManage.exe sharedfolder add boot2docker-vm --name | |
c/Users --hostpath C:\Users --automount | |
2015/06/24 13:28:31 executing: C:\Program Files\Oracle\VirtualBox\VBoxManage.exe setextradata boot2docker-vm VBoxInterna | |
l2/SharedFoldersEnableSymlinksCreate/c/Users 1 | |
2015/06/24 13:28:31 executing: C:\Program Files\Oracle\VirtualBox\VBoxManage.exe startvm boot2docker-vm --type headless | |
Waiting for VM "boot2docker-vm" to power on... | |
VM "boot2docker-vm" has been successfully started. | |
2015/06/24 13:28:34 executing: C:\Program Files\Oracle\VirtualBox\VBoxManage.exe showvminfo boot2docker-vm --machineread | |
able | |
Waiting for VM and Docker daemon to start... | |
.Connecting to tcp://localhost:2022 (attempt #0).Connecting to tcp://localhost:2022 (attempt #0).Connecting to tcp://loc | |
alhost:2022 (attempt #0).Connecting to tcp://localhost:2022 (attempt #0).Connecting to tcp://localhost:2022 (attempt #0) | |
.Connecting to tcp://localhost:2022 (attempt #0).Connecting to tcp://localhost:2022 (attempt #0).Connecting to tcp://loc | |
alhost:2022 (attempt #0).Connecting to tcp://localhost:2022 (attempt #0).Connecting to tcp://localhost:2022 (attempt #0) | |
.Connecting to tcp://localhost:2022 (attempt #0).Connecting to tcp://localhost:2022 (attempt #0).Connecting to tcp://loc | |
alhost:2022 (attempt #0).Connecting to tcp://localhost:2022 (attempt #0).Connecting to tcp://localhost:2022 (attempt #0) | |
.Connecting to tcp://localhost:2022 (attempt #0).Connecting to tcp://localhost:2022 (attempt #0).Connecting to tcp://loc | |
alhost:2022 (attempt #0).Connecting to tcp://localhost:2022 (attempt #0).Connecting to tcp://localhost:2022 (attempt #0) | |
.Connecting to tcp://localhost:2022 (attempt #0).Connecting to tcp://localhost:2022 (attempt #0)2015/06/24 13:28:56 exec | |
uting: C:\Program Files (x86)\OpenSSH\bin\ssh.exe ssh -o IdentitiesOnly=yes -o StrictHostKeyChecking=no -o UserKnownHost | |
sFile=/dev/null -o LogLevel=quiet -p 2022 -i C:\Users\Calin\.ssh\id_boot2docker docker@localhost ip addr show dev eth1 | |
Enter passphrase for key 'C:\Users\Calin\.ssh\id_boot2docker': | |
docker@localhost's password: [typed: tcuser] | |
SSH returned: 4: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000 | |
link/ether 08:00:27:01:1a:f5 brd ff:ff:ff:ff:ff:ff | |
inet 192.168.59.103/24 brd 192.168.59.255 scope global eth1 | |
valid_lft forever preferred_lft forever | |
inet6 fe80::a00:27ff:fe01:1af5/64 scope link | |
valid_lft forever preferred_lft forever | |
END SSH | |
VM Host-only IP address: 192.168.59.103 | |
Waiting for Docker daemon to start... | |
o2015/06/24 13:29:14 executing: C:\Program Files (x86)\OpenSSH\bin\ssh.exe ssh -o IdentitiesOnly=yes -o StrictHostKeyChe | |
cking=no -o UserKnownHostsFile=/dev/null -o LogLevel=quiet -p 2022 -i C:\Users\Calin\.ssh\id_boot2docker docker@localhos | |
t grep tcp:// /proc/$(cat /var/run/docker.pid)/cmdline | |
Enter passphrase for key 'C:\Users\Calin\.ssh\id_boot2docker': | |
docker@localhost's password: [typed: tcuser] | |
SSH returned: tcp://0.0.0.0:2376 | |
END SSH | |
2015/06/24 13:29:21 executing: C:\Program Files (x86)\OpenSSH\bin\ssh.exe ssh -o IdentitiesOnly=yes -o StrictHostKeyChec | |
king=no -o UserKnownHostsFile=/dev/null -o LogLevel=quiet -p 2022 -i C:\Users\Calin\.ssh\id_boot2docker docker@localhost | |
ip addr show dev eth1 | |
Enter passphrase for key 'C:\Users\Calin\.ssh\id_boot2docker': | |
docker@localhost's password: [typed: tcuser] | |
SSH returned: 4: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000 | |
link/ether 08:00:27:01:1a:f5 brd ff:ff:ff:ff:ff:ff | |
inet 192.168.59.103/24 brd 192.168.59.255 scope global eth1 | |
valid_lft forever preferred_lft forever | |
inet6 fe80::a00:27ff:fe01:1af5/64 scope link | |
valid_lft forever preferred_lft forever | |
END SSH | |
Started. | |
2015/06/24 13:29:26 executing: C:\Program Files (x86)\OpenSSH\bin\ssh.exe ssh -o IdentitiesOnly=yes -o StrictHostKeyChec | |
king=no -o UserKnownHostsFile=/dev/null -o LogLevel=quiet -p 2022 -i C:\Users\Calin\.ssh\id_boot2docker docker@localhost | |
tar c /home/docker/.docker/*.pem | |
Enter passphrase for key 'C:\Users\Calin\.ssh\id_boot2docker': | |
docker@localhost's password: [typed: tcuser] | |
tar: removing leading '/' from member names | |
Writing C:\Users\Calin\.boot2docker\certs\boot2docker-vm\ca.pem | |
Writing C:\Users\Calin\.boot2docker\certs\boot2docker-vm\cert.pem | |
Writing C:\Users\Calin\.boot2docker\certs\boot2docker-vm\key.pem | |
To connect the Docker client to the Docker daemon, please set: | |
export DOCKER_HOST=tcp://192.168.59.103:2376 | |
export DOCKER_CERT_PATH='C:\Users\Calin\.boot2docker\certs\boot2docker-vm' | |
export DOCKER_TLS_VERIFY=1 | |
D:\> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
D:\> docker version | |
Client version: 1.7.0 | |
Client API version: 1.19 | |
Go version (client): go1.4.2 | |
Git commit (client): 0baf609 | |
OS/Arch (client): windows/amd64 | |
Get http://127.0.0.1:2375/v1.19/version: dial tcp 127.0.0.1:2375: ConnectEx tcp: No connection could be made because the | |
target machine actively refused it.. Are you trying to connect to a TLS-enabled daemon without TLS? | |
D:\> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment