Pick a depth. Each prompt opens in your AI pre-loaded with the lesson. Click a row to preview the prompt.
Installing Docker Engine and running your first container is the quickest way to internalize the registry → image → container flow. The docker run hello-world command pulls a tiny image from Docker Hub, creates a container from it, executes one binary, and exits — touching every layer of the system in a few seconds. Once you have seen that round-trip, every later concept (tags, layers, caches) clicks faster.
Install Docker Engine on a fresh cloud VM and trace what happens during docker run hello-world.
docker run hello-world and read the output line-by-line — identify the four steps it claims Docker performed.docker pull alpine:3.20 then docker run alpine:3.20 echo hi and confirm the second command does NOT re-pull (check docker events in another terminal).docker info and note the values of Storage Driver, Cgroup Version, and Server Version for your host.# On Ubuntu 24.04 (e.g., an EC2 t3.small):
sudo apt-get update
sudo apt-get install -y ca-certificates curl
sudo install -m 0755 -d /etc/apt/keyrings
sudo curl -fsSL https://download.docker.com/linux/ubuntu/gpg -o /etc/apt/keyrings/docker.asc
echo "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.asc] https://download.docker.com/linux/ubuntu $(. /etc/os-release && echo "$VERSION_CODENAME") stable" | sudo tee /etc/apt/sources.list.d/docker.list
sudo apt-get update && sudo apt-get install -y docker-ce docker-ce-cli containerd.io
sudo usermod -aG docker $USER && newgrp docker
docker version
docker run hello-world