
LXC
linuxchyu
这个作者很懒,什么都没留下…
展开
-
LXC部分重要配置文件及文件夹分析
本次分析使用的LXC版本为1.0.1,操作系统使用的为ubuntu 14.04 32bit。1、 有两个启动工作(下面两个脚本文件在lxc启动和关闭的时候执行):1./etc/init/lxc-net.conf: 当/etc/default/lxc中指定了USE_LXC_BRIDGE=”true”时就执行/etc/init/lxc-net.conf,但是/etc/default/lxc中原创 2014-03-14 16:23:57 · 2764 阅读 · 0 评论 -
[CRIU]tty: Can't open 9 (index 0): Bad file descriptor" occurred in the restoring step
在利用CRIU来dump LXC时会出现类似如下的错误: (00.266862) 1: Error (tty.c:614): tty: Can't open 9 (index 0): Bad file descriptor 出现这个问题的原因是index为0 的一个终端可能正在被使用,解决方法是挂载/dev/pts时使用newinstance 选项,这个在linux内核源代码里的有关d原创 2014-03-29 09:53:01 · 1959 阅读 · 0 评论 -
LXC文件系统隔离实现原理
LXC使用以下内核特性来来实现虚拟化: Kernel namespaces (ipc, uts, mount, pid, network and user)Apparmor and SELinux profilesSeccomp policiesChroots (using pivot_root)Kernel capabilities Control groups (cgroups)原创 2014-03-16 16:03:00 · 4224 阅读 · 1 评论