gpt4 book ai didi

docker - LXC 和 libcontainer 的区别

转载 作者:IT老高 更新时间:2023-10-28 12:39:42 29 4
gpt4 key购买 nike

在浏览 docker 文档时,我发现 docker 现在使用的是 libcontainer 而不是 LXC。有没有人知道 libcontainer 如何比 LXC 更好(如果是这样..)?

最佳答案

http://blog.docker.com/wp-content/uploads/2014/03/docker-execdriver-diagram.png

这意味着 Docker 将自己从其原始实现中抽象出来,允许其他供应商(如 CoreOS)实现自己的容器版本


注意:从那时起(What’s the difference between runc, containerd, docker?)显示:

In 2016 the container space was booming and docker decided to split the monolith into separate parts, some of which other projects can even build on — that’s how containerd happened. That was Docker 1.11 (so pretty much ancient history).
Containerd is a daemon that acts as API facade for various container runtimes and OS. When using containerd, you no longer work with syscalls, instead you work with higher-level entities like snapshot and container — the rest is abstracted away.
If you want to understand containerd even more in depth, there’s a design documentation in their GitHub repo.
Under the hood, containerd uses runc to do all the linux work.

在“How containerd compares to runC”查看更多信息

containerd

关于docker - LXC 和 libcontainer 的区别,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/34152365/

29 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com