-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to get docker container working #164
Comments
Hi and welcome!
Be aware, the latest version is v0.14.4.
This is in the Dockerfile. So you could build your own (edit
By default it uses the IP from the connection. If there was network translation this method won't work. unFTP has no way of knowing what the right passive host is. In this case you need to configure unFTP to handle it differently, using:
You can set the argument to either a DNS hostname or a specific IP address. So:
Or indeed a hostname that it will resolve at startup. Hope that helps! |
@robklg Thank you for your time and answers! Problem 1: Problem 2:
Fixed, thank you! Almost there, but one new problem: If I use Filezilla and upload to Scanner connecting:
The scanner really wants to cd to Thanks again! |
Yes you are reasoning it correctly. Took me a moment to see the problem, I think the problem is you miss the So that means our documentation needs improvement. Till then, to list all the arguments + the env vars, you can use
|
Thanks again, you are correct. My new docker run:
Now in Filezilla
|
I think the scanner is trying to Meanwhile, you could try as a workaround to create a symlink there:
I admit it’s a bit dirty but I think it should solve your issue for now. |
Hello,
This looks perfect for what I need.
My docker run:
I created a
credentials.json
file:This works - I can read it from inside the container and the ftp and the log contains:
First question:
If I exec in and run
touch /ftp/test
I get this:Is there anyway to set the uid/gid to 1000?
Second question:
from the log:
from lftp:
I believe it's translating between the docker IP and the LAN IP. While dockers
0.0.0.0:2121->2121/tcp
binds to all IPs, it appears unftp only wants the docker IP.If I locally test it with the docker IP:
apparently more permission problems...
The text was updated successfully, but these errors were encountered: