Skip to main content

Padding Tutorials

What do you want to build?

7 tutorials

All tutorials

  • 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 · Containers and Kubernetes

  • 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 · Containers and Kubernetes

  • How to Shrink Docker Images with Multi-Stage Builds

    You will build the same small web site into two Docker images, one in a single stage and one in two, and see the second come out several times smaller because it ships only the built files and a web server.

    Intermediate · 13 min · Containers and Kubernetes

  • 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 · Containers and Kubernetes

  • 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 · Containers and Kubernetes

  • 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 · Containers and Kubernetes

  • 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 · Containers and Kubernetes