Docker Community Forums

Share and learn in the Docker community.

Cannot recconect via SSH [SOLVED]

Hey,
I started to learn docker and i came to situation where im create docker machines and connect them with the command docker-machine ssh vmname
the command work as long the command line thet i used at the first time is still open, but in the second im opening new command line window i cannot make new connection over ssh
im running the node’s on windows 10 with Git bash command line and open vm with hyperv driver

first connection work as you see :
docker-machine.exe ssh node2
( ‘>’)
/) TC (\ Core is distributed with ABSOLUTELY NO WARRANTY.
(/--) www.tinycorelinux.net

docker@node2:~$
This node joined a swarm as a worker.

new command line :
$ docker-machine.exe ssh node2
Error: Cannot run SSH command: Host “node2” is not running

example:

solution
connected directly to machine over ssh with the password tcuser