Docker Compose File
Learn the properties you can add in the docker-compose.yml file.
We'll cover the following...
Docker Compose
Docker Compose is a utility for launching and managing multiple containers. It is more powerful and easier than using a series of docker run
commands.
The configuration is usually defined in a docker-compose.yml
(YAML) file. This lesson provides a summary of the commands that will be used most often in your Docker journey.
YML is a standard data format using new lines, tabs, colons, and dashes to indicate sections and data.
All configuration files must specify:
- Docker Compose version compatibility.
- The services (containers) to launch.
- The networks (if used).
- The volumes (if used).