tags: #public #docker
- Automatically builds (or get images from a docker hub) and start the containers (services)
- docker-compose.yaml is used for specifying how to start each container
- A name to each container (service)
- Dockerfile to build or which image to get
- How to map the port requests from the host machine to the container
- How to mount volumes etc
- Docker compose also starts a virtual network.
- You can also start docker-compose in detached mode.
version : '3'