Bitwarden_rs: Dockerfiles run services as the root user

Created on 16 Apr 2020  路  5Comments  路  Source: dani-garcia/bitwarden_rs

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

All 5 comments

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

As noted in #1014 (comment), 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

Should this remove the listing here, since its basically the same, and better suited in the Hardening Guide, IMO.

@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.

It's updated now.

Thx for the updated wiki, closing this issue.

Was this page helpful?
0 / 5 - 0 ratings