Deployment vaultwarden (in cluster main) violates 'Process with UID 0' Policy #1227

Closed
opened 2026-04-06 01:41:31 +02:00 by MrUnknownDE · 0 comments
Owner

Originally created by @gecube on 2/16/2024

Good day!

I'd like to ask to build a docker image with a non-privileged user. I don't see any reason why we should to use root (uid 0) user for running Vaultwarden service. It is critical when running Vaultwarden in strict and regulated environments.

The change could be breaking in case if Vaultwarden is running inside of k8s pod and stores data in a local file.

Screenshot 2024-02-16 at 11 56 36
*Originally created by @gecube on 2/16/2024* Good day! I'd like to ask to build a docker image with a non-privileged user. I don't see any reason why we should to use root (uid 0) user for running Vaultwarden service. It is critical when running Vaultwarden in strict and regulated environments. The change could be breaking in case if Vaultwarden is running inside of k8s pod and stores data in a local file. <img width="704" alt="Screenshot 2024-02-16 at 11 56 36" src="https://github.com/dani-garcia/vaultwarden/assets/2912732/52f24795-b2ee-405e-9bd7-45c3db566e3a">
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/vaultwarden#1227