Connect to a Docker container

Advertisement

Joo
Guest

Connect to a Docker container

Hi,

Is it possible to connect to a running docker container with Winscp?

I am able to connect to host on which docker system runs. But I cannot find out how to connecting to the docker directly.
Does anyone know what I need to adjust in WinSCP added to connect?
Sure, I am able to open by putty, but I want to connect by WinSCP.

Best Regards
Joo

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
29,731
Location:
Prague, Czechia

Re: Connect to a Docker container

If you are able to connect with PuTTY, I do not see what should prevent you from connecting with WinSCP. Unless you first connect to the host with PuTTY; and then you connect to the docker machine from the host shell.

Show us PuTTY and WinSCP logs for comparison.

Reply with quote

James1234
Guest

Brilliant answer prikryl

Hi prikryl, just want to congratulate you on your answer. This really sorted out the problem. Thank you for you great effort!! Next time, don't reply if you clearly don't have the answer....

Reply with quote

gauravb
Guest

Did you manage to get into it, I am also looking for a solution...

Did you manage to get into it, I am also looking for a solution...

Reply with quote

portablepeter
Guest

Re: Connect to a Docker container

Yes, you can.

Type the command line:
docker-machine ls

This command shows you the ip of the machine:

NAME ACTIVE DRIVER STATE URL SWARM DOCKER ERRORS
manager - hyperv Running tcp://192.168.111.63:2376 v1.13.0
worker - hyperv Running tcp://192.168.111.64:2376 v1.13.0

after it, you should use that ip inside the WinSCP client, with user: docker, and pass: tcuser.

Reply with quote

Advertisement

You can post new topics in this forum