Source: medium.com

How to use Docker Compose

Category: yaml

Docker is an amazing containerisation solution that can help you ship your code seamlessly, irrespective of the environment it runs on. Docker provides the ability to package and run an application in a loosely isolated environment called a container.

As a developer, you can use the docker-compose command to design and run multi-container Docker applications. Using docker-compose involves 2 steps, Before you begin, you must have Docker and Docker-Compose installed on your machine.

Main sections of a docker-compose file, Container level options, A few commonly used docker-compose commands, Create & Start containersList the containersDelete a stopped containerSpecify a .yml file

Related Articles