I have 2 questions for my run command for one of my nodes. It is in a docker container with watchtower updates and every is working. However I noticed from the docs, that the docker tag is now latest instead of beta.
My run command still conteins “–name storagenode storjlabs/storagenode:beta” so I wonder if I can keep it this way or if I should restart the node with latest tag and if it would be safe to do so.
Second question is also the run command. I had added options for log processing: -"-log-driver local --log-opt mode=non-blocking --log-opt max-size=100m --log-opt max-file=4" and did not notice and errors until last manual restart when “–log-opt command not found” was issued as error. The node however started and runs fine. Why am I getting this error?
Can’t test it right now but you are right, there was no slash. So I guess that was it. I’ll comment again if your answer did not resolve it. Many thanks!
Now I was able to test my run command but now the container would not start at all. Maybe the command is wrong. I wanted to add this to the run command: \ --log-driver local \ --log-opt mode=non-blocking \ --log-opt max-size=100m \ --log-opt max-file=4
Without the slashes it would throw an error but at least the container would start. Any idea what is wrong with my command?
Oh yes, that is just a display issue from the board software here from the code tags I have used. My run command is per line and the slash is at the end of the line.
What is the error?
What is the version of the docker?
Please put your whole command between two lines with three backticks ```: three backticks line before the first line of the command and three backticks after the last line of the command.
then it no longer starts. It keeps saying that the container is restarting but never succesfully comes online.
When I remove the log lines, then it starts in seconds.