Skip to main content

Tutorial series

From Docker to Kubernetes

Containerise an app, run it with Compose, then deploy and configure it on Kubernetes.

  1. How to Install Docker Engine on Ubuntu 26.04

    You will install Docker Engine 29 from Docker's official apt repository on Ubuntu 26.04, run the hello-world image to prove it works, and set it up to start at boot, run without sudo and keep its logs from filling the disk.

    Beginner · 11 min

  2. How to Write a Dockerfile for a Node.js App

    You will write a Dockerfile for a small Express app on Node.js 26, build it into an image, run it as a container on port 3000 as a non-root user, and order the file so rebuilds take seconds.

    Beginner · 14 min

  3. How to Run an App and PostgreSQL Together with Docker Compose

    You will describe a Node.js app and a PostgreSQL 18 database in one compose.yaml, start both with one command, keep the data in a named volume, and keep the database password out of the file.

    Intermediate · 16 min

  4. How to Run Your First Kubernetes Cluster Locally with kind

    You will create a one-node Kubernetes 1.37 cluster inside Docker with kind, talk to it with kubectl, run a pod from a public image and from an image built on your own machine, and delete the cluster when you are done.

    Beginner · 14 min

  5. How to Deploy an App and Expose It with a Service on Kubernetes

    You will run an app on Kubernetes 1.37 as a Deployment with two replicas, watch it heal itself, give it a stable address with a Service, reach it from your computer, and roll out a new version with a way back.

    Intermediate · 16 min

  6. How to Configure a Kubernetes App with ConfigMaps and Secrets

    You will keep settings and credentials out of your container image by passing them to a Kubernetes 1.37 Deployment as environment variables and as mounted files, update them without rebuilding, and learn what a Secret does and does not protect.

    Intermediate · 17 min