Container Jungle: where do I start? Docker, Kubernetes

containers

Container is one of the greatest revolutions happening in these years. Since the technology inception, containers have evolved at a lightning-fast speed. Understanding what to learn and what to postpone can be daunting if you haven’t kept up to date in these years. If you’re having troubles deciding where to start, this article is for you.

Stick with the basics: containers? They’re just lightweight VMs

Containers in the wild
Containers in the wild

Before you deep dive into the submerged world of containers, it will help you during your journey if you grasp the very fundamentals about the containers technologies rather than a particular container technology.

Essentially containers are lightweight VMs (you will hear this a lot!). Instead of virtualizing the whole hardware stack, the kernel is shared among containers. This makes containers an operating-system level virtualization technology, which is different from regular Virtual Machines.

Docker: meet the container whale

Docker Logo

If there’s one specific technology that ignited the exponential growth of containers, that is Docker. Containers existed even before Docker, but after its inception in 2013 there was no way to stop containers. Docker is open source and available in two editions: Community Edition and Enterprise Edition. Here’s a list of a few articles that will help you get started:

Docker is surely one of the biggest technology and it serves as the foundation for most containers workloads running today. Although the world is shifting from a Docker world to a “Docker-less” world you may stay assured this is the most valuable knowledge for starters. Here you can find some more in-depth articles about Docker:

Kubernetes: meet THE orchestrator

Kubernetes Logo
Kubernetes Logo

If Docker ignited the container revolution, Kubernetes is taking it to a higher level. Although Docker has its own orchestrator (Docker Swarm) which is easy to setup and use, you really want to use Kubernetes if you’re serious about orchestration. Kubernetes is an open source software initially launched and developed by Google. Kubernetes is HARD. Be sure to understand Docker, containers and networking before working your way up to Kubernetes.

If you have a solid understanding of Kubernetes internals you’re halfway past your journey (which is not that common).

Tip!
Container Orchestration is a new term used to specify a process that takes care of container lifecycle (usually at a large scale). Orchestration often includes: scheduling, provisioning, scaling-up/down, load balancing, health-checking. A software that performs such operations on Containers is called Container Orchestrator.

OpenShift: Kubernetes on steroids (advanced)

OpenShift Logo

Straying away from the fundamental container infrastructure (Docker, Kubernetes), OpenShift aims to be a PaaS solution built on top of Kubernetes. Although there are alternatives, OpenShift is the most solid PaaS solution built on containers. OpenShift is backed by Red Hat and it is available as:

  • open source software: OpenShift Origin, recently renamed Origin Community Kubernetes Distribution a.k.a OKD.
  • paid software: OpenShift Container Platform (former OpenShift Enterprise).
  • hosted by Red Hat: OpenShift Online, OpenShift Dedicated.

Here’s a few tutorials that you may find useful:

Mesos: another ecosystem

Mesos Logo
Mesos Logo

While Docker and Kubernetes were shining bright with all the attention, another ecosystem was being actively developed. Apache Mesos is an open source project aiming to create a “kernel” for the data-center. Mesos has its own containers, but you can run Docker or even Kubernetes on top of it (confusing isn’t it?). Just keep in mind Mesos is not a container technology per se. Mesos also works well with Big Data software such as Hadoop or Spark.

Other technologies

The container landscape is so vast that it is hard to know all the projects names alone. Here are a few more technologies and articles that you may be interested in:

Image courtesy of mark | marksei
mark

You may also like...

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.