You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[wrangler/miniflare] Add privileged_containers / --privileged-containers for FUSE in local dev
Containers using FUSE work in production but break in `wrangler dev`
because workerd doesn't grant CAP_SYS_ADMIN, mount /dev/fuse, or relax
AppArmor on the container it creates.
Adds an opt-in dev config flag — `dev.privileged_containers` in
wrangler.json, `--privileged-containers` on the CLI — that, when set,
has miniflare ask workerd to launch local containers with those three
permissions. Off by default; only takes effect when the user explicitly
opts in.
Pairs with the workerd change in
cloudflare/workerd#6596, which adds the
matching `allowPrivileged` field to ContainerOptions and gates the
FUSE injection on it.
Add `dev.privileged_containers` config and `--privileged-containers` CLI flag for FUSE in local dev
7
+
8
+
When set, miniflare launches local containers with the elevated permissions FUSE requires (`CAP_SYS_ADMIN`, `/dev/fuse`, AppArmor unconfined). Off by default.
0 commit comments