dockerfile icon indicating copy to clipboard operation
dockerfile copied to clipboard

`mount: /unmasked-proc: permission denied.`

Open enihcam opened this issue 1 year ago • 2 comments

I followed your instructions but ended up that

+ [ 6 -eq 0 ]
+ [ -rm != --rm ]
+ set -- dockerd --host=tcp://0.0.0.0:2375 --tls=false --rm --security-opt apparmor=unconfined --cap-add SYS_ADMIN -it
+ [ dockerd = dockerd ]
+ id -u
+ [ 0 = 0 ]
+ mkdir -p /unmasked-proc
+ mount -t proc proc /unmasked-proc
mount: /unmasked-proc: permission denied.
       dmesg(1) may have more information after failed mount system call.

enihcam avatar Aug 09 '23 07:08 enihcam

Which distro and kernel are you using?

It seems still working for me on Debian testing/sid, kernel 6.3.11.

zhsj avatar Aug 09 '23 18:08 zhsj

Oh, but I can't run container now

$ DOCKER_HOST=tcp://172.17.0.2:2375 docker run --rm -it busybox sh
docker: Error response from daemon: OCI runtime create failed: container_linux.go:367: starting container process caused: process_linux.go:495: container init caused: join session keyring: create session key: operation not permitted: unknown.

zhsj avatar Aug 09 '23 18:08 zhsj