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 <[email protected]> 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
_______________________________________________
lxc-users mailing list
[email protected]
http://lists.linuxcontainers.org/listinfo/lxc-users