mirror of
https://github.com/netbirdio/netbird.git
synced 2026-09-20 21:59:07 +02:00
[client] Verify rootless state reuse with a stable UID
Persisted profiles remain scoped to the creating UID. Verify same-UID container recreation without broadening application permissions, and document the Kubernetes volume permission behavior observed on OpenShift. Remove unused synthetic-user home metadata.
This commit is contained in:
@@ -3,6 +3,11 @@
|
||||
# CGO_ENABLED=0 go build -o netbird ./client
|
||||
# podman build -t localhost/netbird:latest -f client/Dockerfile-rootless --ignorefile .dockerignore-client .
|
||||
# podman run --rm -it --user 1001230000:0 --cap-drop=ALL --security-opt=no-new-privileges localhost/netbird:latest
|
||||
#
|
||||
# Reuse /var/lib/netbird volumes with the same runtime UID.
|
||||
# Config/profile files start at 0600; Kubernetes fsGroup may widen their modes.
|
||||
# Where supported, pod securityContext.fsGroupChangePolicy: OnRootMismatch
|
||||
# preserves modes when the volume root's ownership and permissions match.
|
||||
|
||||
FROM alpine:3.24
|
||||
|
||||
|
||||
Reference in New Issue
Block a user