Error creting node with docker and rpi 4b

docker run -d --restart unless-stopped --stop-timeout 300
-p 28967:28967
-p 127.0.0.1:14002:14002
-e WALLET=“0”
-e EMAIL="@"
-e ADDRESS=“4:28967”
-e STORAGE=“1TB”
–mount type=bind,source="/home/pi/storagenode",destination=/app/identity
–mount type=bind,source="/mnt/storj",destination=/app/config
–name storagenode storjlabs/storagenode:latest

ls /home/pi/storagenode

ls /home/pi/storagenode
ca.1593546352.cert ca.key identity.cert
ca.cert identity.1593546352.cert identity.key

OK

and
ls /mnt/storj

pi@raspberrypi:~ $ ls /mnt/storj
config.yaml lost+found

and
mount /dev/sda2

according to the log, the container is still restarting?

mount: /mnt/storj: /dev/sda1 already mounted on /mnt/storj.

thanks for all the time you are spending to help me

not one “-” only two “–”
see at: Storage Node - Storj Docs

like this?

docker run -d --restart unless-stopped --stop-timeout 300
-p 28967:28967
-p 127.0.0.1:14002:14002
-e WALLET=“0c5”
-e EMAIL=“s”
-e ADDRESS=“22:28967”
-e STORAGE=“900GB”
–mount type=bind,source="/home/pi/storagenode",destination=/app/identity
–mount type=bind,source="/mnt/storj",destination=/app/config
–name storagenode storjlabs/storagenode:latest

docker give me this error

docker: invalid reference format.
See ‘docker run --help’.

@Gerarardit are you running the command as a single line?

“docker run -d --restart unless-stopped --stop-timeout 300 -p 28967:28967 -p 127.0.0.1:14002:14002 …”?

OR
"docker run -d --restart unless-stopped --stop-timeout 300 \
-p 28967:28967 \
-p 127.0.0.1:14002:14002 \ … etc?

Seems you have used some wordprocessor. It replaced all -- to hyphens.
Please, replace them back to --
Also, replace all curly quotes and to the straight ones "
Use only plain text editor, nano or vi for example

It’s on different lines

1 Like

2 posts were split to a new topic: CLI dashboard do not loading

Is this working now? The docker run command can be run either a single line or different lines using a ‘\’ after each line except the last.