[lxc-users] Packet flow from application running in container to physical NIC transmission

2014-06-27 Thread Mohit Saxena
Hi all, I am a new bee to Linux containers, I am trying to understand the networking from the container to physical NIC. Could any one you please point me to some materials on this which will help from a developer perspective. I had got a lot of material but all of those are from and Network

Re: [lxc-users] Packet flow from application running in container to physical NIC transmission

2014-06-27 Thread Jäkel , Guido
Dear Mohit, Please look out for some slide shows or blog articles about LXC. Maybe the following may help you to master the first hurdles, too: * The templates are used to set up a (more-or-less) key-ready root filesystem of some Linux distribution. They wil act as a bootstraper and will

[lxc-users] zfs snapshot point

2014-06-27 Thread Chris Burroughs
Currently when using lxc-snapshot the snapshot point is the rootfs dataset. (so something like /lxc/foo/rootfs) I'm trying to understand why the dataset doesn't also include the config file (so /lxc/foo/). Isn't that file also needed to reconstitute a snapshot, or is that information

Re: [lxc-users] interpreting lxc-top CPU numbers

2014-06-27 Thread Dwight Engen
On Thu, 26 Jun 2014 13:23:52 -0400 Chris Burroughs chris.burrou...@gmail.com wrote: ContainerCPU CPU CPU BlkIOMem NameUsed Sys User Total Used c3242.8571.47 193.442.92 GB 48.33 MB c4

Re: [lxc-users] Packet flow from application running in container to physical NIC transmission

2014-06-27 Thread Guido Jäkel
Dear Mohit, you're welcome. The LXC project is a meta project which has bundled and is based on a couple of other work, e.g. from the teams of the kernel or the cgroup developers. From that, no all userland stuff is LXC-aware yet. The LXC team know about, point this out to other package

Re: [lxc-users] Internet to a container with local/private IP ( NAT ? )

2014-06-27 Thread Vijay Viswanathan
oops, I spoke too soon. the commands on that link didnt work. but it looks I need something to that effect. iptables --flush # iptables -A INPUT-p udp -m state --state NEW,ESTABLISHED,RELATED -j ACCEPT # iptables -A INPUT-p tcp -m state --state NEW,ESTABLISHED,RELATED -j ACCEPT #

Re: [lxc-users] Difference in using network namespace via ip command and lxc

2014-06-27 Thread Serge Hallyn
Quoting Ajith Adapa (ajith.ad...@gmail.com): Hi, I am quite new to network namespaces and just making my hands dirty using ip command to create network namespaces. As per the man page for ip command By convention a named network namespace is an object at

Re: [lxc-users] Setting a limit on the disk size that a container can use

2014-06-27 Thread Fajar A. Nugraha
On second thought, DON'T use scst/LIO in loopback configuration. Or any other inititator-target configuration in the same host where both initiator and target are in-kernel (this includes nfs). Using these kind of setup can lead to memory allocation deadlock. It should be fine for