Installing and using Docker Compose
Docker Compose is a tool developed by Docker Inc. to help developers create, deliver, and run applications with multiple components running within containers. This tool may come with your Docker container runtime distribution or have to be installed separately. If you are using tools such as Podman, you will also have available equivalent command-line tools.
Docker Compose, developed in 2014 as an open source project, aims to manage multiple containers based on YAML definitions. This command line will talk directly with the Docker container runtime API. This means that all containers managed by a docker-compose
file will run together on top of the same container runtime, hence on the same host. Understanding this is key because you will need third-party tools and configurations if you need to provide high availability for your applications. We can think of Docker Compose as a single-node container orchestrator.
If you are using Docker Desktop...