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

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.