Skip to content

Commit 8f82d74

Browse files
committed
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>
1 parent 7028656 commit 8f82d74

1 file changed

Lines changed: 0 additions & 16 deletions

File tree

content/manuals/ai/sandboxes/troubleshooting.md

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -184,22 +184,6 @@ the egress path in the **PROXY** column:
184184
internal CA applies. The only difference between them is whether the client
185185
knows it's talking to a proxy.
186186

187-
## Docker build export fails with an ownership error
188-
189-
Running `docker build` with the local exporter (`--output=type=local` or `-o
190-
<path>`) inside a sandbox fails because the exporter tries to `lchown` output
191-
files to preserve ownership from the build. Processes inside the sandbox run as
192-
an unprivileged user without `CAP_CHOWN`, so the operation is denied.
193-
194-
Use the tar exporter and extract the archive instead:
195-
196-
```console
197-
$ mkdir -p ./result
198-
$ docker build --output type=tar,dest=- . | tar xf - -C ./result
199-
```
200-
201-
Extracting the tar archive as the current user avoids the `chown` call.
202-
203187
## Filesystem operations are slow in large repositories
204188

205189
Filesystem operations such as `git status`, `git log`, or directory scans can

0 commit comments

Comments
 (0)