Cloud and engineering

Learn Containers and Kubernetes: what to know and where to start

Containers package an application and what it needs to run into an isolated unit that can be moved between machines. Kubernetes is an open source platform for managing containerized workloads and services. Developers, DevOps and cloud engineers use them to ship and run software the same way in testing and production.

Outcomes

What you will be able to do with Containers and Kubernetes

  • Build and run a container image
  • Deploy an app with a Kubernetes deployment and service
  • Configure storage and networking for a workload
  • Troubleshoot a failing pod from logs and events

Learning path

How to learn Containers and Kubernetes, in order

  1. Beginner

    Run an application in a container

    Learn images, containers, registries and volumes, and write a simple Dockerfile. You are ready when you can package and run a small app on your own machine.

  2. Intermediate

    Deploy to Kubernetes

    Learn pods, deployments, services and configuration, and deploy an app to a cluster. You are ready when you can expose and update a service without downtime.

  3. Advanced

    Operate a cluster

    Practise cluster setup, networking, storage, security and troubleshooting. You are ready when you can find and fix a failing workload from logs and events.

What containers and Kubernetes are used for

Docker describes a container as a runnable instance of an image: a read-only template with the instructions for creating it. Kubernetes then manages many containers across machines. Its documentation lists what it provides, and most courses teach some of these.

  • Service discovery and load balancing.
  • Storage orchestration.
  • Automated rollouts and rollbacks.
  • Self-healing: restarting or replacing failed containers.
  • Secret and configuration management.
  • Horizontal scaling.

How to choose a course

Check where the course starts. A sound route learns containers first, then Kubernetes, because Kubernetes manages containers. The Kubernetes documentation notes that it does not build or deploy source code, so a course that covers a full delivery pipeline should say which other tools it uses.

Then look for hands-on labs that run a real application, and read the review for the level the course expects.

Best-of lists

Ranked lists with Containers and Kubernetes courses

Our category rankings that include a course teaching Containers and Kubernetes.

Keep going

Where to go next

The first is the natural next step from this page. The rest follow what you have been reading.

Roadmap

Back-end developer

Builds the servers, databases and APIs behind an app. The route runs from free Python courses to a back-end certificate and DevOps.

Skill

Cloud computing

Cloud computing means renting computing, storage and networking over the internet instead of running your own hardware.

Guide

Do you need computer science basics before web development?

How to decide whether to learn computer science basics first or go straight to web development: the checks to run, and signs it is time to move on.

FAQs

Containers and Kubernetes: common questions

What is a container?

Docker defines a container as a runnable instance of an image. It is isolated from other containers and the host by default, and state not kept in persistent storage is lost when the container is removed.

What is the difference between Docker and Kubernetes?

Docker packages and runs applications in containers. Kubernetes is a platform for managing containerized workloads and services, including scaling, rollouts and self-healing across machines.

Do I need to learn containers before Kubernetes?

Kubernetes manages containerized workloads, so knowing what a container and an image are makes its concepts easier to follow.