I am sure there is a way to install ftp in docker but I can't find out how. I looked at other peoples Dockerfile and but their code is very complex. Is there a straight foreword way to install and configure ftp in a Dockerfile?
The SFTP server can be easily deployed to any platform that can host containers based on Docker. Below are deployment methods for: Docker CLI. Docker-Compose.
docker run -d -p 20-21:20-21 -p 65500-65515:65500-65515 -v /tmp:/var/ftp:ro metabrainz/docker-anon-ftp
That's the simpler way to open an anonymous FTP server on ftp://localhost, just replace /tmp for the directory of your preference.
And its Dockerfile looks really simple https://github.com/metabrainz/docker-anon-ftp/blob/master/Dockerfile
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With