PCDS Tutors — Home • Online • Academic • Professional LearningServing 10+ launch cities • Expanding across India
Practical learning guideBeginner

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.

Practical lesson

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.

dockerfile
FROM nginx:alpine
COPY index.html /usr/share/nginx/html/index.html

Expected result

http://127.0.0.1:8088/ returns the sample HTML if Docker can fetch the base image and start the container.

Walk through the example

  1. FROM selects a base image with nginx.
  2. COPY embeds the sample page in the image.
  3. 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.

1. What happens to a running container when you rebuild a tag?
2. What should never be copied into an image?

Complete learning roadmap

These are suggested course modules, not a claim that every module has a full tutorial on this site.

  1. 01Containers & images
  2. 02Dockerfiles
  3. 03Volumes
  4. 04Networking
  5. 05Compose
  6. 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.

Docker build documentation →

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.

Docker Tutorial, Practical Project & Course Syllabus | PCDS Learning