this post was submitted on 10 Jun 2023
6 points (100.0% liked)
Lemmy Support
157 readers
1 users here now
Support / questions about Lemmy.
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
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.