3

I built my docker image and run it:

docker run --rm -P -d test:latest

Then I entered the command and opened connection:

ftp
open XXX

I successfully connected and entered user data. After that I try to execute:

ls

And received these messages:

200 Command okay.
425 Can't open data connection.

P.S.

I run a Linux image from Windows cmd.

2
  • Is there any firewall enabled? I’ve seen this error with FTP servers. See if this helps: github.com/microsoft/WSL/issues/2973
    – pm1391
    Jun 13, 2020 at 22:24
  • you want to run FTP to connect to a r emote server from within your container?
    – gmolaire
    Aug 5, 2020 at 2:01

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.