Cloud Computing & DevOps · Containers & orchestration

Docker Tutorial

Dockerfile discipline, Compose-based dev ergonomics, hardened multi-stage realism.

Sponsored

Lesson outline

  1. 25
    Build a Custom Docker Image

    Learn to build a custom Docker image from a Dockerfile using best practices. This lesson covers the build process, optimization tips, and common pitfalls.

  2. 26
    Docker Tutorial — Part 006

    Placeholder slot — edit in console (docker-stub-006).

  3. 27
    Docker Build Cache

    Master Docker build cache: speed up builds, avoid redundant layers, and optimize CI/CD. Hands-on steps and best practices.

  4. 28
    Docker Tutorial — Part 007

    Placeholder slot — edit in console (docker-stub-007).

  5. 29
    Expose Ports with EXPOSE and -p

    Learn how to expose container ports using EXPOSE in Dockerfiles and the -p flag at runtime, with hands-on steps and troubleshooting.

  6. 30
    Docker Tutorial — Part 008

    Placeholder slot — edit in console (docker-stub-008).

  7. 31
    Set Environment Variables

    Learn how to set environment variables in Docker containers using ENV in Dockerfiles, --env with docker run, and environment blocks in Compose. Hands-on examples and edge cases included.

  8. 32
    Docker Tutorial — Part 009

    Placeholder slot — edit in console (docker-stub-009).

  9. 33
    Run Containers in Detached Mode

    Learn how to run Docker containers in detached mode, enabling background execution for long-running services. This lesson covers the `-d` flag, practical use cases, and how to manage containers without tying them to your terminal.

  10. 34
    Docker Tutorial — Part 010

    Placeholder slot — edit in console (docker-stub-010).

  11. 35
    View Container Logs

    Learn to view Docker container logs in real time. This lesson covers tailing logs, filtering outputs, and using docker logs effectively.

  12. 36
    Docker Tutorial — Part 011

    Placeholder slot — edit in console (docker-stub-011).

    Docker Tutorial — step-by-step tutorials

    What you will find here

    This track walks through docker tutorial in order — each lesson is server-rendered HTML you can read without JavaScript. Follow the outline, then practice in the browser IDE when a lesson links to runnable code.

    Tutorials vs quizzes and code samples

    Tutorials teach in sequence. For quick checks use quizzes. For copy-paste snippets see code samples. For deeper reading browse articles.