Changing values on a running node container

New to running a node, my first and only node for the moment has been running well, I used the following article and the commands listed to create the docker container and get it started up:

setup(linux): Storage Node - Node Operator

I did not know at the time the string for -p would limit accessing the web panel, I can get to the CLI panel just fine, but would like to skip connecting to the node and just use my browser to see how the little guy is doing so I would like to change the above string to be -p 14002:14002 instead per this doc:

dashboard: docs storj site/node/setup/cli/dashboard
( sorry, cant post more than 2 links being a n00b )

While researching I read it is possible to change the values of a running node by stopping the container, removing it and then rerun it using the wanted values per this article:

updating node values:

In the setup guide, the first link, it states “The setup step must be performed only once. If a node has already been set up, running with the SETUP flag will result in failure.”

Just to make sure I do this right and do not cause issues, is it correct if I stop the container and rm it per the doc above, then do I issue the running the node commands without as listed in the first article or do I need to run the setup commands first, but without the SETUP flag? I know from reading to leave the storj data folder alone and just update the container which is what I am aiming for, just change the container values, just want to make sure i dont goof anything up in the process.

Hello @node42 ,
Welcome to the forum!

Not exactly right. You need to stop the container, then remove then run it back with all your parameters include changed ones. You doesn’t need to run a setup step more than once for entire node’s life. So, if you did setup once - you should not do it in the second time. Use the step Running the storagenode.
I would recommend to put your full docker run command to the shell script - this will allow you to run it back anytime later, when you would not remember how to do it :slight_smile:
Just use only plain text editors, for the terminal it’s nano or similar.
Wordprocessors will replace straight quotes to curly ones, double dashes to hyphens and so on, all these fancy symbols are wrong for the shell.

Since i knew copying that long command string thats actually what I did when I was setting it up, just dumped the commands for setup and run from that posted article above into a script and then just ran setup first and then run so I did already adjust it to not have anymore. Trying to redo the container now, i will post if I get stuck, I am good with linux and docker, but new to storj