What type of applications- Stateless or Stateful are more suitable for Docker Container?

0

It is preferable to create Statelessapplication for Docker Container.

We can create a container out of our application and take out the configurable state parameters from the application.

Now we can run the same container in Production as well as QA environments with different parameters.

This helps in reusing thesameImagein different scenarios. Also, a stateless application is much easier to scale with Docker Containers than a stateful application.

Devops docker
asked Apr 30, 2023 at 22:57
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.