[lxc-users] LXC Kernel options requirements

Narcis Garcia informatica at actiu.net
Wed Jul 29 09:50:45 UTC 2015


Describing steps followed to setup the container can help people to help.

El 23/07/15 a les 09:18, Keller, Eric ha escrit:
> 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 <mailto:eric.keller.ek1 at roche.com>
> www.roche.ch/rotkreuz <http://www.roche.ch/rotkreuz>
> 
> 
> _______________________________________________
> lxc-users mailing list
> lxc-users at lists.linuxcontainers.org
> http://lists.linuxcontainers.org/listinfo/lxc-users
> 

El 23/07/15 a les 09:18, Keller, Eric ha escrit:
> 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 <mailto:eric.keller.ek1 at roche.com>
> www.roche.ch/rotkreuz <http://www.roche.ch/rotkreuz>
>
>
> _______________________________________________
> lxc-users mailing list
> lxc-users at lists.linuxcontainers.org
> http://lists.linuxcontainers.org/listinfo/lxc-users
>


More information about the lxc-users mailing list