docker machine
来源:3-2 Docker Image概述
木鸟
2019-01-09
A 机用docker machine 在阿里云建立了一个虚拟机
那B机怎么去连接这个A机创建的云端虚拟机呢
2回答
-
麦兜搞IT
2019-01-11
接下面的回复,通过debug的log可以得到docker-machine ssh的重要信息
Using SSH client type: external
(demo) DBG | hidpointing="ps2mouse"
Using SSH private key: /Users/pengxiao/.docker/machine/machines/demo/id_rsa (-rw-------)
&{[-F /dev/null -o ConnectionAttempts=3 -o ConnectTimeout=10 -o ControlMaster=no -o ControlPath=none -o LogLevel=quiet -o PasswordAuthentication=no -o ServerAliveInterval=60 -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null docker@127.0.0.1 -o IdentitiesOnly=yes -i /Users/pengxiao/.docker/machine/machines/demo/id_rsa -p 50923] /usr/bin/ssh <nil>}
(demo) DBG | hidkeyboard="ps2kbd"
&{/usr/bin/ssh [/usr/bin/ssh -F /dev/null -o ConnectionAttempts=3 -o ConnectTimeout=10 -o ControlMaster=no -o ControlPath=none -o LogLevel=quiet -o PasswordAuthentication=no -o ServerAliveInterval=60 -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null docker@127.0.0.1 -o IdentitiesOnly=yes -i /Users/pengxiao/.docker/machine/machines/demo/id_rsa -p 50923] [] <nil> <nil> <nil> [] <nil> <nil> <nil> <nil> <nil> false [] [] [] [] <nil> <nil>}
072019-01-16 -
麦兜搞IT
2019-01-10
您好,通过docker-machine的ssh就可以连接的,就和本地的docker machine一样的。
022019-01-11
相似问题