Sign inSign up

vipconsult/proftpd

By vipconsult

•Updated about 9 years ago

Image
2

10K+

vipconsult/proftpd repository overview

⁠Running the container

docker run --net=host -d --name proftpd -v /host_folder_to_share:/home/username vipconsult/proftpd

⁠Passive mode note

--net=host - required for passive mode connections.

⁠Persistent users

to make the users persistent share the passwords file with the host or a data -v /home/docker/proftpd/ftpd.passwd:/etc/proftpd/ftpd.passwd

⁠Adding new user

docker exec -it proftpd ftpasswd --file=/etc/proftpd/ftpd.passwd --passwd --shell=/bin/false --name=username --uid=1001 --home=/home/username

#User permissions note --uid - needs to be set to a user id that has permissions to read and write to the home directory

⁠Deleting user

docker exec -it proftpd ftpasswd --passwd --file /etc/proftpd/ftpd.passwd --delete-user --name username

⁠Example with persistent users

docker run --restart=always --net=host -d --name proftpd -v /home/http:/home/ -v /home/docker/proftpd/ftpd.passwd:/etc/proftpd/ftpd.passwd vipconsult/proftpd

Tag summary

Content type

Image

Digest

sha256:a566f813e…

Size

122.3 MB

Last updated

about 9 years ago

docker pull vipconsult/proftpd