Hi all, I'm a student and pretty new to LXC. I'm having a little bit of difficulty and hoping someone could point me in the right direction.
A project that I'm working on has made some changes to the network stack in the Linux kernel, and we're looking to test those changes utilizing containers. Each of these containers should be a clone of the host system which is running our own custom version of the kernel under Ubuntu 12.10. So far I have a pretty simple LXC configuration file: lxc.utsname = my_container lxc.tty = 4 lxc.network.type = veth lxc.network.flags = up lxc.network.link = br0 lxc.network.name = eth0 lxc.network.mtu = 1500 lxc.network.ipv4 = 0.0.0.0/24 lxc.rootfs = /var/lib/lxc/my_container lxc.mount = /var/lib/lxc/fstab.lxc And a similarly simple fstab file: / /var/lib/lxc/my_container none bind 0 0 And am (perhaps naively) trying to create a container with the above using: # lxc-create -f /var/lib/lxc/config.lxc -n my_container So naturally I was hoping after executing the above that /var/lib/lxc/my_container would be a bind mount of / (root), but that was not the case. Eventually, each container of course does not need to be a complete copy of the host, but I figured I would start with trying to do a basic clone of everything and then pare it down to what is really needed. Could anyone nudge me in the right direction? Any tips would be appreciated. Gratefully, Cody ------------------------------------------------------------------------------ Own the Future-Intel(R) Level Up Game Demo Contest 2013 Rise to greatness in Intel's independent game demo contest. Compete for recognition, cash, and the chance to get your game on Steam. $5K grand prize plus 10 genre and skill prizes. Submit your demo by 6/6/13. http://altfarm.mediaplex.com/ad/ck/12124-176961-30367-2 _______________________________________________ Lxc-users mailing list Lxc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lxc-users