Closed code-surfer closed 5 years ago
Ah, good catch. I'll go through and make sure I get that fixed for all the relevant Dockerfiles. Correct line should be:
docker run --rm --volumes-from syncthing_config --user root --entrypoint "/bin/sh" syncthing -c "chown -R syncthing:users /config"
Edit: although after playing with it a bit, I actually like just using --entrypoint=
like you did to reset the entrypoint to default.
Fixed with d6098d07e199761ca13115dcc13f682ab5612fa0
The command
docker run --rm --volumes-from syncthing_config --user root syncthing chown -R syncthing:users /config
given in the README does not work. It only makes the syncthing command show its usage. According to thedocker-run
man page, the ENTRYPOINT is purposely more difficult to override. When I add a--entrypoint=
option, it works.The remainder of the instructions work, my dockerized syncthing is syncing fine with my other peers.