Study Group: 內湖成五 品質保證 docker-讀書會-05 docker compose
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
作業
- Writting a compose file
-
Build and Run Compose