Topic "Connect to a Docker container"

Author Message
Joo

Guest


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
Advertisements
martin◆
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 26730
Location: Prague, Czechia
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.
James1234

Guest


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....
gauravb

Guest


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

Guest


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.
Advertisements

You can post new topics in this forum

Search

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License