By brikeyes
I have a docker machine running on Vmware here at my office I have entered the e command
"docker-machine create --driver digitalocean --digitalocean-access-token cb85297ca1899721374212BLAHBLAH4e460c25081ca69f1d32b69ed8f99 Dockercloudhost1"
to provision it , but how do I log with the DO website console screen ??
I can see all of my dockerhosts in the DO website
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!
When you provision a server using Docker Machine, it generates its own set of SSH keys for use in connecting to the host. The simplest way to access the Droplet is through docker-machine itself:
docker-machine ssh machine-name
You can find more info, including the IP address and the full path to the directory containing the SSH keys locally, by running:
docker-machine env machine-name
You can then use this to connect to the server as normal. For instance in my case, using the DOCKER_CERT_PATH found by running the above command, I can use:
ssh -i /home/user/.docker/machine/machines/machine-name/id_rsa root@docker.host.ip.addr
Check out this tutorial for more information on using Docker Machine:
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.