A 1-hour hands-on workshop covering Docker fundamentals for developers.
- docker pull - Fetching images from Docker Hub
- docker run - Running containers with options
- docker build - Creating custom images with Dockerfiles
- CMD vs ENTRYPOINT - Controlling container behavior
- docker tag - Versioning your images
- docker push - Sharing images with your team
Before the workshop, participants need:
-
Docker Desktop installed and running
-
Docker Hub account - Sign up free
-
Verify installation:
docker --version docker run hello-world
This presentation is built with Slidev.
# Install dependencies
npm install
# Start the presentation
npm run devThen open http://localhost:3030 in your browser.
Access presenter mode with notes and timer:
- Press
Pwhile viewing slides, or - Navigate to http://localhost:3030/presenter
| Key | Action |
|---|---|
→ / Space |
Next slide |
← |
Previous slide |
P |
Presenter mode |
O |
Slides overview |
D |
Dark/Light mode |
F |
Fullscreen |
The workshop covers the following hands-on exercises:
docker pull nginx:alpine
docker pull alpine:latest
docker run -d -p 8080:80 --name my-nginx nginx:alpineCreate a simple HTML page and package it in a Docker image:
docker build -t my-site:1.0 .
docker run -d -p 8080:80 my-site:1.0Understand the difference between these Dockerfile instructions with a practical greeter script example.
docker tag my-site:1.0 username/my-site:1.0
docker push username/my-site:1.0Each participant creates a personal profile page, containerizes it, and shares it with the team. By the end, everyone runs 6 containers - one from each team member!
# Export as PDF
npm run export
# Build static site
npm run buildMIT