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.

Announcing Docker Machine, Swarm, and Compose for Orchestrating Distributed Apps

370 pointsby KenCochraneover 10 years ago

20 comments

shykesover 10 years ago
Hi all. A few clarifications.<p>- The meme that we are adding more and more features into the docker binary is unfounded. Please, please, I ask that before repeating it you do your homework and ask for actual examples. For example 1.4 is coming out next week: it has 500+ commits and basically no new features. It&#x27;s all bugfixes, refactoring and a general focus on quality. That&#x27;s going to be the trend from now on<p>- Swarm and Machine are separate binaries. They are not part of the core docker runtime. You can use them in a completely orthogonal way.<p>- Swarm follows the &quot;batteries included but removable&quot; principle. We are not doing all things to all people! There is a default scheduling backend but we want to make it swappable. In fact we had Mesosphere on stage today as part of a partnership to make Mesos a first-class backend.<p>- there is an ongoing proposal to merge compose into the docker binary. I want to let the design discussion play out, but at the moment I&#x27;m leaning towards keeping it separate. Now&#x27;s the time to comment if you care about this - that&#x27;s how open design works :)<p>Yes, our blog post is buzzwordy and enterprise-sounding. I am torn on this, on the one hand it helps make the project credible in IT departments which associates that kind of language with seriousness. We may find that strange but if it helps with the adoption of Docker, then it benefits every Docker user and that&#x27;s ok with me. On the other hand, it is definitely not popular on HN and has the opposite connotation of dorky pencil holder suit douchiness. Being from that tribe I share that instinctive reaction. But I also realize it&#x27;s mostly psychological. I care less about the specific choice of words than the substance. And the substance here is that we launched a lot of new stuff today, and put a lot of effort in keeping the focus on a small, reliable runtime, composable tools which do one thing well, pluggability, open APIs, and playing nice with the ecosystem. Basically everything the community has been worrying about recently.
评论 #8700565 未加载
评论 #8701458 未加载
评论 #8701037 未加载
评论 #8704878 未加载
评论 #8701885 未加载
评论 #8702106 未加载
评论 #8700687 未加载
评论 #8700800 未加载
themgtover 10 years ago
I think the community really ought to take a good minute to consider, beyond technical reasons, whether it really makes sense to so tightly tie the future of computing to a single for-profit company&#x27;s quickly enlarging platform.<p>Someone below compared this to systemd - it&#x27;s really more like your entire containerization operating system. And since you run everything via containers, it effectively is your operating system&#x2F;platform.<p>So, clearly they (and CoreOS, etc.) will want to monetize their container operating system&#x2F;platforms. But is it really a good idea to build the entire industry&#x27;s concept and implementation of containers themselves on the back of a single company&#x27;s implementation, when we know a healthy ecosystem would see a number of companies with competing implementations of container OS with varying degrees of compatibility, and hopefully eventually open standards.<p>I really am beginning to see the CoreOS guys point here - if Docker could have just stuck to running containers and doing that awesome, there would have been space for other companies to build out the ecosystem around that shared interoperable container format. But if Docker is now set on tightly bundling a toolchain for the container operating system around their format, suddenly it looks a lot more like they took a Microsoft embrace-extend-extinguish approach to LXC.<p>And thus the need for Rocket.
评论 #8700379 未加载
评论 #8700662 未加载
评论 #8700483 未加载
评论 #8700466 未加载
评论 #8700374 未加载
评论 #8700750 未加载
评论 #8702688 未加载
评论 #8701595 未加载
chuhnkover 10 years ago
I&#x27;m a little bit afraid about the fragmentation occurring in the container world right now. I felt like in the beginning I could rely on Docker being focused on containers and really making that a stable building block and utilise tools around that provided by industry leaders. Now Docker have thrown their own hat in the ring, creating a monopoly for themselves. Do you choose docker and their whole ecosystem? Do you pick something else off the shelve? How about Amazon ECS container service, CoreOS with their array of tools.<p>I don&#x27;t feel like I can depend on any of these things, so I stick with the absolute bare minimum of what will build me a container. Which of these technologies will stay? Which will go? What will change as time passes? What will be deprecated?<p>In all honesty with Kubernetes talking about supporting Rocket and probably any other container technology that creeps up in the next few years, I&#x27;m leaning towards using that as the point of stability which I can deploy anywhere and know that I get the exact same API. Google, the leader in cluster management writing open source orchestration technology, think that&#x27;s where I&#x27;ll keep my focus.
评论 #8700923 未加载
评论 #8700287 未加载
评论 #8700283 未加载
endymi0nover 10 years ago
Wonderful. We just containerized all of our apps and are in the process of choosing our approach for running and deploying them in a cluster.<p>Now what?<p>Flynn? Deis? Kubernetes? Mesos? Shipyard? Pure Fig instead? CoreOS, Serf, Maestro? Rather stay on AWS with Elastic Beanstalk or the new docker service?<p>Welcome to the party, Swarm and Compose. By now we are not even sure anymore if Docker itself is still the way to go, now that Rocket and LXD have arrived. I don&#x27;t even have the time to compare all these options, respectively get a deeper look into architectural considerations.<p>What to decide by? Company backing? Because it&#x27;s good or bad? Github stars? Deis for self-announcing it&#x27;s 1.0, even if it&#x27;s based on pre1.0 components or Flynn for being honest they&#x27;re still in beta?<p>Honestly, I&#x27;ve rarely been as tired of new technologies as I have been by now. I could roll a dice as well. If you have a good and reasonable choice for me, let me know (I&#x27;m actually serious)
评论 #8702713 未加载
评论 #8702368 未加载
评论 #8702486 未加载
评论 #8702117 未加载
scanrover 10 years ago
The 2 examples in Docker Swarm were Redis and MySQL.<p>From the announcement: &quot;Docker Swarm provides high-availability and failover. Docker Swarm continuously health-checks the Docker daemon’s hosts and, should one suffer an outage, automatically rebalances by moving and re-starting the Docker containers from the failed host to a new one.&quot;.<p>Does anyone know how they&#x27;ll handle the data? Both Redis and MySQL have various ways to deal with high availability e.g. Redis Sentinel, MySQL master &#x2F; slave or MySQL multi master with Galera.
评论 #8700284 未加载
评论 #8703472 未加载
评论 #8700629 未加载
评论 #8701278 未加载
评论 #8700255 未加载
geerlingguyover 10 years ago
I think this sheds a little more light on the reasons CoreOS decided to start building the Rocket container runtime[1], and not tie it&#x27;s destiny to being paired with Docker.<p>[1] <a href="https://coreos.com/blog/rocket/" rel="nofollow">https:&#x2F;&#x2F;coreos.com&#x2F;blog&#x2F;rocket&#x2F;</a>
bfirshover 10 years ago
GitHub repo for Machine: <a href="https://github.com/docker/machine" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;docker&#x2F;machine</a><p>GitHub repo for Swarm: <a href="https://github.com/docker/swarm" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;docker&#x2F;swarm</a><p>Compose is still being designed in the open. If you want to have a say about how it works, check out the proposal: <a href="https://github.com/docker/docker/issues/9459" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;docker&#x2F;docker&#x2F;issues&#x2F;9459</a>
slifinover 10 years ago
Talking about Docker as we are<p>Does any one agree it&#x27;s still too hard for dumb dumb developers like me? I&#x27;m on windows (boo hiss) so in the past I&#x27;ve tried to use boot2docker, but you can&#x27;t just point your webserver container at a place on your local file system and say serve that please<p>You have to bring in some crazy storage file container which will serve it all via samba or something and then you need to figure out linking those containers together and then how the hell do you tell a web server &quot;hey you, document root is over here on another container&quot;<p>At this point I&#x27;m usually like fuck it we&#x27;ll use some bad idea .exe web stack and develop as normal I like the idea of containers, quicker smaller than vms, nice file system history going on but in practice it isn&#x27;t easy enough in my opinion
评论 #8701413 未加载
评论 #8701923 未加载
fndrplayer13over 10 years ago
Maybe I&#x27;m just thick in the head, but one of the thing that continues to disappoint me about Docker is the size of the binaries. Wouldn&#x27;t it be good if we could build the container a single time, and then ship that top-level changeset around? For example. If I build a 200mb binary on top of `ubuntu:latest` I would like to be able to just ship that 200mb around, instead of 200mb + ubuntu:latest (another ~167mb?). If you colocate many services in a single machine (say 10-12) the network of grabbing those tarballs makes Docker less appealing.<p>edit: Also, its inefficient to build this Dockerfile every single time on every single host, which is why I&#x27;m talking about shipping tars. You could have 30 hosts with these 12 containers running on each one.<p>Any plans on dealing with something like this in the future?
评论 #8700966 未加载
评论 #8700976 未加载
评论 #8700991 未加载
评论 #8702968 未加载
评论 #8700944 未加载
gtaylorover 10 years ago
I&#x27;m excited to see Docker continue to progress so quickly, but I&#x27;ll admit to being more and more confused over how many components and services you have to contend with now. I&#x27;m sure I could sort out all of these names if I spent more time playing, but it&#x27;s getting a little confusing to me.<p>There&#x27;s a lot to be said for making something only do one thing and doing it well, but it starts getting tough to keep track of when you&#x27;ve got a bunch of somethings.
评论 #8701992 未加载
23davidover 10 years ago
These aren&#x27;t new projects... just rebranded versions of half-baked feature proposals that I thought were still being reviewed&#x2F;discussed. I guess somewhere a decision was made to move forward regardless of community concerns?<p>Baking these features into Docker is the beginning of the end of Docker&#x27;s Enterprise story. Moving forward with these proposals guarantees the rise of Rocket and other Enterprise focused containers. Docker is forking its own community here.
评论 #8700320 未加载
评论 #8700332 未加载
评论 #8700345 未加载
saryantover 10 years ago
I&#x27;m excited to watch this battle between CoreOS and Docker heat up. I recently took a CoreOS&#x2F;Docker-based system into production on AWS and there are definitely still some missing pieces. Swarm appears to be a slightly higher-level version of fleetd. Compose is something CoreOS is missing though.
评论 #8700335 未加载
23davidover 10 years ago
They sound like a closed-source vendor at this point. I&#x27;m surprised to see an open-source project mention &quot;ecosystem partners&quot;:<p><pre><code> Each one is implemented with a “batteries included, but removable” approach which, thanks to our orchestration APIs, means they may be swapped-out for alternative implementations from ecosystem partners designed for particular use cases. </code></pre> So if I have a startup working on an orchestration solution, what is the process to become an approved &#x27;ecosystem partner&#x27;. Do I need to sign a NDA and pay for an approval process to get my stuff merged in?
评论 #8700445 未加载
评论 #8700654 未加载
skrebbelover 10 years ago
Can anyone who understands this better than I do explain whether this replaces Fig, and if so, which parts of it?
评论 #8700073 未加载
dingdingdangover 10 years ago
With this amount of buzz words needed to install and run an app I see a bright future for Go and its &quot;all compiled in one, web-server included, ready to go&quot; executable structure. I mean sure: you get automation and repeatability of installs but at what cost? You have to maintain all the buzz-word hoops that your app needs to be wrapped into - requiring what amounts to a full new job in medium sized software company. And you still need the sysadmin to actually make the servers work.
lclarkmichalekover 10 years ago
Pretty amazing. Is there anything the docker binary doesn&#x27;t do now? The comparisons with systemd (I like systemd) are becoming more apt.
评论 #8700186 未加载
preillymeover 10 years ago
Mesos 0.20.0 adds the support for launching tasks that contains Docker images, with also a subset of Docker options supported while we plan on adding more in the future.<p>Users can either launch a Docker image as a Task, or as an Executor. The Docker Containerizer is translating Task&#x2F;Executor Launch and Destroy calls to Docker CLI commands.
RemoteWorkerover 10 years ago
I haven&#x27;t been reading Docker related news lately. Is there anything I should know if I already have my own working continuous deployment system made with Ansible, Jenkins and Docker? For example, it seems like I don&#x27;t need Docker Machine if I already have my own Ansible recipes for provisioning.
评论 #8700899 未加载
deeviantover 10 years ago
Begun, these docker wars have.
dmritard96over 10 years ago
This is all cool, but I really am I excited for better ARM support one day...
评论 #8700485 未加载
评论 #8700238 未加载