Error creting node with docker and rpi 4b

I get this error when i configure docker

docker: Error response from daemon: invalid mount config for type “bind”: invalid mount path: ‘</home/pi/identity>’ mount path must be absolute.

this is my docker:

docker run -d --restart unless-stopped --stop-timeout 300
-p 28967:28967
-p 127.0.0.1:14002:14002
-e WALLET=“00000000”
-e EMAIL="user@example.com"
-e ADDRESS=“192.168.0.9:28967”
-e STORAGE=“1TB”
–mount type=bind,source="</home/pi/identity>",destination=/app/identity
–mount type=bind,source="</dev/sda2>",destination=/app/config
–name storagenode storjlabs/storagenode:latest

Try without the ‘<’ or ‘>’

1 Like

it worked now im having this error when trying to se the dashboard

docker exec -it storagenode /app/dashboard.sh
OCI runtime exec failed: exec failed: container_linux.go:349: starting container process caused "process_linux.go:101: executing setns process caused “exit status 1"”: unknown

Not
-e ADDRESS=“192.168.0.9:28967”
only
-e ADDRESS=“your.external.ip.here:28967”

“your.external.ip.here” check here:
https://www.whatismyip.com/what-is-my-public-ip-address/

1 Like

my external ip is my public ip?

yes, public

if it is variable, e.g. after router reboot will be different you will need to use DDNS

no i dont need ddns because my router has a static ip

i have tried with the public ip but i have this error

docker exec -it storagenode /app/dashboard.sh OCI runtime exec failed: exec failed: container_linux.go:349: starting container process caused "process_linux.go:101: executing setns process caused “exit status 1"”: unknown

Use Google:
https://www.google.com/search?client=ubuntu&hs=yx5&sxsrf=ALeKk00hgeeXmt4FcFTZgReMWF0tg0MIrQ%3A1593550273234&ei=waX7Xu_sDZGCk74P7bqE2AY&q=OCI+runtime+exec+failed%3A+exec+failed%3A+container_linux.go%3A349%3A+starting+container+process+caused+"process_linux.go%3A101%3A+executing+setns+process+caused+“exit+status+1"”%3A+unknown&oq=OCI+runtime+exec+failed%3A+exec+failed%3A+container_linux.go%3A349%3A+starting+container+process+caused+"process_linux.go%3A101%3A+executing+setns+process+caused+“exit+status+1"”%3A+unknown&gs_lcp=CgZwc3ktYWIQAzIECAAQRzIECAAQRzIECAAQRzIECAAQRzIECAAQRzIECAAQRzIECAAQRzIECAAQR1DkohBY5KIQYLeyEGgAcAN4AIABAIgBAJIBAJgBAaABAqABAaoBB2d3cy13aXo&sclient=psy-ab&ved=0ahUKEwiv0d6vtarqAhURwcQBHW0dAWsQ4dUDCAw&uact=5

i have tried but there are only error 348 and 356 and mine is 349

What OS? what docker?

raspbian lite Docker version 19.03.12, build 48a6621

I’m not sure, but does Raspian Lite have “sh” installed?

e.g. sh: executable file not found in $ PATH unknown

do you mean ssh? or what is sh?

I am not familiar with Rasparian, but on Ubuntu I can’t use ‘/dev/sda’ but I need to use the reference in my fstab file to the mounting point such as ‘/mnt/something’

Well i have change the path and im having the same issue but look what happens if i try another time

docker exec -it storagenode /app/dashboard.sh
OCI runtime exec failed: exec failed: container_linux.go:349: starting container process caused "process_linux.go:101: executing setns process caused “exit status 1"”: unknown

pi@raspberrypi:~ $ docker exec -it storagenode /app/dashboard.sh
Error response from daemon: Container 05a61ac46f35fb05e728c898212573278a392b07e80e5a6eb08bb205fc57f4a9 is restarting, wait until the container is running

docker logs storagenode --tail 20

i think is the identity causin the issue. im right?

2020-06-30T21:30:19.871Z FATAL Failed to load identity. {“error”: “file or directory not found error: open identity/identity.cert: not a directory”, “errorVerbose”: “file or directory not found error: open identity/identity.cert: not a

Take it easy, step by step, follow the instructions:
https://documentation.storj.io/

Show what the command looks like now:
docker run … (without personal data)

yes it has been solved now im having this issue

unable to upgrade tcp 409