Closed success-0627 closed 3 years ago
PS: I have turnoff firewall on my Mac. I never get it working!
This made mine working 👍
LOCAL_UMASK: 0777
version: "3"
services:
vsftpd: build: context: . dockerfile: ./Dockerfile args: USER_ID: 1000 GROUP_ID: 1000 environment:
LOCAL_UMASK=0777 restart: always
ports:
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
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.
https://github.com/fauria/docker-vsftpd/issues/1