Docker Compose – Basic

Docker Compose - Basic


  • Start all services
docker-compose up
  • Stop all services
docker-compose down
  • Command to install Docker Compose
pip install -U docker-compose
  • Command to check the version of Docker Compose
docker-compose -v
  • Command to run docker compose file
docker-compose up -d
  • Command to list done all the process
docker-compose up -d --scale
  • Command to use YAML file to configure application services
  • Check logs
docker-compose logs

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes:

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

The reCAPTCHA verification period has expired. Please reload the page.