Docker Swarm vs Apache Mesos: What are the differences?
Docker Swarm: Native clustering for Docker. Turn a pool of Docker hosts into a single, virtual host. Swarm serves the standard Docker API, so any tool which already communicates with a Docker daemon can use Swarm to transparently scale to multiple hosts: Dokku, Compose, Krane, Deis, DockerUI, Shipyard, Drone, Jenkins... and, of course, the Docker client itself; Apache Mesos: Develop and run resource-efficient distributed systems. Apache Mesos is a cluster manager that simplifies the complexity of running applications on a shared pool of servers.
Docker Swarm and Apache Mesos are primarily classified as "Container" and "Cluster Management" tools respectively.
"Docker friendly" is the primary reason why developers consider Docker Swarm over the competitors, whereas "Easy scaling" was stated as the key factor in picking Apache Mesos.
Docker Swarm is an open source tool with 5.63K GitHub stars and 1.11K GitHub forks. Here's a link to Docker Swarm's open source repository on GitHub.
According to the StackShare community, Docker Swarm has a broader approval, being mentioned in 83 company stacks & 38 developers stacks; compared to Apache Mesos, which is listed in 61 company stacks and 19 developer stacks.