Alexey
October 29, 2020, 6:24pm
4
If you have an ssh access to your NAS, you could try to download the docker image to your PC, extract a binary and transfer it to the QNAP, then run it there.
You also can take a look on these threads (you can build the storagenode yourself):
I’d like to share my approach to running a storage node, which is to forget about Docker and its multi-megabyte downloads of random images with stuff I already have on my computer. Besides, I have better things to do with my time than figuring out how yet another tool which I don’t need works.
Thus, I simply build it from source, then start it manually / via systemd.
#!/bin/bash
if [ $# = 0 ]; then echo "Usage: $0 v0.12.3 # current release!" >&2 ; exit 2; fi
set -ex
test -d storj || git clone …
In case you’re building your own binary instead of downloading ugly Docker images, here’s my auto-update script:
#!/bin/bash
vercomp () {
if [[ $1 == $2 ]]; then return 0; fi
local IFS=.
local i ver1=($1) ver2=($2)
for ((i=${#ver1[@]}; i<${#ver2[@]}; i++)); do ver1[i]=0; done
for ((i=0; i<${#ver1[@]}; i++)); do
if [[ -z ${ver2[i]} ]]; then ver2[i]=0; fi
if ((10#${ver1[i]} > 10#${ver2[i]})); then return 11; fi
if ((10#${ver1[i]} < 10#${ver2[i]})); the…