Closed EZarnosky closed 3 years ago
Is this possible?
Maybe? I'm not sure. See next disclaimer.
If so what could be wrong with my compose file below?
You have two command
lines but AFAIU a docker image can only have a single command that starts, so you're second one is probably being ignored.
In general mirror expects to run in a client/server setup, i.e. one machine is a server, and the other machine is the client and connects to it. So it's unclear in your docker setup ^ who is the server and who is the client.
So you probably need two separate services
, like mirror-server
and mirror-client
and then configure them to talk to each other.
You can probably get it to work; let me know if you figure it out, but otherwise don't have time to help troubleshoot that specific setup.
fs.inotify.max_user_watches & fs.inotify.max_queued_events
I'm actually not sure. My guess is both host and container, but that's just a guess.
I am trying to mirror a user folder to a shared folder on my docker host, but have been unsuccessful. Is this possible? If so what could be wrong with my compose file below?
Another question regarding increasing fs.inotify.max_user_watches & fs.inotify.max_queued_events, is this done in the docker container or the docker host?