Question

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

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


Submit an answer

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!

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

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: