By Juan Noguera
On Windows 10, I followed the instructions here to create a swarm, and it worked OK. Now I want to be able to connect to each node in the swarm using one of the SSH keys that I have in DO. To try this, I used command:
docker-machine create --driver digitalocean --digitalocean-ssh-key-fingerprint mFingerprint --digitalocean-access-token mToken mNodeName
the command ends up with an error “Error creating machine: Error detecting OS: OS type not recognized”. The droplet is created and I can access it with the ssh key that I wanted to use, but docker is not installed in the droplet. I think that the problem is that docker-machine does not have the ssh key so it cannot connect to the droplet once created.
How should I proceed, in Windows or Linux, to create nodes for the docker swarm to which I can connect using the stored SSH key?
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!
If you check the cloud-init-output.log and your access log are you able to see docker-machine’s attempts to access the server?
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.