Docker vs. Kubernetes vs. Mesos
I recently evaluated all 3 solutions. Here is how I see it after testing the waters:<p>- want something simple that works today? Docker Swarm<p>- want something amazingly flexible? Kubernetes<p>- already use Mesos or DC&#x2F;OS? Marathon&#x2F;Mesos<p>This article from Mesosphere is interesting and gives a good overview, but it downplays advantages of Swarm and Kubernetes and clearly highlights Mesos: Docker has 4 bullet points, Kubernetes has 3 and Mesos has 5.<p>In addition, Marathon is meant to work on Mesosphere DC&#x2F;OS and not on other operating systems. For instance, the &quot;Virtual IP&quot; [1] feature only works on DC&#x2F;OS from what I can tell. This confused me because this feature appears on the UI even if you run Ubuntu, it just doesn&#x27;t work in that setup.<p>Docker Swarm seems to have a very comparable feature set, but doesn&#x27;t care what OS you run.<p>There is an Mesos plugin for Kubernetes [2] but it looks unmaintained, so this sentence seems a bit off: &quot;Mesos could even run Kubernetes or other container orchestrators, though a public integration is not yet available.&quot; This also goes to show how important community support and commercial backing is and Kubernetes is the clear winner here.<p>At the end, you can read this: &quot;want all of this portable across cloud providers and&#x2F;or datacenters, then Mesos (or our own Mesos distribution, Mesosphere DC&#x2F;OS)&quot;. With Docker Swarm, you can use multiple cloud providers. Docker Swarm does not care about what servers you use. It encrypts traffic between nodes and needs Docker. That&#x27;s it. It is cloud agnostic. I&#x27;m not sure what the story is with Kubernetes here. Kubernetes is a huge beast: very flexible and powerful, but a high upfront setup cost when you want to manage everything yourself.<p>[1] <a href="https:&#x2F;&#x2F;dcos.io&#x2F;docs&#x2F;1.9&#x2F;networking&#x2F;load-balancing-vips&#x2F;" rel="nofollow">https:&#x2F;&#x2F;dcos.io&#x2F;docs&#x2F;1.9&#x2F;networking&#x2F;load-balancing-vips&#x2F;</a><p>[2] <a href="https:&#x2F;&#x2F;github.com&#x2F;mesosphere&#x2F;kubernetes-mesos" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;mesosphere&#x2F;kubernetes-mesos</a>