TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Baseimage-docker, fat containers and “treating containers as VMs”

6 pointsby kesorabout 10 years ago

2 comments

kesorabout 10 years ago
Apparently Docker are aware of this problem, but putting a huge Python init process in there is just evil.<p><a href="https:&#x2F;&#x2F;github.com&#x2F;docker&#x2F;docker&#x2F;issues&#x2F;11529" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;docker&#x2F;docker&#x2F;issues&#x2F;11529</a><p>And the problem appears in such edge cases that it is doubtfully worthy of so much attention. When a pid-1 process spawns daemons, that in turn leave orphaned zombies - this pid-1 will get assigned with them. (described in &#x27;man 7 pid_namespaces&#x27;)<p>Supposedly this non-init pid1 is not reaping orphaned zombies, which might get the namespace to pid_max (33k default) and run out of pids to use.
kesorabout 10 years ago
What I find most appaling about this, is that Phusion invented their own problem (PID1 reaping) that doesn&#x27;t even exist in reality - and they keep banging that drum to create as much FUD as possible around something that is completely wrong and against the actual intent of Docker (the company, the community, the tool, the best practice, the ecosystem).
评论 #9579502 未加载