Berk Birand
2014-02-26 07:42:29 UTC
Hi,
I'm trying to run an OpenVPN client from within a docker image. I've
installed it, and things seem to work fine, until it gets to the point
where the client creates the tun device:
...
Wed Feb 26 07:40:44 2014 Note: Cannot open TUN/TAP dev /dev/net/tun: No
such file or directory (errno=2)
...
I can see that from within the container, there is no /dev/net/tun device
in place. I also found out that mknod doesn't work from within a container.
The /dev/net/tun device does exist on the host interface. Is there a way to
also make this device available within a container, since they can't be
created there?
Thanks,
bB
I'm trying to run an OpenVPN client from within a docker image. I've
installed it, and things seem to work fine, until it gets to the point
where the client creates the tun device:
...
Wed Feb 26 07:40:44 2014 Note: Cannot open TUN/TAP dev /dev/net/tun: No
such file or directory (errno=2)
...
I can see that from within the container, there is no /dev/net/tun device
in place. I also found out that mknod doesn't work from within a container.
The /dev/net/tun device does exist on the host interface. Is there a way to
also make this device available within a container, since they can't be
created there?
Thanks,
bB