[lxc-devel] br_netfilter proc not created in container

Yinon yinonby.hpe at yahoo.com
Thu Sep 15 11:35:52 UTC 2016


Hi,
I am trying to use a container, and I need the br_netfilter bridge /proc accessible (/proc/sys/net/bridge/).I am setting up the container the following way:
sudo modprobe br_netfilterlxc profile create mod_br_netfilterlxc profile set mod_br_netfilterlinux.kernel_modules br_netfilterlxc launch ubuntu:16.04 devstack-1 -pdefault -p mod_br_netfilter
then connect to container, and the /proc doesn't exist:

sudo lxc exec devstack-1 -- /bin/bashroot at devstack-1:~# ll /proc/sys/net/bridge/ls: cannot access '/proc/sys/net/bridge/': No suchfile or directory
It exists on the host.
Originally posted here (http://askubuntu.com/questions/815993/how-to-add-br-netfilter-to-an-lxd-container/825189).
Thanks,Yinon
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20160915/cbbc8ea3/attachment.html>


More information about the lxc-devel mailing list