Need advice about which tool to choose?Ask the StackShare community!

Docker

170.1K
136.7K
+ 1
3.9K
Apache Mesos

310
419
+ 1
31
Add tool

Apache Mesos vs Docker: What are the differences?

Introduction

Apache Mesos and Docker are both popular technologies used in containerization and resource management. While they serve similar purposes, there are key differences between them.

  1. Resource Management: Apache Mesos is primarily a resource management platform, whereas Docker is a containerization platform. Mesos provides a distributed system for managing and allocating computing resources among applications, whereas Docker focuses on packaging applications into containers, allowing them to run consistently across different environments.

  2. Multi-Tenancy: Mesos supports multi-tenancy, allowing multiple users or teams to share the same cluster while maintaining isolation between their applications. It provides fine-grained resource allocation and scheduling mechanisms to ensure fairness and prevent one application from monopolizing the resources. On the other hand, Docker does not inherently support multi-tenancy. It primarily focuses on single application deployment within a container.

  3. Containerization Approach: Docker uses operating system-level virtualization to create lightweight and isolated containers, where each container runs as an independent process on the host operating system. Mesos, on the other hand, provides a higher level of abstraction by allowing different containerization technologies to run within it. It can support Docker containers, as well as other container runtimes like rkt and appc.

  4. Scaling and Elasticity: Docker provides scaling capabilities through its swarm mode, which allows multiple Docker hosts to work together as a cluster. However, Mesos is specifically designed for scalable and elastic deployments. It supports auto-scaling of applications based on resource demand and can dynamically allocate and free resources as needed.

  5. Service Discovery and Orchestration: Docker has built-in service discovery and orchestration capabilities, which allow containers to communicate with each other and coordinate their actions. Mesos, on the other hand, provides a framework called Marathon for managing long-running services and applications. Marathon can be used to automatically scale and monitor applications, providing more advanced orchestration features.

  6. Community and Ecosystem: Docker has a large and vibrant community, with a vast ecosystem of tools and services built around it. It has become the de facto standard for containerization. Mesos also has a growing community and ecosystem, but it is more focused on resource management and distributed computing. Mesos is often used in conjunction with other containerization technologies like Docker to provide a comprehensive solution.

In summary, Apache Mesos is a resource management platform that supports multi-tenancy, various containerization technologies, and elastic deployments. Docker, on the other hand, is a containerization platform focused on packaging applications into containers and providing built-in service discovery and orchestration capabilities. Both technologies have their strengths and are often used together to create robust and scalable application deployments.

Decisions about Docker and Apache Mesos
Florian Sager
IT DevOp at Agitos GmbH · | 3 upvotes · 414.7K views
Chose
LXDLXD
over
DockerDocker

lxd/lxc and Docker aren't congruent so this comparison needs a more detailed look; but in short I can say: the lxd-integrated administration of storage including zfs with its snapshot capabilities as well as the system container (multi-process) approach of lxc vs. the limited single-process container approach of Docker is the main reason I chose lxd over Docker.

See more
Get Advice from developers at your company using StackShare Enterprise. Sign up for StackShare Enterprise.
Learn More
Pros of Docker
Pros of Apache Mesos
  • 823
    Rapid integration and build up
  • 691
    Isolation
  • 521
    Open source
  • 505
    Testa­bil­i­ty and re­pro­ducibil­i­ty
  • 460
    Lightweight
  • 218
    Standardization
  • 185
    Scalable
  • 106
    Upgrading / down­grad­ing / ap­pli­ca­tion versions
  • 88
    Security
  • 85
    Private paas environments
  • 34
    Portability
  • 26
    Limit resource usage
  • 17
    Game changer
  • 16
    I love the way docker has changed virtualization
  • 14
    Fast
  • 12
    Concurrency
  • 8
    Docker's Compose tools
  • 6
    Easy setup
  • 6
    Fast and Portable
  • 5
    Because its fun
  • 4
    Makes shipping to production very simple
  • 3
    Highly useful
  • 3
    It's dope
  • 2
    Very easy to setup integrate and build
  • 2
    HIgh Throughput
  • 2
    Package the environment with the application
  • 2
    Does a nice job hogging memory
  • 2
    Open source and highly configurable
  • 2
    Simplicity, isolation, resource effective
  • 2
    MacOS support FAKE
  • 2
    Its cool
  • 2
    Docker hub for the FTW
  • 2
    Super
  • 0
    Asdfd
  • 21
    Easy scaling
  • 6
    Web UI
  • 2
    Fault-Tolerant
  • 1
    Elastic Distributed System
  • 1
    High-Available

Sign up to add or upvote prosMake informed product decisions

Cons of Docker
Cons of Apache Mesos
  • 8
    New versions == broken features
  • 6
    Unreliable networking
  • 6
    Documentation not always in sync
  • 4
    Moves quickly
  • 3
    Not Secure
  • 1
    Not for long term
  • 1
    Depends on Zookeeper

Sign up to add or upvote consMake informed product decisions

- No public GitHub repository available -

What is Docker?

The Docker Platform is the industry-leading container platform for continuous, high-velocity innovation, enabling organizations to seamlessly build and share any application — from legacy to what comes next — and securely run them anywhere

What is Apache Mesos?

Apache Mesos is a cluster manager that simplifies the complexity of running applications on a shared pool of servers.

Need advice about which tool to choose?Ask the StackShare community!

Jobs that mention Docker and Apache Mesos as a desired skillset
What companies use Docker?
What companies use Apache Mesos?
See which teams inside your own company are using Docker or Apache Mesos.
Sign up for StackShare EnterpriseLearn More

Sign up to get full access to all the companiesMake informed product decisions

What tools integrate with Docker?
What tools integrate with Apache Mesos?

Sign up to get full access to all the tool integrationsMake informed product decisions

Blog Posts

PythonDockerKubernetes+7
3
1102
PythonDockerKubernetes+14
12
2605
Jul 9 2019 at 7:22PM

Blue Medora

DockerPostgreSQLNew Relic+8
11
2337
DockerAmazon EC2Scala+8
6
2710
GitHubDockerReact+17
40
36286
What are some alternatives to Docker and Apache Mesos?
LXC
LXC is a userspace interface for the Linux kernel containment features. Through a powerful API and simple tools, it lets Linux users easily create and manage system or application containers.
rkt
Rocket is a cli for running App Containers. The goal of rocket is to be composable, secure, and fast.
Kubernetes
Kubernetes is an open source orchestration system for Docker containers. It handles scheduling onto nodes in a compute cluster and actively manages workloads to ensure that their state matches the users declared intentions.
Cloud Foundry
Cloud Foundry is an open platform as a service (PaaS) that provides a choice of clouds, developer frameworks, and application services. Cloud Foundry makes it faster and easier to build, test, deploy, and scale applications.
Vagrant
Vagrant provides the framework and configuration format to create and manage complete portable development environments. These development environments can live on your computer or in the cloud, and are portable between Windows, Mac OS X, and Linux.
See all alternatives