[lxc-devel] Several question about Linux containers

Han Yuejuan-B42073 B42073 at freescale.com
Wed Nov 28 10:25:31 UTC 2012


Hello Stuart,
    There are three questions about Linux containers:

   1. hardware platform: P4080DS(gerald)

      I provide a container with a virtual network nterface is using the "MAC-VLAN" feature of the Linux kernel.
      Modify the configuration file :
            /usr/share/doc/lxc/examples/lxc-macvlan.conf
            lxc.utsname = alpha
            lxc.network.type = macvlan
            lxc.network.flags = up
            -lxc.network.link = eth0
           +lxc.network.link = fm1-gb1
             lxc.network.hwaddr = 4a:49:43:49:79:bd
            -lxc.network.ipv4 = 1.2.3.4/24
           +lxc.network.ipv4 = 192.168.1.27/24
             lxc.network.ipv6 = 2003:db8:1:0:214:1234:fe0b:3596

       With commands as following start a container  and setup a ssh connections for container instances:
       lxc-create -n ctx1 -t busybox -f /usr/share/doc/lxc/examples/lxc-macvlan.conf
       lxc-start -n ctx1
      In lxc I can ping 192.168.1.1 successfully  but I can not scp files to lxc in rhuath server.
    Be forward  to your ideas!
2.  hardware platform: P4080DS(gerald)


      Test lat_ctx ,lat_mem_rd and bw_mem in lxc and test data is as below:
 lat_ctx:


[cid:a4303cf5-790d-4736-be94-83c84cd5c220]


lat_mem_rd:

[cid:467b7fed-08be-4948-aef5-b56bbd854b7c]


bw_mem

[cid:c3dbff15-27d4-48af-9504-7a600e754acb]


[cid:7cc2ddd7-9112-455e-94e1-5507fd427f2e]


Is it reasonable about above test data?


3. About application containers and system containers:

    It is known that a single application will be run in a container by command lxc-execute.

    Whether a system container will be started by following way?

    Setup a ssh connections for container instance and then by command "lxc-create " and "lxc-start".


 I am not very clear to the meaning that a system container which boots an instance of Linux user space starting with System V style init.


Regards,

Yuejuan













-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20121128/45220018/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ??00.png
Type: image/png
Size: 13919 bytes
Desc: ??00.png
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20121128/45220018/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ??05.png
Type: image/png
Size: 11450 bytes
Desc: ??05.png
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20121128/45220018/attachment-0001.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ??14.png
Type: image/png
Size: 12203 bytes
Desc: ??14.png
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20121128/45220018/attachment-0002.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ??15.png
Type: image/png
Size: 12719 bytes
Desc: ??15.png
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20121128/45220018/attachment-0003.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ??15.png
Type: image/png
Size: 12719 bytes
Desc: ??15.png
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20121128/45220018/attachment-0004.png>


More information about the lxc-devel mailing list