TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Containers vs. pods – taking a deeper look

147 点作者 alexellisuk超过 3 年前

4 条评论

avhception超过 3 年前
It&#x27;s sad that LXD (<a href="https:&#x2F;&#x2F;github.com&#x2F;lxc&#x2F;lxd" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;lxc&#x2F;lxd</a>) gets so little attention. It&#x27;s a great compromise between a VM and a container as it doesn&#x27;t have the 1:1 relation between container and process. I use it to great effect at $dayjob.<p>Not that it is an alternative to K8s in every scenario, but it should have gotten at least a mention in the intro section.
评论 #29075989 未加载
评论 #29075371 未加载
miked85超过 3 年前
This is a strange comparison. Pods are a group of containers, just like you can do with docker compose. I am not sure why one would present this as one versus the other.
评论 #29074124 未加载
评论 #29073935 未加载
throwaway20371超过 3 年前
It&#x27;s important to understand that containers are not a security device. Containers are a mechanism to separate resources used by processes. You should not assume any significant security benefits to containers, regardless of what anyone claims (even a kernel developer - maybe especially them....) because it all depends on Linux kernel security, which is pretty crap.<p>If you want security with containers, use Firecracker. It uses Micro VMs rather than just kernel-level restrictions, so even a Linux kernel security bug shouldn&#x27;t be able to jump out to the host or other containers&#x2F;Firecrackers.
评论 #29069254 未加载
评论 #29068291 未加载
评论 #29069440 未加载
评论 #29071765 未加载
评论 #29072756 未加载
评论 #29069889 未加载
评论 #29068614 未加载
AtNightWeCode超过 3 年前
Kubernetes is used for orchestrating containers. Pods are used for optimizing hardware resources. As far as I know, Docker have zero support for neither.<p>Edit: Please tell me down voter how to do this with Docker..
评论 #29069592 未加载
评论 #29069500 未加载
评论 #29069746 未加载
评论 #29076140 未加载
评论 #29069373 未加载
评论 #29071229 未加载