本文介绍了LXC和libcontainer的区别的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
在进行docker文档时,我发现docker现在使用libcontainer而不是LXC。有没有人想过libcontainer如何比LXC更好(如果是)?解决方案
-
$ b $这意味着 Docker正在从原始实现中抽象出自己,允许其他供应商(如CoreOS)实现自己的容器版本。While going through docker docs, I found that docker is now using libcontainer instead of LXC. Has anyone idea about how libcontainer is better ( If so..) than LXC ?
解决方案Linux Containers (LXC) was used before docker 1.8 as one execution driver by docker, and offered a userspace interface for the Linux kernel containment features. It is very specific to Linux
libcontainer (now
opencontainers/runc
) is an abstraction, in order to support a wider range of isolation technologies as described in this article
That means Docker is abstracting itself from its original implementation, allowing other vendors (like CoreOS) to implement their own version of containers.
这篇关于LXC和libcontainer的区别的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!