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
$ docker build -t myimg .
...
$ docker run --rm -it -v$PWD:$PWD -w$PWD \
--security-opt seccomp=unconfined \
--security-opt apparmor=unconfined \
myimg build -t myimg .
Building docker.io/library/myimg:latest
Setting up the rootfs... this may take a bit.
WARN[0000] Process sandbox is not available, consider unmasking procfs:
WARN[0000] using host network as the default
[+] Building 3.1s (2/2) FINISHED
=> [internal] load .dockerignore 3.1s
=> => transferring context: 2B 0.0s
=> [internal] load build definition from Dockerfile 3.1s
=> => transferring dockerfile: 596B 0.1s
Error: failed to solve: failed to solve with frontend dockerfile.v0: failed to read dockerfile: failed to mount /tmp/buildkit-mount483403341: [{Type:bind Source:/root/.local/share/img/runc/native/snapshots/snapshots/1 Options:[rbind ro]}]: operation not permitted
However, running with the standard r.j3ss.co/img image works:
$ docker run --rm -it -v$PWD:$PWD -w$PWD \
--security-opt seccomp=unconfined \
--security-opt apparmor=unconfined \
r.j3ss.co/img build -t myimg .
Building docker.io/library/foo:latest
Setting up the rootfs... this may take a bit.
WARN[0000] Process sandbox is not available, consider unmasking procfs: mount: permission denied (are you root?)
WARN[0000] using host network as the default
[+] Building 24.9s (9/9) FINISHED
...
Successfully built docker.io/library/foo:latest
Clearly something is missing from my Dockerfile, but I'm not sure what.
The text was updated successfully, but these errors were encountered:
I'd like to run
img
from Docker, but from a Debian-based image:But building and running it fails:
However, running with the standard
r.j3ss.co/img
image works:Clearly something is missing from my Dockerfile, but I'm not sure what.
The text was updated successfully, but these errors were encountered: