Compose is a tool for defining and running multi-container Docker applications

With Compose, you use a YAML file to configure your application's services. Then, with a single command, you create and start all the services from your configuration.
  1. Multiple isolated environments on a single host
  2. Preserve volume data when containers are created
  3. Only recreate containers that have changed
  4. Variables and moving a composition between environments
https://docs.docker.com/compose/#features

The following example shows how to get the docker-compose version.
[ec2-user@ip-172-16-0-86 ~]$ docker-compose -version
docker-compose version 1.27.4, build 40524192

Comments

Popular posts from this blog