Hi, I'm facing some issues trying to build a sock5 proxy container (with docker-ce) inside an unprivileged lxc container.
I put the feature "mknod=1" (which is experimental I get it.)
No matter this feature, the command mknod performed inside my lxc container returns an error
So in my docker-ce container it gives me obviously this error too :
So Is there a way to resolve my problem without getting the lxc container privileged ?
I say something with which consist to mount it on the host side, but I didn't succeed to do it either.
I tried the answer of "Kent" here https://qastack.fr/ubuntu/650471/how-do-i-allow-dev-net-tun-in-a-lxd-managed-lxc-container I got my /dev/net/tun on my lxc side but still same error inside my docker-ce container.
Thanks.
I put the feature "mknod=1" (which is experimental I get it.)
No matter this feature, the command mknod performed inside my lxc container returns an error
Bash:
~# mknod /dev/net/tun c 10 200
mknod: /dev/net/tun: Operation not permitted
So in my docker-ce container it gives me obviously this error too :
Bash:
2021-08-17 10:50:25 OUT [OPENVPN] Creating OpenVPN TUN device
2021-08-17 10:50:25 ERR [OPENVPN] mknod: /dev/net/tun: Operation not permitted
2021-08-17 10:50:25 ERR [OPENVPN] chmod: cannot access '/dev/net/tun': No such file or directory
So Is there a way to resolve my problem without getting the lxc container privileged ?
I say something with which consist to mount it on the host side, but I didn't succeed to do it either.
I tried the answer of "Kent" here https://qastack.fr/ubuntu/650471/how-do-i-allow-dev-net-tun-in-a-lxd-managed-lxc-container I got my /dev/net/tun on my lxc side but still same error inside my docker-ce container.
Thanks.