Docker: Tutorial, Projects & Course Syllabus
Container fundamentals, images, networking, volumes and production workflows.
Who this is for
Developers and DevOps learners
Before you start
Docker Engine or Desktop; a local directory with index.html containing a sample heading.
Package a static learning page in a local container
A container image packages filesystem content and startup configuration.
Publishing a port on loopback keeps a development service local. A floating tag is convenient for a lab but production should pin reviewed image versions or digests.
Set up your practice environment
Create the Dockerfile below alongside index.html. Build with docker build -t study-demo . and run docker run --rm -p 127.0.0.1:8088:80 study-demo. Stop with Ctrl+C.
FROM nginx:alpine
COPY index.html /usr/share/nginx/html/index.htmlExpected result
Walk through the example
- FROM selects a base image with nginx.
- COPY embeds the sample page in the image.
- The port mapping forwards local port 8088 to container port 80.
Common mistake
Never bake credentials into images or build arguments; image layers may preserve them.
Try it yourself
Edit index.html and rebuild. Explain why the previous running container still serves the previous content.
Reveal suggested solution
A running container uses the image it was created from. Stop it, rebuild and start a new container with the updated image.
Portfolio project brief
Containerize a local course web application and document build, startup, health checks and image scanning.
Acceptance criteria
- Exclude secret files with .dockerignore.
- Pin reviewed dependencies for production.
- Bind local test ports to loopback and document cleanup.
This is a project specification, not a completed downloadable project. Build and test it independently or with a mentor.
Quick self-test
Choose one answer per question, then check your score. No sign-in required.
Complete learning roadmap
These are suggested course modules, not a claim that every module has a full tutorial on this site.
- 01Containers & images
- 02Dockerfiles
- 03Volumes
- 04Networking
- 05Compose
- 06Security & production patterns
Learning outcomes
- Containerize applications
- Run multi-service stacks
- Use Docker safely
Continue with official documentation
Original PCDS learning material. Check the official documentation for your installed software version; these guides are not vendor-endorsed courses.
Need help learning Docker?
Choose a city and describe your learning goal in the enquiry form. Mention Docker, your current level and whether you prefer home or online learning. Tutor availability and pricing are subject to confirmation.
Browse Docker tutoring options in Mira Road or select a city above.
