Hello folks!
I am attempting to run an FTP server via docker on TrueNAS. This is more of an exercise to learn how docker works in SCALE than anything else.
As a reference point, I'm able to spin up the following container on an ubuntu system and connect to it successfully;
For the life of me, I cannot get the same thing to work within TrueNAS. Here is what I'm doing,
* Login to TrueNAS web interface
* click "Apps" menu on the left side
* click "Manage Docker Images" tab
* near the top, click the "Pull Image" button. Fill in my credentials for docker hub and type in these values,
* click "Save". The image gets downloaded to my TrueNAS server without issues.
* click the blue "Launch Docker Image" button and fill in the following,
I am able to start the application (or container) successfully. Under the "Installed Applications" tab, it shows up with a green "ACTIVE" box. But attempting to login to the server via Filezilla using 192.168.1.20:9888 , I can see authentication passing, but it fails on the next step to list folders.
Have been trying out a few different variants - using host filesystem (no dataset), changing username, changing mount path ... etc. But no success.
Any ideas on what I could try next?
- Abraham V.
I am attempting to run an FTP server via docker on TrueNAS. This is more of an exercise to learn how docker works in SCALE than anything else.
As a reference point, I'm able to spin up the following container on an ubuntu system and connect to it successfully;
Code:
$ docker run -v $(pwd):/home/username \ -e USER=username -e PASSWORD=password \ -p 4567:21 -p 3000-3010:3000-3010 \ mikatux/ftps-server
For the life of me, I cannot get the same thing to work within TrueNAS. Here is what I'm doing,
* Login to TrueNAS web interface
* click "Apps" menu on the left side
* click "Manage Docker Images" tab
* near the top, click the "Pull Image" button. Fill in my credentials for docker hub and type in these values,
Code:
Image Name = mikatux/ftps-server Image Tag = latest
* click "Save". The image gets downloaded to my TrueNAS server without issues.
* click the blue "Launch Docker Image" button and fill in the following,
Code:
Page 1 (Image and Policies): Application Name = `testftp` Image Repository = `mikatux/ftps-server` Image Tag = `latest` Image Pull Policy = `Only pull image if not present on host.` Update Strategy = `Kill existing pods before creating new ones.` Page 2(Container Settings): Container CMD = ` ` (i.e. leave this blank, enter nothing) Container Args = ` ` (i.e. leave this blank, enter nothing) Add containerEnvironmentVariables, ``` USER = flakes PASSWORD = pass123 ``` Page 3 (Networking): defaults - no change; host network NOT checked. Page 4 (Port Forwarding List): Container Port = `21` Node Port = `9888` Protocol = `TCP Protocol` Page 5 (Host Path Volumes): -do nothing, skip- Page 6(Volumes): Dataset Name: `testftp` Mount Path: `/home/flakes` Page 7(Security Settings): not checking the privileged box (default) Page 8 (Confirm Options): click final button to go ahead!
I am able to start the application (or container) successfully. Under the "Installed Applications" tab, it shows up with a green "ACTIVE" box. But attempting to login to the server via Filezilla using 192.168.1.20:9888 , I can see authentication passing, but it fails on the next step to list folders.
Have been trying out a few different variants - using host filesystem (no dataset), changing username, changing mount path ... etc. But no success.
Any ideas on what I could try next?
- Abraham V.