In this video we discussed about what is docker-compose how to install and configure and how to run the application we discussed and how down the application with single command.
Docker compose.
: tool for defining & running multi-container docker applications.
: use yaml files to configure application services (docker-compose.yml)
: can start all services with a single command : docker compose up
: can stop all services with a single command : docker compose down
: can scale up selected services when required
Create docker compose file at any location on your system
docker-compose.yml
Check the validity of file by command
docker-compose config
Run docker-compose.yml file by command
docker-compose up -d
Bring down application by command
docker-compose down