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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

How Docker containers are different from system processes?

4 点作者 thamizhan2611大约 7 年前

2 条评论

salawat大约 7 年前
I applaud the elaboration of containers as isolated processes, however, I abhor the anthropromorphization of the Kernel&#x2F;CPU in this article as it tends to distract from what the machine is actually doing, and makes a value judgement with regards to how container technology does it&#x27;s thing relative to how things just work.<p>Computers compute. The computer doesn&#x27;t care whether a process is happening in a container or just as a system process. The CPU still has to context switch, it still has to flush and reinitialize memory, and it still incurs all of the same complexity that comes from being a multi-user OS when using containers vs. not using containers. If nothing else, there is actually MORE computation required with containers due to not being able to use more streamlined IPC mechanisms between containerized processes which would be usable in a non-containerized implementation.<p>Containers fulfill a HUMAN use case. &quot;I want to scale a bunch of copies of software environment blah on hardware Y.&quot; The computer continues to do what it is told without a care in the world.
评论 #17006499 未加载
daixtr大约 7 年前
i agree with author and his article. The cgrougs is in effect now instead of the &#x27;nice&#x27; value. Docker changes the game coz containers can run in pods or swarms across machines.