8 Surprising Facts About Real Docker Adoption | Datadog

Updated June 2018. Earlier editions of this article were published in 2015, 2016, and 2017.

With thousands of companies using Datadog to monitor their infrastructure and applications, we can see software trends emerging in real time. Today we're excited to share our latest research into Docker adoption and usage.

Our first edition of this report, in 2015, showed that Docker had already built a great deal of momentum at that time. Each subsequent report has chronicled the increasing rise of containerization, which shows no sign of slowing. This edition draws from the largest sample size to date: more than 10,000 companies and 700 million containers in real-world use.

Throughout this article we refer to companies' adoption status: "adopted," "dabbling," or "abandoned." Our method for determining adoption status is described in the Methodology section below.

ONE

dd_dockerlisticle2018_b1

Nearly One Quarter of Companies
Have Adopted Docker

At the beginning of April 2018, 23.4 percent of Datadog customers had adopted Docker, up from 20.3 percent one year earlier. Since 2015, the share of customers running Docker has grown at a rate of about 3 to 5 points per year.

docker-2018-1-final

TWO

dd_dockerlisticle2018_b2

Docker Now Runs on
More Than 20% of Hosts

Across all the environments monitored by Datadog, the share of hosts running Docker also continues to climb. Approximately 21 percent of all hosts now run Docker, as of April 2018. That share has increased at a steady clip of about 5 points per year.

docker-2018-2-final

THREE

dd_dockerlisticle2018_b3

Docker Usage Rates Increase
with Infrastructure Size

When we issued the first edition of this report in 2015, we were surprised to find that the more hosts a company had, the more likely it was that the company had adopted Docker. Far from being an experimental technology only deployed by fast-moving startups, it was apparent that Docker adoption was being driven by companies with more sizable infrastructure deployments.

That trend holds true today: among the organizations with at least 1,000 hosts, 47 percent have adopted Docker, as compared to only 19 percent of organizations with fewer than 100 hosts. An additional 30 percent of organizations with 1,000 or more hosts are currently dabbling with Docker.

docker-2018-3-final

FOUR

dd_dockerlisticle2018_b4

Half of Docker Environments
Are Orchestrated

Increasingly, Docker is not being run as a standalone technology but as part of a larger containerization strategy, which includes automated orchestration of workloads. Roughly half of the companies that monitor Docker with Datadog now also monitor an orchestrator such as Kubernetes or Mesos, or a hosted orchestration platform from AWS, Azure, or Google Cloud Platform.

In AWS environments, where Elastic Container Service (ECS) enables users to launch a container cluster in a matter of clicks, orchestration is especially prevalent. Roughly 70 percent of companies running both Docker and AWS infrastructure are also using orchestration. ECS continues to lead in AWS organizations, with 45 percent market share, but Kubernetes has also made steady gains and is now running in 30 percent of AWS Docker environments. With the recent launch of Amazon Elastic Container Service for Kubernetes (EKS), we expect Kubernetes adoption to accelerate in AWS over the coming months.

Across our customer base, Kubernetes is now the fastest-growing orchestration technology, and with the launch of EKS, it has now been adopted by all the major cloud providers.

docker-2018-4-final

FIVE

dd_dockerlisticle2018_b5

The Average Size of a Docker Deployment
Has Grown 75% in One Year

In organizations that adopt Docker, deployments tend to increase steadily in scale long after the initial rollout. Deployments are also growing faster than they have in the past—the average size of a 10-month-old Docker deployment has increased 75% since last year.

docker-2018-5-final-v2

SIX

dd_dockerlisticle2018_b6

The Most Widely Used Images Are
NGINX, Redis, and Postgres

The most common technologies running in Docker are:

  1. NGINX: Docker is often used to deploy and run HTTP servers. NGINX has been a perennial leader on this list since we began tracking image use in 2015.
  2. Redis: This popular key-value store has also been a regular feature atop the list of container images. Redis is often used as an in-memory database, message queue, or cache.
  3. Postgres: The open source relational database has been steadily increasing in popularity. It has climbed in rank every year since it appeared in the 10th position on this list in 2015.
  4. Fluentd: The use of this open source "unified logging layer" in Docker infrastructure has skyrocketed, jumping from approximately 12 percent market share in our last report to more than 20 percent.
  5. Elasticsearch: The distributed datastore and full-text search engine remains one of the most widely deployed applications in modern container environments.
  6. MongoDB: The widely used document store is the go-to technology for a general-purpose NoSQL database.
  7. MySQL: The most popular open source database in the world continues to find wide use in Docker infrastructure.
  8. etcd: The distributed key-value store is used to provide consistent configuration across a Docker cluster.
  9. RabbitMQ: The open source message broker finds plenty of use in microservice architectures—and, the data shows, in Docker environments.
  10. HAProxy: The open source proxy is a popular choice for TCP and HTTP load balancing.
docker-2018-6-final

SEVEN

dd_dockerlisticle2018_b7

The Median Docker Organization
Runs Eight Containers per Host

The median company that adopts Docker runs eight containers simultaneously on each host, a figure that has climbed steadily over the years. This fact indicates that Docker is often used as a lightweight way to share compute resources, not just as a standardized, versioned runtime environment. Bolstering this observation, 25% of companies run 18 or more containers simultaneously on each host.

Part of the increase in container density over time may be due to the rise of orchestration technologies, which correlate with a greater number of containers per host. The typical organization that uses a container orchestrator runs 11.5 containers per host, as compared to about 6.5 containers per host in unorchestrated environments. One factor that likely contributes to the difference: orchestrators can place workload containers on any node that has sufficient resources, leading to more efficient use of host resources and increased container density.

docker-2018-7-final

EIGHT

dd_dockerlisticle2018_b8

Orchestrated Containers
Churn 12x Faster

At companies that adopt Docker, containers have an average lifespan of about two days, which means that containers churn tens of times faster than hosts, where lifetimes can often be measured in months.

The rapid adoption of orchestrators (see fact 4) appears to be driving containers toward even shorter lifetimes, as the automated starting and stopping of containers leads to a higher churn rate. In organizations running an orchestrator, the typical lifetime of a container is about 12 hours. At organizations without orchestration, the average container lives for six days.

Containers' short lifetimes and increased density have significant implications for infrastructure monitoring. They represent an order-of-magnitude increase in the number of components that must be managed and monitored, and the rapid churn of containers makes it all but impossible to track and monitor containers manually. We thus expect Docker to continue to drive the sea change in monitoring practices that the cloud began several years ago: from pets to cattle, from manual to automatic deployment and configuration, and from static to dynamic infrastructure platforms.

docker-2018-8-final