[lxc-users] LXC Kernel options requirements

Keller, Eric eric.keller.ek1 at roche.com
Thu Jul 23 07:18:55 UTC 2015


Hi everyone,

I was wondering if someone could help me out defining all the required
kernel configuration option in order to seamlessly use LXC.

I used the lxc-checkconfig to test the basic configuration but, I am still
not able to get any ip address assigned to the container.

-------------------------------------------------------------------------------------------
--- Namespaces ---
Namespaces: enabled
Utsname namespace: enabled
Ipc namespace: enabled
Pid namespace: enabled
User namespace: enabled
Network namespace: enabled
Multiple /dev/pts instances: enabled

--- Control groups ---
Cgroup: enabled
Cgroup clone_children flag: enabled
Cgroup device: enabled
Cgroup sched: enabled
Cgroup cpu account: enabled
Cgroup memory controller: enabled
Cgroup cpuset: enabled

--- Misc ---
Veth pair device: enabled
Macvlan: enabled
Vlan: enabled
File capabilities: enabled

Note : Before booting a new kernel, you can check its configuration
usage : CONFIG=/path/to/config /usr/bin/lxc-checkconfig
-------------------------------------------------------------------------------------------
I am sure the container is properly setup, since with an official Ubuntu
kernel everything works fine.

do you have any idea which option should be enabled in order to get a dhcp
ip from the lxc0 bridge?
it would make sense to extend the lxc-checkconfig misc option with these
kernel configuration

I attach the kernel config

Best Regards

-- 
Eric Keller

mailto: eric.keller.ek1 at roche.com
www.roche.ch/rotkreuz
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20150723/aeac2c70/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: config-lxc
Type: application/octet-stream
Size: 102268 bytes
Desc: not available
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20150723/aeac2c70/attachment-0001.obj>


More information about the lxc-users mailing list