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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

RancherOS: An OS for Docker Containers

197 点作者 WadeWilliams大约 10 年前

23 条评论

jdub大约 10 年前
Docker itself as PID 1 is… creative.<p>Good things they&#x27;ve thought through:<p>- boots fast, does almost the absolute minimum it needs to get up and running<p>- supporting user data and at least minimal config via cloud-init<p>- properly minimal: you have to use a Debian image to set up persistent storage with mkfs.ext4! (edit: when using the ISO version, which is not the primary use case)<p>- but helpfully familiar: you can install distro flavoured &quot;console&quot; experiences with more than just busybox<p>- it&#x27;s almost a better Boot2Docker than Boot2Docker! (a little bit of love for VirtualBox &#x2F; VMware shared storage wouldn&#x27;t go astray)
评论 #9105307 未加载
Gigablah大约 10 年前
I&#x27;m leery of entrusting so much to Docker... I&#x27;ve had something as innocuous as pulling a remote image crash the daemon (due to a misconfigured private registry) which brought all my containers down. Imagine if this happened to all your critical system services!
评论 #9105258 未加载
akerl_大约 10 年前
&quot;Systemd and Docker don’t work well together as they both attempt to manage control groups.&quot;<p>Has anybody hit actual issues with this? Having used Docker and systemd concurrently for a while, I can&#x27;t say this has every caused conflicts, any more than the fact that both myself and my guests manage drinks in my fridge.
评论 #9105725 未加载
评论 #9105306 未加载
titrate大约 10 年前
I&#x27;ve been using Docker since forever and I think I grasp the architecture here.<p>But, my question is, what does this bring to the table that isn&#x27;t possible with Docker + Machine + Swarm?<p>That&#x27;s a super important question to ask, because adding another layer to deployments is not something people are wont to do to a system (Docker) that&#x27;s supposed to put the simplicity back into deployments. Also, since this isn&#x27;t under Docker Inc.&#x27;s umbrella people would be right to be cautious depending on it lest it die, whether that&#x27;s fair or not.<p>I don&#x27;t use CoreOS but I get it: it offers orchestration whistles that solve some people&#x27;s problems. I also don&#x27;t use but I understand PaaSes like Flynn: they&#x27;re solving problems at a completely different layer and their ties to Docker are incidental.<p>But this, the primary touted advantage seems to be that it&#x27;s a slim Docker image. For me (and I imagine others) that is a solved problem with Machine and&#x2F;or boot2docker. On top of not imposing any new overarching architecture to learn, those tools are already widely deployed, supported, and trusted, and have the huge unfair advantage of being blessed by Docker core.<p>And if you really want to run Docker in Docker, that&#x27;s been supported for a very long time, and you get that for free without installing anything.<p>So I&#x27;m at a loss to think of a case I&#x27;d advise someone to reach for this. Is there something I&#x27;m missing?
评论 #9106919 未加载
kylek大约 10 年前
Curious if anyone has come up with a way to run X11 itself in a container? (there are numerous articles on running GUI apps in containers that simply need a way to talk to Xauthority or X socket, or using VNC or xpra). I&#x27;d imagine it would need to run privileged with access to device files, or something like that.<p>I&#x27;ve kicked around the idea of a &quot;workstation&quot; set of containers to run on top of CoreOS, but this is the biggest hump I&#x27;ve run into.
评论 #9105839 未加载
评论 #9107415 未加载
评论 #9108620 未加载
评论 #9105890 未加载
评论 #9105339 未加载
评论 #9105395 未加载
progman大约 10 年前
Quote: &quot;At 20MB, RancherOS is two orders of magnitude smaller than a typical Linux distribution, and an order of magnitude smaller than even other minimalist Linux distributions.&quot;<p>This claim is incorrect. Linux kernels can actually be as small as around 2 MB. The rest of a working Linux system (GNU, GUI etc.) does not belong to the kernel.<p><a href="http://superuser.com/questions/370586/how-can-a-linux-kernel-be-so-small" rel="nofollow">http:&#x2F;&#x2F;superuser.com&#x2F;questions&#x2F;370586&#x2F;how-can-a-linux-kernel...</a><p>A Debian Linux distribution (kernel + stuff) can run in just 32 MB. For instance:<p><a href="http://stackoverflow.com/questions/1522146/minimum-configuration-to-run-embedded-linux-on-an-arm-processor" rel="nofollow">http:&#x2F;&#x2F;stackoverflow.com&#x2F;questions&#x2F;1522146&#x2F;minimum-configura...</a><p>Quote: &quot;I&#x27;ve used a TS-7200 for about five years to run a web server and mail server, using Debian GNU Linux. It is 200 MHz and has 32 MB of RAM, and is quite adequate for these tasks. It has serial port built in. It&#x27;s based on a ARM920T.&quot;
评论 #9105982 未加载
评论 #9105945 未加载
评论 #9105878 未加载
_mikz大约 10 年前
How you upgrade system docker when it is PID 1 ? Does the machine has to be rebooted?
zaius大约 10 年前
Regarding the &quot;Ideal for Production&quot; tagline - how would I go about running this in production? Specifically on linode - would I have to run a &quot;regular&quot; linux and then use kvm to run the rancheros iso?
评论 #9105512 未加载
ecnahc515大约 10 年前
Cant be surprised that Darren is the creator. I remember seeing him at a talk this summer and I imagined he would be the kinda guy to put this type of project together.
tipiirai大约 10 年前
How does this differ from CoreOS?
评论 #9105310 未加载
评论 #9105284 未加载
XYEaQMZJvS大约 10 年前
Anyone else find the Docker logo extremely adorable? I know nothing about it but I smile every time I see that happy little barge-whale.
评论 #9105371 未加载
Animats大约 10 年前
It&#x27;s not quite an OS for Docker containers yet. It&#x27;s a distro with special middleware. The next question is how much can be thrown out of the Linux kernel. Or can it be replaced with something more secure? What would it take to run this in Xen without Linux?
评论 #9105398 未加载
评论 #9105517 未加载
labianchin大约 10 年前
I am curious about one thing: how System Docker as PID 1 deals with reaping zombie processes?
评论 #9107380 未加载
tracker1大约 10 年前
Interesting... Played around with CoreOS a little bit, but wasn&#x27;t quite confident with it... currently rolling Docker under Ubuntu Server containers.<p>I really like the idea of these micro OSes, and both CoreOS and RancherOS have some interesting aspects to them.
评论 #9105250 未加载
shouldbeworking大约 10 年前
Makes me think of <a href="http://en.wikipedia.org/wiki/Huevos_rancheros" rel="nofollow">http:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Huevos_rancheros</a>
graffitici大约 10 年前
I only played with docker briefly on my laptop, and never in a production system. Do you think there will be any performance hits in a system like this?
mrmondo大约 10 年前
Is SELinux or GRSecurity built in and enabled?
评论 #9106111 未加载
digi_owl大约 10 年前
That name, a dig at servers as &quot;cattle vs pets&quot; i take it?
crimsonalucard大约 10 年前
I&#x27;ve used coreos and configuring it into clusters was over complicated. So much so that I switched back to ubuntu. Does anyone know how RancherOS compares?
评论 #9110452 未加载
general_failure大约 10 年前
This is a CoreOS alternative?
zkanda大约 10 年前
Does it support NFS?
CzechsMix大约 10 年前
Docker-ception
评论 #9106320 未加载
antocv大约 10 年前
I cant help but feel that this is a clusterfuck in disguise.