← Master Class Commands

Interactive learning pilot

Learning Labs

Phase 10 turns the documentation platform into a guided learning surface with a Docker pilot quiz, flashcards, command builder, and command explanation workflow.

Pilot quiz

Docker Foundations Quiz

Check your understanding of core Docker run, port, volume, and cleanup patterns.

1. Which flag runs a container in the background?
2. What does `-p 8080:80` do?
3. What does `-v ./data:/data` mount?
4. Which command removes stopped containers, unused networks, dangling images, and build cache?

Flashcards

Docker command memory cards

1 of 6

Command builder

Build a Docker run command

Change the fields and copy the generated command into your lab environment.

docker run -d --name web -p 8080:80 -e NODE_ENV=production nginx
Runs a Docker container from an image with optional background mode, ports, environment variables, and volumes.

docker run: Create and start a new container from an image.

-d: Run in detached/background mode.

--name web: Assign a friendly container name.

-p 8080:80: Map host port to container port.

-e NODE_ENV=production: Set an environment variable.

Command explainer

How this pilot explains commands

The first explainer supports Docker run commands. Future phases can extend the same helper interface to kubectl, terraform, ansible, and cloud CLIs.

docker run -d -p 8080:80 --name web nginx