garethflowers/docker-ftp-server

Container crashes when trying to connect with WinSCP

stuntguy3000 opened this issue · 1 comments

Hi,

I've set this up and am trying to use it for the first time. I am finding an issue where after connecting with WinSCP to begin using the server, it crashes and burns (and the container stops running)

After authentication,
image

Logs don't reveal much either. This is all that appears in Docker console before it stops running/crashes.
image

I've attempted to break into the container to grab more information, but I've hit a roadblock.

docker exec a89d0dd630d2 bash
OCI runtime exec failed: exec failed: container_linux.go:380: starting container process caused: exec: "bash": executable file not found in $PATH: unknown

Appreciate your help!

I think the issue is this line in the config:
ftp_data_port=21

it's trying to bind the data port on the same port used for control. Commenting out this line should fix the issue.