Just to clarify:
The environment variable:
DUPLICATI__WEBSERVICE_INTERFACE=any
Is the same as setting the commandline argument:
--webservice-interface=any
The environment variable way is (usually) easier with Docker.
I think you are correct here, and I was wrong. You need any
for it to work.
The network inside the Docker container can actually be private. So if Duplicati only listens to loopback
(aka aka 127.0.0.1
), no process outside the container can access it:
I don’t know why it is crashing, but you will not be able to connect.
So to recap:
- You need to have the “External access” enabled
- Since this only has effect inside Docker, it should be read as “Allow access from outside the container”
- On the Docker host, you control how the access is further exposed, and here you can limit it to localhost access only
There is nothing Duplicati can do, because the process inside the container cannot (by design) affect things outside.
Yes.