From 8f82d747aab14e026a124c58f8e8a7740bc22ef0 Mon Sep 17 00:00:00 2001 From: David Karlsson <35727626+dvdksn@users.noreply.github.com> Date: Tue, 30 Jun 2026 10:58:23 +0200 Subject: [PATCH] sbx: drop troubleshooting for build ownership error with local exporter Issue has been fixed in sbx Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com> --- content/manuals/ai/sandboxes/troubleshooting.md | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/content/manuals/ai/sandboxes/troubleshooting.md b/content/manuals/ai/sandboxes/troubleshooting.md index ad50929dafb..db80a53a2a6 100644 --- a/content/manuals/ai/sandboxes/troubleshooting.md +++ b/content/manuals/ai/sandboxes/troubleshooting.md @@ -184,22 +184,6 @@ the egress path in the **PROXY** column: internal CA applies. The only difference between them is whether the client knows it's talking to a proxy. -## Docker build export fails with an ownership error - -Running `docker build` with the local exporter (`--output=type=local` or `-o -`) inside a sandbox fails because the exporter tries to `lchown` output -files to preserve ownership from the build. Processes inside the sandbox run as -an unprivileged user without `CAP_CHOWN`, so the operation is denied. - -Use the tar exporter and extract the archive instead: - -```console -$ mkdir -p ./result -$ docker build --output type=tar,dest=- . | tar xf - -C ./result -``` - -Extracting the tar archive as the current user avoids the `chown` call. - ## Filesystem operations are slow in large repositories Filesystem operations such as `git status`, `git log`, or directory scans can