Posts

Showing posts with the label Writing docker-compse

Install and setup for the Docker Compose

Image
Hello DevOps enthusiast, In this post, We will discuss docker-compose why we need and how it can resolve the multi-container application issues. What is it's limitations? How Docker-compose works? What is Docker-compose? why? If we are working on multi-container apps then it is a hassle because we would be doing repeatedly the following tasks: Build images from Dockerfiles  Pull images from the Hub or a private registry  Configure and create multiple containers for each service required to run the application Start and stop containers individually each one Stream their logs to check the status and troubleshoot In contrast to all the above hassles, The Docker compose developed as best tool for defining & running multi-container docker applications. We can use YAML files to configure application services (docker-compose.yml) Simplified control for multi-container applications - we can start all services with a single command: docker compose up and can st...