janeczku / docker-machine-vultr

:m: Docker Machine driver for Vultr Cloud
MIT License
192 stars 25 forks source link

Unable to query docker version: Cannot connect to the docker engine endpoint #22

Closed martinbottanek closed 7 years ago

martinbottanek commented 7 years ago

When I run

docker-machine create --driver vultr --vultr-api-key=asd --vultr-os-id=215 --vultr-plan-id=29 --vultr-region-id=8 --vultr-ssh-key-id=asd asd the installation can't seem to finish

I get this prompt ±10 times

Waiting for SSH to be available...
Enter passphrase for key '/Users/martinbottanek/.ssh/id_rsa': 
Detecting the provisioner...
Enter passphrase for key '/Users/martinbottanek/.ssh/id_rsa': 

and then I have to CTRL-C

running docker-machine ls shows a running node with this error message: Unable to query docker version: Cannot connect to the docker engine endpoint

Any ideas? Thank you!

dmitrym0 commented 7 years ago

--vultr-ssh-key-id is the ID of the key in the vultr dashboard. When you hover over the key or select it, you can get the actual ID.

janeczku commented 7 years ago

Looks like support for passphrase protected SSH keys has been added in docker machine v0.9.0: https://github.com/docker/machine/commit/b62afc85f7ebe08fcd36ba3d3c5cf98193c9271e Could you try with the latest version?

janeczku commented 7 years ago

Closing due to inactivity

ghost commented 6 years ago

Hi, I got the same error with 1.4

ghost commented 6 years ago

Sorry it worked with "Ubuntu 17.10"