fauria / docker-vsftpd

🐳 vsftpd Docker image based on Centos 7. Supports passive mode and virtual users.
https://hub.docker.com/r/fauria/vsftpd/
Apache License 2.0
414 stars 341 forks source link

Still not fixed!!!!!! #58

Closed success-0627 closed 3 years ago

success-0627 commented 3 years ago

https://github.com/fauria/docker-vsftpd/issues/1

image

image

success-0627 commented 3 years ago

PS: I have turnoff firewall on my Mac. I never get it working!

MikeReh commented 3 years ago

This made mine working 👍

LOCAL_UMASK: 0777

version: "3"

services:

vsftpd: build: context: . dockerfile: ./Dockerfile args: USER_ID: 1000 GROUP_ID: 1000 environment:

waqasraz commented 2 years ago

docker run -d -p 2021:21 -p 21100-21110:21100-21110 -e FTP_USER=myuser -e FTP_PASS=mypass -e PASV_ADDRESS=127.0.0.1 -e PASV_MIN_PORT=21100 -e PASV_MAX_PORT=21110 -e LOCAL_UMASK=0777 -e PASV_ADDRESS_ENABLE=YES -v /Users/user/Documents:/home/vsftpd --name vsftpd fauria/vsftpd

This made the connection successful on MAC

jarne-vs commented 2 years ago

I don't know if there are still problems with this but the thing that worked for me was setting the PASV_ADDRESS to the ip of the server it needs to connect to.