less than 1 minute read

Tags: ,

Udemy




Section 6 Overview

  • Why: configure relationships between containers
  • Why: save our docker container run settings in easy-to-read file
  • Why: create one-liner developer environment startups
  • Comprised of 2 separate but related things
  • #1. YAML-formatted file that describes our solution options for:
  • containers
  • networks
  • volumes
  • #2. A CLI tool docker-compose used for local dev/test automation with those YAML files

Docker Compose

Adding image building to compose files

作業

  1. Writting a compose file
  2. Build and Run Compose

自己的練習