Skip to content

Commit 5574c87

Browse files
committed
docs: troubleshoot for mount proc:/proc (via /proc/self/fd/6), flags: 0xe: operation not permitted
The error is known to happen when buildkitd is executed inside a container without `--oci-worker-no-process-sandbox`. Signed-off-by: Akihiro Suda <[email protected]> (cherry picked from commit 591478d) Signed-off-by: Akihiro Suda <[email protected]>
1 parent bb857a0 commit 5574c87

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

docs/rootless.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,10 @@ Run `sysctl -w user.max_user_namespaces=N` (N=positive integer, like 63359) on t
115115

116116
See [`../examples/kubernetes/sysctl-userns.privileged.yaml`](../examples/kubernetes/sysctl-userns.privileged.yaml).
117117

118+
### Error `mount proc:/proc (via /proc/self/fd/6), flags: 0xe: operation not permitted`
119+
This error is known to happen when BuildKit is executed in a container without the `--oci-worker-no-sandbox` flag.
120+
Make sure that `--oci-worker-no-process-sandbox` is specified (See [below](#docker)).
121+
118122
## Containerized deployment
119123

120124
### Kubernetes

0 commit comments

Comments
 (0)