What are the main features of Docker-compose?

0

Some ofthe main features of docker-compose-areas follows:

  1. Multiple environments on the same Host: We can use it to create multiple environments on the same host server.
  2. Preserve Volume Data on Container Creation: Docker Compose also preserves the volume data when we create a container.
  3. Recreate the changed Containers: We can also use compose to recreate the changed containers.
  4. Variables in Compose file: Docker composes also supports variables in compose file. In this way, we can create variations of our containers.
Devops docker
asked Apr 30, 2023 at 20:31
Sign in to add a comment

0 Answers

0
📝 No answers yet!

Be the first to answer this interview question.

Your Answer

Sign in to post your answer and help the community.