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

Add ftp-users using docker-compose.yml #44

Open PeteXP956 opened 4 years ago

PeteXP956 commented 4 years ago

Hello,

first of all, thanks a lot for this container. Maybe I misunderstood something. Therefore, I would be glad about a hint.

I'm struggling adding new users when using docker-compose.yml. When adding a user manually to an existing container, the user gets deleted after using docker-compose down and up again. So, is there going to be a chance to add users like that?:

  vsftpd:  
      container_name: vsftpd
      image: fauria/vsftpd  
      environment:  
        - FTP_USER_1:One
        - FTP_PASS_1:PassOne
        - FTP_USER_2:Two
        - FTP_PASS_2:PassTwo
      volumes:
        - /volume/One:/home/vsftpd/One
        - /volume/Two:/home/vsftpd/Two

Thanks a lot!

zl3one6 commented 2 years ago

Hope there will be a solution!

ecker00 commented 1 year ago

This is related: https://github.com/fauria/docker-vsftpd/issues/20 As the current manual approach is not persistent.