Skip to content

Instantly share code, notes, and snippets.

@uschtwill
Last active June 2, 2016 10:01
Show Gist options
  • Save uschtwill/c4794cb216c193d193b9d908b8efc5fd to your computer and use it in GitHub Desktop.
Save uschtwill/c4794cb216c193d193b9d908b8efc5fd to your computer and use it in GitHub Desktop.
docker-machine --debug create --driver generic \
--generic-ip-address=134.119.24.219 \
2-4-1
Docker Machine Version: 0.7.0, build a650a40
Found binary path at /usr/local/bin/docker-machine
Launching plugin server for driver generic
Plugin server listening at address 127.0.0.1:50275
() Calling .GetVersion
Using API Version 1
() Calling .SetConfigRaw
() Calling .GetMachineName
(flag-lookup) Calling .GetMachineName
(flag-lookup) Calling .DriverName
(flag-lookup) Calling .GetCreateFlags
Found binary path at /usr/local/bin/docker-machine
Launching plugin server for driver generic
Plugin server listening at address 127.0.0.1:50279
() Calling .GetVersion
Using API Version 1
() Calling .SetConfigRaw
() Calling .GetMachineName
(2-4-1) Calling .GetMachineName
(2-4-1) Calling .DriverName
(2-4-1) Calling .GetCreateFlags
(2-4-1) Calling .SetConfigFromFlags
Running pre-create checks...
(2-4-1) Calling .PreCreateCheck
(2-4-1) Calling .GetConfigRaw
Creating machine...
(2-4-1) Calling .Create
(2-4-1) Calling .GetConfigRaw
(2-4-1) DBG | IP: 134.119.24.219
(2-4-1) No SSH key specified. Connecting to this machine now and in the future will require the ssh agent to contain the appropriate key.
(2-4-1) Calling .DriverName
(2-4-1) Calling .DriverName
Waiting for machine to be running, this may take a few minutes...
(2-4-1) Calling .GetState
Detecting operating system of created instance...
Waiting for SSH to be available...
Getting to WaitForSSH function...
(2-4-1) Calling .GetSSHHostname
(2-4-1) Calling .GetSSHPort
(2-4-1) Calling .GetSSHKeyPath
(2-4-1) Calling .GetSSHUsername
Using SSH client type: external
&{[-F /dev/null -o BatchMode=yes -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 root@134.119.24.219 -p 22] /usr/bin/ssh <nil>}
About to run SSH command:
exit 0
SSH cmd err, output: <nil>:
Detecting the provisioner...
(2-4-1) Calling .GetSSHHostname
(2-4-1) Calling .GetSSHPort
(2-4-1) Calling .GetSSHKeyPath
(2-4-1) Calling .GetSSHUsername
Using SSH client type: external
&{[-F /dev/null -o BatchMode=yes -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 root@134.119.24.219 -p 22] /usr/bin/ssh <nil>}
About to run SSH command:
cat /etc/os-release
SSH cmd err, output: <nil>: NAME="Ubuntu"
VERSION="14.04.4 LTS, Trusty Tahr"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 14.04.4 LTS"
VERSION_ID="14.04"
HOME_URL="http://www.ubuntu.com/"
SUPPORT_URL="http://help.ubuntu.com/"
BUG_REPORT_URL="http://bugs.launchpad.net/ubuntu/"
found compatible host: ubuntu
Provisioning with ubuntu(upstart)...
(2-4-1) Calling .GetSSHHostname
(2-4-1) Calling .GetSSHPort
(2-4-1) Calling .GetSSHKeyPath
(2-4-1) Calling .GetSSHUsername
Using SSH client type: external
&{[-F /dev/null -o BatchMode=yes -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 root@134.119.24.219 -p 22] /usr/bin/ssh <nil>}
About to run SSH command:
stat -f -c %T /var/lib
SSH cmd err, output: <nil>: ext2/ext3
No storagedriver specified, using aufs
(2-4-1) Calling .GetMachineName
(2-4-1) Calling .GetSSHHostname
(2-4-1) Calling .GetSSHPort
(2-4-1) Calling .GetSSHKeyPath
(2-4-1) Calling .GetSSHUsername
Using SSH client type: external
&{[-F /dev/null -o BatchMode=yes -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 root@134.119.24.219 -p 22] /usr/bin/ssh <nil>}
About to run SSH command:
sudo hostname 2-4-1 && echo "2-4-1" | sudo tee /etc/hostname
SSH cmd err, output: <nil>: sudo: unable to resolve host 2-4-1
2-4-1
(2-4-1) Calling .GetSSHHostname
(2-4-1) Calling .GetSSHPort
(2-4-1) Calling .GetSSHKeyPath
(2-4-1) Calling .GetSSHUsername
Using SSH client type: external
&{[-F /dev/null -o BatchMode=yes -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 root@134.119.24.219 -p 22] /usr/bin/ssh <nil>}
About to run SSH command:
if ! grep -xq .*2-4-1 /etc/hosts; then
if grep -xq 127.0.1.1.* /etc/hosts; then
sudo sed -i 's/^127.0.1.1.*/127.0.1.1 2-4-1/g' /etc/hosts;
else
echo '127.0.1.1 2-4-1' | sudo tee -a /etc/hosts;
fi
fi
SSH cmd err, output: <nil>: sudo: unable to resolve host 2-4-1
127.0.1.1 2-4-1
(2-4-1) Calling .GetSSHHostname
(2-4-1) Calling .GetSSHPort
(2-4-1) Calling .GetSSHKeyPath
(2-4-1) Calling .GetSSHUsername
Using SSH client type: external
&{[-F /dev/null -o BatchMode=yes -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 root@134.119.24.219 -p 22] /usr/bin/ssh <nil>}
About to run SSH command:
sudo apt-get update
SSH cmd err, output: <nil>: Ign http://de.archive.ubuntu.com trusty InRelease
Hit http://de.archive.ubuntu.com trusty-updates InRelease
Hit http://de.archive.ubuntu.com trusty-security InRelease
Hit http://de.archive.ubuntu.com trusty Release.gpg
Hit http://de.archive.ubuntu.com trusty-updates/main amd64 Packages
Hit http://de.archive.ubuntu.com trusty-updates/universe amd64 Packages
Hit http://de.archive.ubuntu.com trusty-updates/multiverse amd64 Packages
Hit http://de.archive.ubuntu.com trusty-updates/main Translation-en
Hit http://de.archive.ubuntu.com trusty-updates/multiverse Translation-en
Hit http://de.archive.ubuntu.com trusty-updates/universe Translation-en
Hit http://de.archive.ubuntu.com trusty Release
Hit http://de.archive.ubuntu.com trusty-security/main amd64 Packages
Hit http://de.archive.ubuntu.com trusty-security/universe amd64 Packages
Hit http://de.archive.ubuntu.com trusty-security/multiverse amd64 Packages
Hit http://de.archive.ubuntu.com trusty-security/main Translation-en
Hit http://de.archive.ubuntu.com trusty-security/multiverse Translation-en
Hit http://de.archive.ubuntu.com trusty-security/universe Translation-en
Hit http://de.archive.ubuntu.com trusty/main amd64 Packages
Hit http://de.archive.ubuntu.com trusty/universe amd64 Packages
Hit http://de.archive.ubuntu.com trusty/multiverse amd64 Packages
Hit http://de.archive.ubuntu.com trusty/main Translation-en
Hit http://de.archive.ubuntu.com trusty/multiverse Translation-en
Hit http://de.archive.ubuntu.com trusty/universe Translation-en
Ign http://de.archive.ubuntu.com trusty/main Translation-en_US
Ign http://de.archive.ubuntu.com trusty/multiverse Translation-en_US
Ign http://de.archive.ubuntu.com trusty/universe Translation-en_US
Reading package lists...
package: action=install name=curl
(2-4-1) Calling .GetSSHHostname
(2-4-1) Calling .GetSSHPort
(2-4-1) Calling .GetSSHKeyPath
(2-4-1) Calling .GetSSHUsername
Using SSH client type: external
&{[-F /dev/null -o BatchMode=yes -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 root@134.119.24.219 -p 22] /usr/bin/ssh <nil>}
About to run SSH command:
DEBIAN_FRONTEND=noninteractive sudo -E apt-get install -y -o Dpkg::Options::="--force-confnew" curl
SSH cmd err, output: <nil>: Reading package lists...
Building dependency tree...
Reading state information...
curl is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Installing Docker...
(2-4-1) Calling .GetSSHHostname
(2-4-1) Calling .GetSSHPort
(2-4-1) Calling .GetSSHKeyPath
(2-4-1) Calling .GetSSHUsername
Using SSH client type: external
&{[-F /dev/null -o BatchMode=yes -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 root@134.119.24.219 -p 22] /usr/bin/ssh <nil>}
About to run SSH command:
if ! type docker; then curl -sSL https://get.docker.com | sh -; fi
SSH cmd err, output: <nil>: bash: line 0: type: docker: not found
modprobe: ERROR: ../libkmod/libkmod.c:556 kmod_search_moddep() could not open moddep file '/lib/modules/4.4.8-x86_64-jb1/modules.dep.bin'
Warning: current kernel is not supported by the linux-image-extra-virtual
package. We have no AUFS support. Consider installing the packages
linux-image-virtual kernel and linux-image-extra-virtual for AUFS support.
+ sleep 10
+ sh -c sleep 3; apt-get update
Ign http://de.archive.ubuntu.com trusty InRelease
Hit http://de.archive.ubuntu.com trusty-updates InRelease
Hit http://de.archive.ubuntu.com trusty-security InRelease
Hit http://de.archive.ubuntu.com trusty Release.gpg
Hit http://de.archive.ubuntu.com trusty-updates/main amd64 Packages
Hit http://de.archive.ubuntu.com trusty-updates/universe amd64 Packages
Hit http://de.archive.ubuntu.com trusty-updates/multiverse amd64 Packages
Hit http://de.archive.ubuntu.com trusty-updates/main Translation-en
Hit http://de.archive.ubuntu.com trusty-updates/multiverse Translation-en
Hit http://de.archive.ubuntu.com trusty-updates/universe Translation-en
Hit http://de.archive.ubuntu.com trusty Release
Hit http://de.archive.ubuntu.com trusty-security/main amd64 Packages
Hit http://de.archive.ubuntu.com trusty-security/universe amd64 Packages
Hit http://de.archive.ubuntu.com trusty-security/multiverse amd64 Packages
Hit http://de.archive.ubuntu.com trusty-security/main Translation-en
Hit http://de.archive.ubuntu.com trusty-security/multiverse Translation-en
Hit http://de.archive.ubuntu.com trusty-security/universe Translation-en
Hit http://de.archive.ubuntu.com trusty/main amd64 Packages
Hit http://de.archive.ubuntu.com trusty/universe amd64 Packages
Hit http://de.archive.ubuntu.com trusty/multiverse amd64 Packages
Hit http://de.archive.ubuntu.com trusty/main Translation-en
Hit http://de.archive.ubuntu.com trusty/multiverse Translation-en
Hit http://de.archive.ubuntu.com trusty/universe Translation-en
Ign http://de.archive.ubuntu.com trusty/main Translation-en_US
Ign http://de.archive.ubuntu.com trusty/multiverse Translation-en_US
Ign http://de.archive.ubuntu.com trusty/universe Translation-en_US
Reading package lists...
+ sh -c sleep 3; apt-get install -y -q apt-transport-https ca-certificates
Reading package lists...
Building dependency tree...
Reading state information...
ca-certificates is already the newest version.
ca-certificates set to manually installed.
The following NEW packages will be installed:
apt-transport-https
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 25.0 kB of archives.
After this operation, 234 kB of additional disk space will be used.
Get:1 http://de.archive.ubuntu.com/ubuntu/ trusty-updates/main apt-transport-https amd64 1.0.1ubuntu2.14 [25.0 kB]
Fetched 25.0 kB in 0s (249 kB/s)
Selecting previously unselected package apt-transport-https.
(Reading database ... 29257 files and directories currently installed.)
Preparing to unpack .../apt-transport-https_1.0.1ubuntu2.14_amd64.deb ...
Unpacking apt-transport-https (1.0.1ubuntu2.14) ...
Setting up apt-transport-https (1.0.1ubuntu2.14) ...
+ sh -c apt-key adv --keyserver hkp://ha.pool.sks-keyservers.net:80 --recv-keys 58118E89F3A912897C070ADBF76221572C52609D
Executing: gpg --ignore-time-conflict --no-options --no-default-keyring --homedir /tmp/tmp.X1o29XSyWu --no-auto-check-trustdb --trust-model always --keyring /etc/apt/trusted.gpg --primary-keyring /etc/apt/trusted.gpg --keyserver hkp://ha.pool.sks-keyservers.net:80 --recv-keys 58118E89F3A912897C070ADBF76221572C52609D
gpg: requesting key 2C52609D from hkp server ha.pool.sks-keyservers.net
gpg: key 2C52609D: public key "Docker Release Tool (releasedocker) <docker@docker.com>" imported
gpg: Total number processed: 1
gpg: imported: 1 (RSA: 1)
+ break
+ sh -c apt-key adv -k 58118E89F3A912897C070ADBF76221572C52609D >/dev/null
+ sh -c mkdir -p /etc/apt/sources.list.d
+ dpkg --print-architecture
+ sh -c echo deb [arch=amd64] https://apt.dockerproject.org/repo ubuntu-trusty main > /etc/apt/sources.list.d/docker.list
+ sh -c sleep 3; apt-get update; apt-get install -y -q docker-engine
Ign http://de.archive.ubuntu.com trusty InRelease
Hit http://de.archive.ubuntu.com trusty-updates InRelease
Hit http://de.archive.ubuntu.com trusty-security InRelease
Hit http://de.archive.ubuntu.com trusty Release.gpg
Hit http://de.archive.ubuntu.com trusty-updates/main amd64 Packages
Hit http://de.archive.ubuntu.com trusty-updates/universe amd64 Packages
Hit http://de.archive.ubuntu.com trusty-updates/multiverse amd64 Packages
Hit http://de.archive.ubuntu.com trusty-updates/main Translation-en
Hit http://de.archive.ubuntu.com trusty-updates/multiverse Translation-en
Hit http://de.archive.ubuntu.com trusty-updates/universe Translation-en
Hit http://de.archive.ubuntu.com trusty Release
Hit http://de.archive.ubuntu.com trusty-security/main amd64 Packages
Hit http://de.archive.ubuntu.com trusty-security/universe amd64 Packages
Hit http://de.archive.ubuntu.com trusty-security/multiverse amd64 Packages
Hit http://de.archive.ubuntu.com trusty-security/main Translation-en
Hit http://de.archive.ubuntu.com trusty-security/multiverse Translation-en
Hit http://de.archive.ubuntu.com trusty-security/universe Translation-en
Hit http://de.archive.ubuntu.com trusty/main amd64 Packages
Hit http://de.archive.ubuntu.com trusty/universe amd64 Packages
Hit http://de.archive.ubuntu.com trusty/multiverse amd64 Packages
Hit http://de.archive.ubuntu.com trusty/main Translation-en
Hit http://de.archive.ubuntu.com trusty/multiverse Translation-en
Hit http://de.archive.ubuntu.com trusty/universe Translation-en
Ign http://de.archive.ubuntu.com trusty/main Translation-en_US
Ign http://de.archive.ubuntu.com trusty/multiverse Translation-en_US
Ign http://de.archive.ubuntu.com trusty/universe Translation-en_US
Get:1 https://apt.dockerproject.org ubuntu-trusty/main amd64 Packages
Get:2 https://apt.dockerproject.org ubuntu-trusty/main Translation-en_US
Ign https://apt.dockerproject.org ubuntu-trusty/main Translation-en_US
Ign https://apt.dockerproject.org ubuntu-trusty/main Translation-en
Fetched 25.6 kB in 6s (4,125 B/s)
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
The following extra packages will be installed:
apparmor aufs-tools cgroup-lite git git-man iptables libapparmor-perl
liberror-perl libnfnetlink0 libsystemd-journal0 libxtables10 rsync
Suggested packages:
apparmor-profiles apparmor-docs apparmor-utils git-daemon-run
git-daemon-sysvinit git-doc git-el git-email git-gui gitk gitweb git-arch
git-bzr git-cvs git-mediawiki git-svn
The following NEW packages will be installed:
apparmor aufs-tools cgroup-lite docker-engine git git-man iptables
libapparmor-perl liberror-perl libnfnetlink0 libsystemd-journal0
libxtables10 rsync
0 upgraded, 13 newly installed, 0 to remove and 0 not upgraded.
Need to get 18.8 MB of archives.
After this operation, 99.4 MB of additional disk space will be used.
Get:1 http://de.archive.ubuntu.com/ubuntu/ trusty/main libnfnetlink0 amd64 1.0.1-2 [15.0 kB]
Get:2 http://de.archive.ubuntu.com/ubuntu/ trusty-updates/main libsystemd-journal0 amd64 204-5ubuntu20.19 [50.1 kB]
Get:3 http://de.archive.ubuntu.com/ubuntu/ trusty-updates/main libapparmor-perl amd64 2.8.95~2430-0ubuntu5.3 [26.8 kB]
Get:4 http://de.archive.ubuntu.com/ubuntu/ trusty-updates/main apparmor amd64 2.8.95~2430-0ubuntu5.3 [319 kB]
Get:5 http://de.archive.ubuntu.com/ubuntu/ trusty/main libxtables10 amd64 1.4.21-1ubuntu1 [25.9 kB]
Get:6 http://de.archive.ubuntu.com/ubuntu/ trusty/main iptables amd64 1.4.21-1ubuntu1 [261 kB]
Get:7 http://de.archive.ubuntu.com/ubuntu/ trusty-updates/main rsync amd64 3.1.0-2ubuntu0.2 [284 kB]
Get:8 http://de.archive.ubuntu.com/ubuntu/ trusty/universe aufs-tools amd64 1:3.2+20130722-1.1 [92.3 kB]
Get:9 http://de.archive.ubuntu.com/ubuntu/ trusty/main liberror-perl all 0.17-1.1 [21.1 kB]
Get:10 http://de.archive.ubuntu.com/ubuntu/ trusty-updates/main git-man all 1:1.9.1-1ubuntu0.3 [699 kB]
Get:11 http://de.archive.ubuntu.com/ubuntu/ trusty-updates/main git amd64 1:1.9.1-1ubuntu0.3 [2,586 kB]
Get:12 http://de.archive.ubuntu.com/ubuntu/ trusty/main cgroup-lite all 1.9 [3,918 B]
Preconfiguring packages ...
Fetched 18.8 MB in 2s (6,811 kB/s)
Selecting previously unselected package libnfnetlink0:amd64.
(Reading database ... 29263 files and directories currently installed.)
Preparing to unpack .../libnfnetlink0_1.0.1-2_amd64.deb ...
Unpacking libnfnetlink0:amd64 (1.0.1-2) ...
Selecting previously unselected package libsystemd-journal0:amd64.
Preparing to unpack .../libsystemd-journal0_204-5ubuntu20.19_amd64.deb ...
Unpacking libsystemd-journal0:amd64 (204-5ubuntu20.19) ...
Selecting previously unselected package libapparmor-perl.
Preparing to unpack .../libapparmor-perl_2.8.95~2430-0ubuntu5.3_amd64.deb ...
Unpacking libapparmor-perl (2.8.95~2430-0ubuntu5.3) ...
Selecting previously unselected package apparmor.
Preparing to unpack .../apparmor_2.8.95~2430-0ubuntu5.3_amd64.deb ...
Unpacking apparmor (2.8.95~2430-0ubuntu5.3) ...
Selecting previously unselected package libxtables10.
Preparing to unpack .../libxtables10_1.4.21-1ubuntu1_amd64.deb ...
Unpacking libxtables10 (1.4.21-1ubuntu1) ...
Selecting previously unselected package iptables.
Preparing to unpack .../iptables_1.4.21-1ubuntu1_amd64.deb ...
Unpacking iptables (1.4.21-1ubuntu1) ...
Selecting previously unselected package rsync.
Preparing to unpack .../rsync_3.1.0-2ubuntu0.2_amd64.deb ...
Unpacking rsync (3.1.0-2ubuntu0.2) ...
Selecting previously unselected package aufs-tools.
Preparing to unpack .../aufs-tools_1%3a3.2+20130722-1.1_amd64.deb ...
Unpacking aufs-tools (1:3.2+20130722-1.1) ...
Selecting previously unselected package docker-engine.
Preparing to unpack .../docker-engine_1.11.2-0~trusty_amd64.deb ...
Unpacking docker-engine (1.11.2-0~trusty) ...
Selecting previously unselected package liberror-perl.
Preparing to unpack .../liberror-perl_0.17-1.1_all.deb ...
Unpacking liberror-perl (0.17-1.1) ...
Selecting previously unselected package git-man.
Preparing to unpack .../git-man_1%3a1.9.1-1ubuntu0.3_all.deb ...
Unpacking git-man (1:1.9.1-1ubuntu0.3) ...
Selecting previously unselected package git.
Preparing to unpack .../git_1%3a1.9.1-1ubuntu0.3_amd64.deb ...
Unpacking git (1:1.9.1-1ubuntu0.3) ...
Selecting previously unselected package cgroup-lite.
Preparing to unpack .../cgroup-lite_1.9_all.deb ...
Unpacking cgroup-lite (1.9) ...
Processing triggers for ureadahead (0.100.0-16) ...
Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
Setting up libnfnetlink0:amd64 (1.0.1-2) ...
Setting up libsystemd-journal0:amd64 (204-5ubuntu20.19) ...
Setting up libapparmor-perl (2.8.95~2430-0ubuntu5.3) ...
Setting up apparmor (2.8.95~2430-0ubuntu5.3) ...
Setting up libxtables10 (1.4.21-1ubuntu1) ...
Setting up iptables (1.4.21-1ubuntu1) ...
Setting up rsync (3.1.0-2ubuntu0.2) ...
Removing any system startup links for /etc/init.d/rsync ...
update-rc.d: warning: default stop runlevel arguments (0 1 6) do not match rsync Default-Stop values (none)
Adding system startup for /etc/init.d/rsync ...
/etc/rc0.d/K20rsync -> ../init.d/rsync
/etc/rc1.d/K20rsync -> ../init.d/rsync
/etc/rc6.d/K20rsync -> ../init.d/rsync
/etc/rc2.d/S20rsync -> ../init.d/rsync
/etc/rc3.d/S20rsync -> ../init.d/rsync
/etc/rc4.d/S20rsync -> ../init.d/rsync
/etc/rc5.d/S20rsync -> ../init.d/rsync
Setting up aufs-tools (1:3.2+20130722-1.1) ...
Setting up docker-engine (1.11.2-0~trusty) ...
docker start/running, process 4747
Setting up liberror-perl (0.17-1.1) ...
Setting up git-man (1:1.9.1-1ubuntu0.3) ...
Setting up git (1:1.9.1-1ubuntu0.3) ...
Setting up cgroup-lite (1.9) ...
cgroup-lite start/running
Processing triggers for libc-bin (2.19-0ubuntu6.9) ...
Processing triggers for ureadahead (0.100.0-16) ...
+ sh -c docker version
Client:
Version: 1.11.2
API version: 1.23
Go version: go1.5.4
Git commit: b9f10c9
Built: Wed Jun 1 21:47:50 2016
OS/Arch: linux/amd64
Server:
Version: 1.11.2
API version: 1.23
Go version: go1.5.4
Git commit: b9f10c9
Built: Wed Jun 1 21:47:50 2016
OS/Arch: linux/amd64
If you would like to use Docker as a non-root user, you should now consider
adding your user to the "docker" group with something like:
sudo usermod -aG docker your-user
Remember that you will have to log out and back in for this to take effect!
checking docker daemon
(2-4-1) Calling .GetSSHHostname
(2-4-1) Calling .GetSSHPort
(2-4-1) Calling .GetSSHKeyPath
(2-4-1) Calling .GetSSHUsername
Using SSH client type: external
&{[-F /dev/null -o BatchMode=yes -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 root@134.119.24.219 -p 22] /usr/bin/ssh <nil>}
About to run SSH command:
sudo docker version
SSH cmd err, output: <nil>: Client:
Version: 1.11.2
API version: 1.23
Go version: go1.5.4
Git commit: b9f10c9
Built: Wed Jun 1 21:47:50 2016
OS/Arch: linux/amd64
Server:
Version: 1.11.2
API version: 1.23
Go version: go1.5.4
Git commit: b9f10c9
Built: Wed Jun 1 21:47:50 2016
OS/Arch: linux/amd64
(2-4-1) Calling .GetSSHHostname
(2-4-1) Calling .GetSSHPort
(2-4-1) Calling .GetSSHKeyPath
(2-4-1) Calling .GetSSHUsername
Using SSH client type: external
&{[-F /dev/null -o BatchMode=yes -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 root@134.119.24.219 -p 22] /usr/bin/ssh <nil>}
About to run SSH command:
sudo mkdir -p /etc/docker
SSH cmd err, output: <nil>:
(2-4-1) Calling .GetMachineName
(2-4-1) Calling .GetIP
Copying certs to the local machine directory...
generating server cert: /Users/Will/.docker/machine/machines/2-4-1/server.pem ca-key=/Users/Will/.docker/machine/certs/ca.pem private-key=/Users/Will/.docker/machine/certs/ca-key.pem org=Will.2-4-1 san=[134.119.24.219 localhost]
(2-4-1) Calling .GetSSHHostname
(2-4-1) Calling .GetSSHPort
(2-4-1) Calling .GetSSHKeyPath
(2-4-1) Calling .GetSSHUsername
Using SSH client type: external
&{[-F /dev/null -o BatchMode=yes -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 root@134.119.24.219 -p 22] /usr/bin/ssh <nil>}
About to run SSH command:
sudo service docker stop
SSH cmd err, output: <nil>: docker stop/waiting
(2-4-1) Calling .GetSSHHostname
(2-4-1) Calling .GetSSHPort
(2-4-1) Calling .GetSSHKeyPath
(2-4-1) Calling .GetSSHUsername
Using SSH client type: external
&{[-F /dev/null -o BatchMode=yes -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 root@134.119.24.219 -p 22] /usr/bin/ssh <nil>}
About to run SSH command:
if [ ! -z "$(ip link show docker0)" ]; then sudo ip link delete docker0; fi
SSH cmd err, output: <nil>:
Copying certs to the remote machine...
(2-4-1) Calling .GetSSHHostname
(2-4-1) Calling .GetSSHPort
(2-4-1) Calling .GetSSHKeyPath
(2-4-1) Calling .GetSSHUsername
Using SSH client type: external
&{[-F /dev/null -o BatchMode=yes -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 root@134.119.24.219 -p 22] /usr/bin/ssh <nil>}
About to run SSH command:
printf '%s' '-----BEGIN CERTIFICATE-----
DELETED
-----END CERTIFICATE-----
' | sudo tee /etc/docker/ca.pem
SSH cmd err, output: <nil>: -----BEGIN CERTIFICATE-----
DELETED
-----END CERTIFICATE-----
(2-4-1) Calling .GetSSHHostname
(2-4-1) Calling .GetSSHPort
(2-4-1) Calling .GetSSHKeyPath
(2-4-1) Calling .GetSSHUsername
Using SSH client type: external
&{[-F /dev/null -o BatchMode=yes -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 root@134.119.24.219 -p 22] /usr/bin/ssh <nil>}
About to run SSH command:
printf '%s' '-----BEGIN CERTIFICATE-----
DELETED08WMVZKAufk8ahRujPy9v/FP6Dwz7a3Pl5rGaQ
4cdZlbv0zPONnPx/ooQ=
-----END CERTIFICATE-----
' | sudo tee /etc/docker/server.pem
SSH cmd err, output: <nil>: -----BEGIN CERTIFICATE-----
DELETED
-----END CERTIFICATE-----
(2-4-1) Calling .GetSSHHostname
(2-4-1) Calling .GetSSHPort
(2-4-1) Calling .GetSSHKeyPath
(2-4-1) Calling .GetSSHUsername
Using SSH client type: external
&{[-F /dev/null -o BatchMode=yes -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 root@134.119.24.219 -p 22] /usr/bin/ssh <nil>}
About to run SSH command:
printf '%s' '-----BEGIN RSA PRIVATE KEY-----
DELETED
-----END RSA PRIVATE KEY-----
' | sudo tee /etc/docker/server-key.pem
SSH cmd err, output: <nil>: -----BEGIN RSA PRIVATE KEY-----
DELETED
-----END RSA PRIVATE KEY-----
(2-4-1) Calling .GetURL
(2-4-1) Calling .DriverName
Setting Docker configuration on the remote daemon...
(2-4-1) Calling .GetSSHHostname
(2-4-1) Calling .GetSSHPort
(2-4-1) Calling .GetSSHKeyPath
(2-4-1) Calling .GetSSHUsername
Using SSH client type: external
&{[-F /dev/null -o BatchMode=yes -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 root@134.119.24.219 -p 22] /usr/bin/ssh <nil>}
About to run SSH command:
printf %s "
DOCKER_OPTS='
-H tcp://0.0.0.0:2376
-H unix:///var/run/docker.sock
--storage-driver aufs
--tlsverify
--tlscacert /etc/docker/ca.pem
--tlscert /etc/docker/server.pem
--tlskey /etc/docker/server-key.pem
--label provider=generic
'
" | sudo tee /etc/default/docker
SSH cmd err, output: <nil>:
DOCKER_OPTS='
-H tcp://0.0.0.0:2376
-H unix:///var/run/docker.sock
--storage-driver aufs
--tlsverify
--tlscacert /etc/docker/ca.pem
--tlscert /etc/docker/server.pem
--tlskey /etc/docker/server-key.pem
--label provider=generic
'
(2-4-1) Calling .GetSSHHostname
(2-4-1) Calling .GetSSHPort
(2-4-1) Calling .GetSSHKeyPath
(2-4-1) Calling .GetSSHUsername
Using SSH client type: external
&{[-F /dev/null -o BatchMode=yes -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 root@134.119.24.219 -p 22] /usr/bin/ssh <nil>}
About to run SSH command:
sudo service docker start
SSH cmd err, output: <nil>: docker start/running, process 5397
(2-4-1) Calling .GetSSHHostname
(2-4-1) Calling .GetSSHPort
(2-4-1) Calling .GetSSHKeyPath
(2-4-1) Calling .GetSSHUsername
Using SSH client type: external
&{[-F /dev/null -o BatchMode=yes -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 root@134.119.24.219 -p 22] /usr/bin/ssh <nil>}
About to run SSH command:
netstat -tln
SSH cmd err, output: <nil>: Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN
tcp6 0 0 :::22 :::* LISTEN
(2-4-1) Calling .GetSSHHostname
(2-4-1) Calling .GetSSHPort
(2-4-1) Calling .GetSSHKeyPath
(2-4-1) Calling .GetSSHUsername
Using SSH client type: external
&{[-F /dev/null -o BatchMode=yes -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 root@134.119.24.219 -p 22] /usr/bin/ssh <nil>}
About to run SSH command:
netstat -tln
SSH cmd err, output: <nil>: Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN
tcp6 0 0 :::22 :::* LISTEN
(2-4-1) Calling .GetSSHHostname
(2-4-1) Calling .GetSSHPort
(2-4-1) Calling .GetSSHKeyPath
(2-4-1) Calling .GetSSHUsername
Using SSH client type: external
&{[-F /dev/null -o BatchMode=yes -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 root@134.119.24.219 -p 22] /usr/bin/ssh <nil>}
About to run SSH command:
netstat -tln
SSH cmd err, output: <nil>: Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN
tcp6 0 0 :::22 :::* LISTEN
(2-4-1) Calling .GetSSHHostname
(2-4-1) Calling .GetSSHPort
(2-4-1) Calling .GetSSHKeyPath
(2-4-1) Calling .GetSSHUsername
Using SSH client type: external
&{[-F /dev/null -o BatchMode=yes -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 root@134.119.24.219 -p 22] /usr/bin/ssh <nil>}
About to run SSH command:
netstat -tln
SSH cmd err, output: <nil>: Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN
tcp6 0 0 :::22 :::* LISTEN
(2-4-1) Calling .GetSSHHostname
(2-4-1) Calling .GetSSHPort
(2-4-1) Calling .GetSSHKeyPath
(2-4-1) Calling .GetSSHUsername
Using SSH client type: external
&{[-F /dev/null -o BatchMode=yes -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 root@134.119.24.219 -p 22] /usr/bin/ssh <nil>}
About to run SSH command:
netstat -tln
SSH cmd err, output: <nil>: Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN
tcp6 0 0 :::22 :::* LISTEN
(2-4-1) Calling .GetSSHHostname
(2-4-1) Calling .GetSSHPort
(2-4-1) Calling .GetSSHKeyPath
(2-4-1) Calling .GetSSHUsername
Using SSH client type: external
&{[-F /dev/null -o BatchMode=yes -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 root@134.119.24.219 -p 22] /usr/bin/ssh <nil>}
About to run SSH command:
netstat -tln
SSH cmd err, output: <nil>: Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN
tcp6 0 0 :::22 :::* LISTEN
(2-4-1) Calling .GetSSHHostname
(2-4-1) Calling .GetSSHPort
(2-4-1) Calling .GetSSHKeyPath
(2-4-1) Calling .GetSSHUsername
Using SSH client type: external
&{[-F /dev/null -o BatchMode=yes -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 root@134.119.24.219 -p 22] /usr/bin/ssh <nil>}
About to run SSH command:
netstat -tln
SSH cmd err, output: <nil>: Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN
tcp6 0 0 :::22 :::* LISTEN
(2-4-1) Calling .GetSSHHostname
(2-4-1) Calling .GetSSHPort
(2-4-1) Calling .GetSSHKeyPath
(2-4-1) Calling .GetSSHUsername
Using SSH client type: external
&{[-F /dev/null -o BatchMode=yes -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 root@134.119.24.219 -p 22] /usr/bin/ssh <nil>}
About to run SSH command:
netstat -tln
SSH cmd err, output: <nil>: Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN
tcp6 0 0 :::22 :::* LISTEN
(2-4-1) Calling .GetSSHHostname
(2-4-1) Calling .GetSSHPort
(2-4-1) Calling .GetSSHKeyPath
(2-4-1) Calling .GetSSHUsername
Using SSH client type: external
&{[-F /dev/null -o BatchMode=yes -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 root@134.119.24.219 -p 22] /usr/bin/ssh <nil>}
About to run SSH command:
netstat -tln
SSH cmd err, output: <nil>: Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN
tcp6 0 0 :::22 :::* LISTEN
(2-4-1) Calling .GetSSHHostname
(2-4-1) Calling .GetSSHPort
(2-4-1) Calling .GetSSHKeyPath
(2-4-1) Calling .GetSSHUsername
Using SSH client type: external
&{[-F /dev/null -o BatchMode=yes -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 root@134.119.24.219 -p 22] /usr/bin/ssh <nil>}
About to run SSH command:
netstat -tln
SSH cmd err, output: <nil>: Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN
tcp6 0 0 :::22 :::* LISTEN
Error creating machine: Error running provisioning: Unable to verify the Docker daemon is listening: Maximum number of retries (10) exceeded
Opting out of crash reporting.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment