How to ssh into docker-machine VirtualBox instance?

0 votes

I'm using docker-machine to create a machine using VirtualBox. Everything works fine but I'd like to use ssh into the machine itself and I find no instructions on how to do this. I can connect to the ssh port:

ssh $(docker-machine ip dev)

But I've no idea what username / password / identity file to use.

Aug 1, 2018 in Docker by Hannah
• 14,080 points
51 views

1 answer to this question.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
0 votes

You can log into docker-machine hosts by just running

docker-machine ssh default

The identity files should be stored under ~/.docker/machine/machines

answered Aug 1, 2018 by Kalgi
• 36,690 points

Related Questions In Docker

0 votes
1 answer
+1 vote
1 answer
0 votes
1 answer

How to send docker using terraform to aws cloudwatch?

Check if you set all the permissions ...READ MORE

answered Jun 7, 2018 in Docker by DareDev
• 6,710 points
285 views
0 votes
1 answer
0 votes
1 answer

Deploy Docker Containers from Docker Cloud

To solve this problem, I followed advice ...READ MORE

answered Sep 3, 2018 in AWS by Priyaj
• 56,140 points
81 views
0 votes
1 answer

How to increase docker-machine memory Mac

when you create docker machine, you can ...READ MORE

answered Jul 26, 2018 in Docker by Kalgi
• 36,690 points
127 views
+4 votes
4 answers

How To Access a Service on Host From a Docker Container?

Adding to kalgi's answer, You can also ...READ MORE

answered Oct 16, 2018 in Docker by lina
• 8,100 points

edited Oct 16, 2018 by lina 2,643 views

© 2018 Brain4ce Education Solutions Pvt. Ltd. All rights Reserved.
"PMP®","PMI®", "PMI-ACP®" and "PMBOK®" are registered marks of the Project Management Institute, Inc. MongoDB®, Mongo and the leaf logo are the registered trademarks of MongoDB, Inc.