stilliard / docker-pure-ftpd

Docker Pure-ftpd Server

Home Page:https://hub.docker.com/r/stilliard/pure-ftpd/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Unable to open [/etc/pure-ftpd/pureftpd.conf]: No such file or directory

aguerram opened this issue · comments

Hey there, I have to issue regrading using this image in docker it shows me this error :
Unable to open [/etc/pure-ftpd/pureftpd.conf]: No such file or directory
This is my docker-compose code :

pure-ftpd:
    image: vimagick/pure-ftpd
    volumes:
      - '/CWS/ftp/data:/home/username'
      - '/CWS/ftp/passwd:/etc/pure-ftpd/passwd'
    ports:
      - "2100:21"
      # - "30000-30009:30000-30009"
    expose:
      - 21000
    privileged: true
    restart: always
    environment:
      - PUBLICHOST=localhost
      - FTP_USER_NAME=username
      - FTP_USER_PASS=password
      - FTP_USER_HOME=/home/useit

I was trying to resolve this for 2h now, I hope you have a solution.
Thank you.

I found solution I just forget to run this command :
CMD /run.sh -c 30 -C 10 -l puredb:/etc/pure-ftpd/pureftpd.pdb -E -j -R -P $PUBLICHOST -p 30000:30059