I think we could do a change to affect less non-default setups, if we would download to /app/config/bin
if there are no binaries, but then copy them to some folder inside the container, which is not exposed to the host and where we can set proper permissions, like /app/bin
and use it to run binaries from there.
Right now there are three solutions:
- Add
exec
to the mount options in/etc/fstab
, if possible (defaults
includes it). - Use a docker volume, however, this seems doesn’t work on QNAP for some reason: Node stopped working as docker container on qnap-container-station - #20 by beli
- Use the variable
BINARY_DIR
to redirect the binary folder inside the container.