fix(updater): add --privileged to helper container to bypass user namespace restrictions

This commit is contained in:
2026-02-22 15:46:09 +01:00
parent c40b7d3bc6
commit 95ec6765c1
4 changed files with 43 additions and 43 deletions

View File

@@ -299,7 +299,7 @@ def trigger_update(config: Any, db_path: str) -> dict:
own_image = "netbirdmsp-appliance-netbird-msp-appliance:latest"
helper_cmd = [
"docker", "run", "-d",
"docker", "run", "-d", "--privileged",
"--name", "msp-updater",
"-v", "/var/run/docker.sock:/var/run/docker.sock:z",
"-v", f"{host_source_dir}:{host_source_dir}:ro,z",