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.
- Multiple isolated environments on a single host
- Preserve volume data when containers are created
- Only recreate containers that have changed
- Variables and moving a composition between environments
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
Post a Comment