Report this

What is the reason for this report?

I have created a few droplets with docker machine , what is the default password ? and user name

Posted on July 24, 2015

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!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

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:

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.