Jump to content

Unraid Docker game server - A way to restart docker container as a non root user


pking84

Recommended Posts

I recently setup a dedicated Valheim server in a docker container on my Unraid system.  Their updates are very unpredictable and I have had some instances where I am asleep and friends cannot use the server because of version issues.  The first thought I had was to use root and ssh in to docker restart.   I was going to make a Discord bot that would execute the ssh command on a trigger like "$restart" only from discord admins.  I was unable to set this up, but also did not want my root password stored in that python script. I read there is no way I can make a user to have access to the web gui of Unraid, if that's the case is there a way to get an SSH user access to restart docker containers?

 

 

Link to comment
  • 11 months later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...