Here is my problem: I want to build a chroot environment inside a docker container. The problem is that debootstrap cannot work because it cannot connect proc in chroot:
W: Failure trying to run: chroot /var/chroot mount -t proc proc /proc
(in the log the problem is: mount: permission denied )
If I run --privileged container, it (of course) works ... I really really would like to cancel the chroot in the Dockerfile (much cleaner). Is there any way to make it work?
Thank you so much!
docker chroot
fbrusch
source share