mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2026-04-26 01:35:54 +03:00
[GH-ISSUE #968] Dockerfiles run services as the root user #686
Labels
No labels
SSO
Third party
better for forum
bug
bug
documentation
duplicate
enhancement
future Vault
future Vault
future Vault
good first issue
help wanted
low priority
notes
pull-request
question
troubleshooting
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/vaultwarden#686
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
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 (Apr 16, 2020).
Original GitHub issue: https://github.com/dani-garcia/vaultwarden/issues/968
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
@jjlin commented on GitHub (Jun 11, 2020):
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
@Stampede10343 commented on GitHub (Jun 11, 2020):
Should this remove the listing here, since its basically the same, and better suited in the Hardening Guide, IMO.
@jjlin commented on GitHub (Jun 11, 2020):
@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.
@jjlin commented on GitHub (Jun 11, 2020):
It's updated now.
@BlackDex commented on GitHub (Oct 8, 2020):
Thx for the updated wiki, closing this issue.