Definition
: Tool for defining and running multi-container Docker applications using a YAML file.
Features
:
Configuration
: Define services, networks, and volumes in
docker-compose.yml
.
Commands
:
docker-compose up
: Starts the services defined in the file.
docker-compose down
: Stops and removes containers, networks, and volumes.
Example
:
docker-compose.yml
defining a web service, a database service, and their connection.
Commands