Search⌘ K

Orchestration Basics

Explore the basics of container orchestration to simplify running, updating, and scaling Docker containers. Understand how orchestration tools automate tasks like rolling updates, load balancing, and managing containers across clusters. This lesson introduces key concepts and practical uses of Docker Swarm and Kubernetes to help you manage container workloads with ease and reliability.

We'll cover the following...

In this chapter, we saw some tools (the --restart-mode switch, the docker stats command) that help keep your containers running and keep an eye on them. This is good for starters. However, if you rely on containers and/or have high workloads, using such tools and automating their use will become tedious.

Imagine coding calls to create or update containers, and to remove them when necessary. How will you update your containers when you publish new versions? Since running containers is cheap, you may want to perform rolling updates so that your application isn’t down during updates. In a rolling update, a new container is started with the newest image, and once it is ready, users are routed to it, then ...