docker-vsftpd icon indicating copy to clipboard operation
docker-vsftpd copied to clipboard

Add ftp-users using docker-compose.yml

Open PeteXP956 opened this issue 5 years ago • 2 comments

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!

PeteXP956 avatar Nov 10 '19 10:11 PeteXP956

Hope there will be a solution!

zl3one6 avatar Jul 07 '22 03:07 zl3one6

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

ecker00 avatar Feb 02 '23 11:02 ecker00