I am trying to host storj node but when i am trying to spin up container , my node is keep restarting itself.
Environment : mac os mojave 10.14.6
docker version 19.03.5
this is what i am trying to run : docker run -d --restart unless-stopped -p 28967:28967
-p 127.0.0.1:14002:14002
-e WALLET=“WALLET ADDRESS”
-e EMAIL="nbhadradiya.storj@gmail.com"
-e ADDRESS=“nbhadradiyastorj.ddns.net:28967"
-e BANDWIDTH=“3TB"
-e STORAGE=“500GB”
–mount type=bind,source="/Users/monali-mac/Library/Application Support/Storj/Identity",destination=/app/identity
–mount type=bind,source="/Users/monali-mac/Documents/storj",destination=/app/config
–name storagenode storjlabs/storagenode:beta
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
987017d0f2e7 storjlabs/storagenode:beta “/entrypoint” 3 seconds ago Restarting (1) Less than a second ago storagenode
ea0843787559 storjlabs/watchtower “/watchtower storage…” 2 days ago Up 16 hours watchtower
Monalis-Mac-mini:~ monali-mac$ docker ps -a
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
987017d0f2e7 storjlabs/storagenode:beta “/entrypoint” About a minute ago Restarting (1) 10 seconds ago storagenode
ea0843787559 storjlabs/watchtower “/watchtower storage…” 2 days ago Up 16 hours watchtower
Tried with 500 GB and 550 both and still same result, Yes my mac mini is after 2010 model in-fact it is 2014 model. Let me know if i need to check anything else
Monalis-Mac-mini:~ monali-mac$ docker ps -a
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
dac98f4742ad storjlabs/storagenode:beta “/entrypoint” 2 minutes ago Restarting (1) 21 seconds ago storagenode
ea0843787559 storjlabs/watchtower “/watchtower storage…” 2 days ago Up 16 hours watchtower
Monalis-Mac-mini:~ monali-mac$
Monalis-Mac-mini:~ monali-mac$ docker logs --tail 20 storagenode
–db.conn_max_lifetime duration Maximum Database Connection Lifetime, -1ns means the stdlib default (default -1ns)
–db.max_idle_conns int Maximum Amount of Idle Database connections, -1 means the stdlib default (default 20)
–db.max_open_conns int Maximum Amount of Open Database connections, -1 means the stdlib default (default 25)
–debug.addr string address to listen on for debug endpoints (default “127.0.0.1:0”)
–debug.trace-out string If set, a path to write a process trace SVG to
–defaults string determines which set of configuration defaults to use. can either be ‘dev’ or ‘release’ (default “release”)
–identity-dir string main directory for storagenode identity credentials (default “identity”)
–log.caller if true, log function filename and line number
–log.development if true, set logging to development mode
–log.encoding string configures log encoding. can either be ‘console’ or ‘json’ (default “console”)
–log.level Level the minimum log level to log (default info)
–log.output string can be stdout, stderr, or a filename (default “stderr”)
–log.stack if true, log stack traces
–metrics.addr string address to send telemetry to (default “collectora.storj.io:9000”)
–metrics.app string application name for telemetry identification (default “storagenode”)
–metrics.app-suffix string application suffix (default “-release”)
–metrics.instance-prefix string instance id prefix
–metrics.interval duration how frequently to send up telemetry (default 1m0s)
–monkit.hw.oomlog string path to log for oom notices (default “/var/log/kern.log”)
ok, please try to run the storagenode again, but replace all quotes in the command to the straight ones: " and all hyphens to two dashes -- in the command before run.
Please, do not use Notes or other word processors for editing the command, it will replace all straight quotes to curly ones, all double dashes to hyphens, which are not acceptable in the command shell.
Use only plain text editor.