Skip to content

Instantly share code, notes, and snippets.

@kikicarbonell
Last active August 29, 2015 14:22
Show Gist options
  • Save kikicarbonell/657b7f4eda81f296413d to your computer and use it in GitHub Desktop.
Save kikicarbonell/657b7f4eda81f296413d to your computer and use it in GitHub Desktop.
error log of provision docker with docker-machine
docker-machine --debug create --driver generic --engine-insecure-registry myprivatehub:5000 --generic-ip-address 172.23.10.115 --generic-ssh-user ubuntu --generic-ssh-key /home/myuser/.ssh/id_rsa vbox
Importing SSH key...
IP: 172.23.10.115
Getting to WaitForSSH function...
Testing TCP connection to: 172.23.10.115:22
Using SSH client type: external
About to run SSH command:
exit 0
&{/usr/bin/ssh [/usr/bin/ssh -o PasswordAuthentication=no -o IdentitiesOnly=yes -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o LogLevel=quiet -o ConnectionAttempts=3 -o ConnectTimeout=10 -i /home/myuser/.docker/machine/machines/vbox/id_rsa -p 22 [email protected] exit 0] [] <nil> <nil> <nil> [] <nil> <nil> <nil> ?reflect.Value? false [] [] [] [] <nil>}
SSH cmd err, output: <nil>:
Using SSH client type: external
About to run SSH command:
cat /etc/os-release
&{/usr/bin/ssh [/usr/bin/ssh -o PasswordAuthentication=no -o IdentitiesOnly=yes -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o LogLevel=quiet -o ConnectionAttempts=3 -o ConnectTimeout=10 -i /home/myuser/.docker/machine/machines/vbox/id_rsa -p 22 [email protected] cat /etc/os-release] [] <nil> <nil> <nil> [] <nil> <nil> <nil> ?reflect.Value? false [] [] [] [] <nil>}
SSH cmd err, output: <nil>: NAME="Ubuntu"
VERSION="14.04.2 LTS, Trusty Tahr"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 14.04.2 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
Using SSH client type: external
About to run SSH command:
sudo hostname vbox && echo "vbox" | sudo tee /etc/hostname
&{/usr/bin/ssh [/usr/bin/ssh -o PasswordAuthentication=no -o IdentitiesOnly=yes -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o LogLevel=quiet -o ConnectionAttempts=3 -o ConnectTimeout=10 -i /home/myuser/.docker/machine/machines/vbox/id_rsa -p 22 [email protected] sudo hostname vbox && echo "vbox" | sudo tee /etc/hostname] [] <nil> <nil> <nil> [] <nil> <nil> <nil> ?reflect.Value? false [] [] [] [] <nil>}
SSH cmd err, output: exit status 1: sudo: no tty present and no askpass program specified
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment