Week 8 – Containerization with Docker

Objectives

  • Package applications into portable containers.
  • Build efficient Docker images for development and deployment.
  • Use containers for local integration workflows.

Topics

  • Images, containers, and registries.
  • Writing Dockerfiles and multi-stage builds.
  • Container networking and volumes.
  • Docker Compose for multi-service local setups.
  • Image size, security, and runtime best practices.

Hands-On Activities

  • Containerize backend and frontend services.
  • Build a multi-container local stack with Compose.
  • Optimize image size and startup time.

Deliverables

  • Dockerized application with Compose configuration.
  • Container runbook for local development.

Assessment

  • Live run of multi-service stack and troubleshooting task.