Storagenode Docker Update: Changes To Binaries Location For Persistence Between Restarts

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:

  1. Add exec to the mount options in /etc/fstab, if possible (defaults includes it).
  2. 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
  3. Use the variable BINARY_DIR to redirect the binary folder inside the container.
1 Like