vgist / dockerfiles

🐳 A collection of delicious docker recipes.
https://hub.docker.com/u/gists/
Apache License 2.0
164 stars 62 forks source link

Username and password to connect via filezilla? #4

Closed echtelerp closed 6 years ago

echtelerp commented 6 years ago

Hi vgist,

I somehow can not connect to the ftp server. which password did you set to the user ftpuser? I somehow can't find it :-)

aieu commented 6 years ago

You should first run docker exec -it pure-ftpd pure-pw useradd test -m -u ftpuser -d /home/ftpuser/test to add virtual user

echtelerp commented 6 years ago

Thanks for the info, :-) Is there a possibility to pass those in the container either on build or on run?

aieu commented 6 years ago

Good idea, I'll add the default user and password for the next update.

Before that, you can mount your custom pure-ftpd's database inside the container.

/pureftpd:/etc/pureftpd
echtelerp commented 6 years ago

I Eddited the Dockerfile a little bit:

maybe you can get inspirations from it :-) https://github.com/echtelerp/docker-environment/tree/master/arch_arm32v7/FTPserver