Containers, images, pods, and Kubernetes
Notes and definitions related to Kubernetes.
An image is a snapshot of an OS filesystem. We start with a base image like ubuntu:latest
, alpine:latest
, or ubi-micro
and then add our own application code. A Dockerfile
, contains instructions on how to create the image. We build an image and push images to a container registry.
A container is what we call a running instance of an image. Docker, Podman, and other technologies provide a way to run containers on a single host (e.g. locally on your laptop). Kubernetes is a container orchestrator that provides a way to run containers across many hosts.