Change ip linux(transfer node)

hello,

is this correctly cmnds for change IP on ubuntu?

docker stop storagenode
docker rm storagenode
docker run -d --restart unless-stopped -p 28967:28967
-e WALLET=“wallet”
-e EMAIL=“ivana@hotmail.com"
-e ADDRESS=“NEWIPHERE:28967"
–mount type=bind,source="/root/.local/share/storj/identity/storagenode",destination=/app/identity
–mount type=bind,source="/root/storjdata",destination=/app/config
–name storagenode storjlabs/storagenode:arm

thanks for help

Yes that is correct. If it’s not a static IP then use a service like NO-IP or dynu.

1 Like

i bought NOIP, excellent, thanks

2 Likes

Then if you have a No-IP account, you would put your public host name instead of an IP on your docker command.

Example (untested command):

docker run -d --restart unless-stopped \
-p xxxx:28967 \
-e WALLET="xxxx" \
-e EMAIL="xxxx" \
-e ADDRESS="YOUR_PUBLIC_HOST_NAME_HERE:28967" \
-e STORAGE="2TB" \
--mount type=bind,source="xxxx",destination=/app/identity \
--mount type=bind,source="xxxx",destination=/app/config \
--name storagenode \
storjlabs/storagenode:latest

Besides, I’m wondering if you shouldn’t use storjlabs/storagenode:latest instead of storjlabs/storagenode:arm? :thinking:
I guess if you’re on an ARM architecture it’s fine… But using latest makes the choice of the right package automatic.

2 Likes