发布于 2015-05-13 10:01:39 | 393 次阅读 | 评论: 0 | 来源: 网友投递
LXC Linux 容器工具
LXC 项目由一个 Linux 内核补丁和一些 userspace 工具组成。这些 userspace 工具使用由补丁增加的内核新特性,提供一套简化的工具来维护容器。
LXD 是 ubuntu 基于 LXC 技术的重构,容器天然支持非特权和分布式。
LXD 与 Docker 的思路不同,Docker 是 PAAS,LXD 是 IAAS。
LXD 包括三个组件:
系统范围的守护进程 (lxd)
命令行客户端 (lxc)
OpenStack Nova 插件 (nova-compute-lxd)
主要特性:
直观 (简洁的 API 和快速的命令行体验)
基于镜像
在线迁移
LXD 0.9 发布,此版本主要改进如下:
Fixed memory and file descriptior leaks (and add extra tests for those)
Fallback to chmod when setfacl fails (filesystem without ACLs support)
Fixed container logging and make it available through lxc info (--show-log)
Setup the right uid/gid map for privileged containers
Report invalid configuration in "lxc config edit" and "lxc profile edit"
Improved the first use experience and the profile/config examples
Rename "lxc config profile *" to "lxc profile *" (old syntax is still supported)
More reliable database handling
Container copies get a new MAC address
USER is now set in the container environment (on exec)
Track the image used to build the container and use this to optimize copy/migration
Improved database testing
Fixed pts device owneship on exec
Fixed raw.lxc being applied too early (resulted in broken lxc.network.script and others)
Better argument parsing in both lxc and lxd
Improved performance in container and network listing
Fixed certificate name conflicts in the trust database
更多内容请看发行说明。