You can add the docker group to your user, then log out an in again, and you won’t need sudo anymore for docker commands.
sudo usermod -aG docker your_user
Thanks for this tip, by the way.
Support / questions about Lemmy.
You can add the docker group to your user, then log out an in again, and you won’t need sudo anymore for docker commands.
sudo usermod -aG docker your_user
Thanks for this tip, by the way.
keep in mind that this effectively grants your user passwordless sudo permissions, which may not be what you want.
Yeah, I do that on my home server but my VPS had passwordless sudo by default so I was too lazy to do this.
Fair enough. New “sysadmins” might not know that though, so I thought I’d share that tip.
Not a criticism in any way, but I would also recommend not using the default user name and password for the Postgres DB. 😃
Heh. Username is default but isn't the password defined in the docker file? That's not default.
thank you!
Would be nice to see some more UI built-in admins tools for user admin.