Hi, i try to create a docker machine for the first time, but always get an timeout when the “Waiting for SSH to be available” starts. I tryed it also without sudo and also for without region and image param.
OS Used: Ubuntu 18.10
chris@spectre:~$ docker-machine --v
docker-machine version 0.15.0, build b48dc28
chris@spectre:~$ sudo docker-machine create --driver digitalocean --digitalocean-access-token=XXXXXXXXX --digitalocean-image=ubuntu-18-04-x64 --digitalocean-region=fra1 butterfisch
[sudo] Passwort für chris:
Creating CA: /root/snap/docker/321/.docker/machine/certs/ca.pem
Creating client certificate: /root/snap/docker/321/.docker/machine/certs/cert.pem
Running pre-create checks...
Creating machine...
(butterfisch) Creating SSH key...
(butterfisch) Creating Digital Ocean droplet...
(butterfisch) Waiting for IP address to be assigned to the Droplet...
Waiting for machine to be running, this may take a few minutes...
Detecting operating system of created instance...
Waiting for SSH to be available...
Error creating machine: Error detecting OS: Too many retries waiting for SSH to be available. Last error: Maximum number of retries (60) exceeded
Does anyone has a clue?
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Same issue also, I believe its to do with docker machine trying to use SSH as root user but can’t as it doesn’t have the permissions.
Hey friend!
I don’t really use docker machine, but I’m just thinking out loud here. Is there a way to add an additional delay prior to it trying to connect over SSH in the process?
Jarland
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.