running odin commands via docker #99
-
This is likely me being unfamiliar with docker, but I'm having some trouble running odin commands via docker exec. Having stopped the server with
however if i run:
This seems like a working directory problem, since the server is in fact located in /home/steam/valheim/ not /home/steam/steamcmd/, but I'm not sure what to pass in to fix it. Specifically I notice that there's a version of the start_server_rusty.sh script in both folders, and both include an absolute path to the server (correct for the one in /home/steam/valheim, incorrect for the other) so that's the source of the error, but I'm not sure why it is defaulting to the wrong one. I intend to keep poking around until i find a way to make this work (probably whatever you have to do to pass in a working directory to your command), but I'd appreciate any tips here. (And, it seems like it would be nice if it defaulted to working correctly.) |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
It looks like this is a potentially old docker image. I'd wait for @mbround18 to weigh in, but |
Beta Was this translation helpful? Give feedback.
-
Because this looks like an older version of the image, I would recommend running odin commands while inside the container as the user due to some jenky environment variables. These have been resolved on the |
Beta Was this translation helpful? Give feedback.
It looks like this is a potentially old docker image. I'd wait for @mbround18 to weigh in, but
rusty_startup_script.sh
is no longer used in newer versions of odin.