vimagick / dockerfiles

:whale: A curated list of delicious docker recipes 🇺🇦🇮🇱 (Let's Fight Against Dictatorship)
https://hub.docker.com/u/vimagick/
3.13k stars 788 forks source link

VSFTPd docker home dir #68

Open bilyboy785 opened 6 years ago

bilyboy785 commented 6 years ago

Why adding a "./" at the end of home user dir ? I set the home like this : pure-pw useradd myuser -u ftpuser -d /home/ftpuser/myuser -t 1024 -T 1024 -y 1 -m

And when i list my user i've got that :

myuser /home/ftpuser/myuser/./

And logs in FileZilla :

421 Home directory not available - aborting

FedericoPonzi commented 6 years ago

You have to connect to the docker machine, and create the home directory for the new user:

mkdir /home/ftpuser/myuser