Benefits of docker-compose

  1. Docker compose is used for running multiple container as 1 service
  2. Each service is isolated from one another
  3. No dependency to start each service independently
  4. one yaml file contains all and can be run in 1 shot
  5. Docker manages single container , docker-compose manages multiple applications
  6. It is a powerful tool , to set up and deploy application
  • Start all services: Docker Compose up.
  • Stop all services: Docker Compose down.
  • Run Docker Compose file: Docker-compose up -d.
  • List the entire process: Docker ps.