mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2025-12-09 09:13:02 +03:00
Dockerfiles run services as the root user #1729
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @xhalo32 on GitHub.
Subject of the issue
Shouldn't use the root user to run the services inside the containers.
https://medium.com/@mccode/processes-in-containers-should-not-run-as-root-2feae3f0df3b
@BlackDex commented on GitHub:
Thx for the updated wiki, closing this issue.
@jjlin commented on GitHub:
As noted in https://github.com/dani-garcia/bitwarden_rs/pull/1014#issuecomment-637965744, this probably isn't a good default for bitwarden_rs, but I've now added documentation on how to run as non-root:
https://github.com/dani-garcia/bitwarden_rs/wiki/Hardening-Guide#run-as-a-non-root-user
@jjlin commented on GitHub:
@Stampede10343 I didn't notice that page, but I think it has a few additional things that would be good to mention. I'll merge it into the hardening guide page tonight. Thanks for calling attention to that.
@Stampede10343 commented on GitHub:
Should this remove the listing here, since its basically the same, and better suited in the Hardening Guide, IMO.
@jjlin commented on GitHub:
It's updated now.