[lxc-users] How can I “exec” a network namespace (ip netns) inside an lxc container
Yinon
yinonby.hpe at yahoo.com
Wed Oct 19 21:43:37 UTC 2016
Adding the steps taken to launch the container:
lxc profile create devstack-profile
lxc profile set devstack-profile linux.kernel_modules br_netfilter
lxc profile device add devstack-profile eth0 nic nictype=bridged parent=br-lxd-mgmt
lxc profile device add devstack-profile eth1 nic nictype=bridged parent=br-lxd-fip
lxc launch ubuntu:16.04 c1 -p devstack-profile
lxc config device add c1 tun unix-char path=/dev/net/tun
lxc config set c1 security.nesting true
On Wednesday, October 19, 2016 8:34 AM, Yinon <yinonby.hpe at yahoo.com> wrote:
I installed an Ubuntu server 16.04. Inside I installed LXD and running an Ubuntu 16.04 container.Initially, I had this problem when trying to "ip netns add":
mount –make-shared /var/run/netns failed: Permission denied
And I did this to work around it:
lxc config set container security.nesting true
But now I get:
mount of /sys failed: Operation not permitted
when I try to "ip netns exec".What am I missing?
Also posted here: How can I "exec" a network namespace (ip netns) inside an lxc container
|
|
|
| | |
|
|
|
| |
How can I "exec" a network namespace (ip netns) inside an lxc con...
I installed an Ubuntu server 16.04. Inside I installed LXD and running an Ubuntu 16.04 container. Initially, I ... | |
|
|
Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20161019/42f8cffc/attachment-0001.html>
More information about the lxc-users
mailing list