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?
Unraid Docker game server - A way to restart docker container as a non root user
in Docker Engine
Posted
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?