Open
Description
Describe the bug
My container image requires access to loop
devices and hence the requirement is to mount up /dev
to a privileged container, but with orbstack it fails with ioctl(setctty)
permission denied
To Reproduce
does not work
docker run --rm -t -v /dev:/dev --privileged alpine
Unable to find image 'alpine:latest' locally
latest: Pulling from library/alpine
d69d4d41cfe2: Pull complete
Digest: sha256:8a1f59ffb675680d47db6337b49d22281a139e9d709335b492be023728e11715
Status: Downloaded newer image for alpine:latest
docker: Error response from daemon: failed to create task for container: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: error during container init: ioctl(setctty): operation not permitted
works
docker run --rm --privileged alpine
Expected behavior
Is able to use /dev
mounts for access to loop
block devices in the kernel
Diagnostic report (REQUIRED)
No response
Screenshots and additional context (optional)
No response