What are the main features of Docker-compose?

Some of the main features of Docker-compose are as follows:

  • Multiple environments on same Host: We can use it to create multiple environments on the same host server.
  • Preserve Volume Data on Container Creation: Docker compose also preserves the volume data when we create a container.
  • Recreate the changed Containers: We can also use compose to recreate the changed containers.
  • Variables in Compose file: Docker compose also supports variables in compose file. In this way we can create variations of our containers.
Read the full book at www.amazon.com
Posted in Docker, Docker Interview Questions

Leave a Reply

Your email address will not be published. Required fields are marked *