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.

Docker 1.2.0, with restart policies

187 pointsby julien421over 10 years ago

10 comments

shykesover 10 years ago
Hi all, no World-changing features in this one, but we believe that over time, relentless incremental improvements can make a huge difference.<p>This week we are freezing all feature merges and focusing on refactoring, code cleanup and generally repaying as much technical debt as possible.<p>We are also considering a gradual slowdown of the release cadence (we currently cut a release every month), to give more time for QA. Even though we work hard to keep master releasable at all times and run every merge through the full test suite, in practice there can never be enough real-world testing before a release. An 8-week cycle (which is roughly what Linux does) would allow us to freeze the release 1-2 weeks in advance and do more aggressive QA.
评论 #8213207 未加载
评论 #8213138 未加载
评论 #8214542 未加载
评论 #8213433 未加载
评论 #8213486 未加载
评论 #8213220 未加载
评论 #8213141 未加载
waffle_ssover 10 years ago
This is excellent news. The lack of a container restart policy was the main reason why I was spending a bunch of time learning CoreOS and fleet.<p>Trying to get CoreOS installed on VPS providers is a huge pain[0], and fleet and etcd are technically not labelled as production-ready (only CoreOS used as a base OS is)[1], so I&#x27;m really glad I can go back to vanilla Docker.<p>[0]: <a href="http://serverfault.com/a/620513/85897" rel="nofollow">http:&#x2F;&#x2F;serverfault.com&#x2F;a&#x2F;620513&#x2F;85897</a><p>[1]: <a href="https://coreos.com/blog/stable-release/" rel="nofollow">https:&#x2F;&#x2F;coreos.com&#x2F;blog&#x2F;stable-release&#x2F;</a>
评论 #8213436 未加载
评论 #8213150 未加载
评论 #8213146 未加载
评论 #8213161 未加载
评论 #8213219 未加载
IanCalover 10 years ago
I&#x27;m not sure about how I feel about this (edit - restart policies). It&#x27;s cool, but seems to ignore what the OTP part of erlang development learned. They&#x27;ve already gone to &quot;X number of restarts = failure&quot; but with no time involved. There&#x27;s also no hierarchy, which is where you really start to get the benefits.<p>While great, I worry that this is a part-solution that will delay the implementation of a proper one.
评论 #8215266 未加载
评论 #8222438 未加载
troymover 10 years ago
Maybe a bit off-topic.<p>I haven&#x27;t found a satisfactory solution to having communicating containers across multiple hosts. There seems to be quite a few solutions in the making (libswarm, geard, etc). How are other people solving this (in production, beyond two or three hosts)?
评论 #8213240 未加载
评论 #8213862 未加载
评论 #8213217 未加载
charfordover 10 years ago
Any update on when the OS X version will be available? I&#x27;m only seeing version 1.1.2 here:<p><a href="https://github.com/boot2docker/osx-installer/releases" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;boot2docker&#x2F;osx-installer&#x2F;releases</a>
评论 #8213449 未加载
评论 #8213387 未加载
评论 #8213192 未加载
jijojvover 10 years ago
Writable `&#x2F;etc&#x2F;hosts`, `&#x2F;etc&#x2F;resolv.conf` is huge - no more local dns hacks.
评论 #8213119 未加载
antocvover 10 years ago
Oh this is juuuust great. &#x2F;sarcasm.<p>So now docker is taking on the work of what systemd and other daemon-managers are supposed to solve? Looking forward to docker run --restart on-failure ubuntu &#x2F;bin&#x2F;bash exit -1<p>When you include a --restart &quot;feature&quot; you know for sure you have don goofed.<p>But anyway, the rest of the stuff looks like pure candy. Great job!
评论 #8213992 未加载
评论 #8214155 未加载
frikover 10 years ago
How to deal with persistent storage (e.g. databases) in Docker 1.2?<p>is this info up-to-date? <a href="http://stackoverflow.com/questions/18496940/how-to-deal-with-persistent-storage-e-g-databases-in-docker" rel="nofollow">http:&#x2F;&#x2F;stackoverflow.com&#x2F;questions&#x2F;18496940&#x2F;how-to-deal-with...</a>
评论 #8214539 未加载
评论 #8213581 未加载
评论 #8213332 未加载
abraham_sover 10 years ago
Any idea when AWS Elastic BeanStalk will start supporting this version?
LunaSeaover 10 years ago
Is it possible yet to build and &quot;RUN&quot; multiple sublayers inside the same Dockerfile ?