-1

Can I deploy both an asp.net Monolithic application and a Microservices application in the Same Docker Container? How to do it ?

1 Answers1

3

Usually, this is not advisable, the better way is deploying two docker containers and possibly sharing a network (or other resources) between them

However, it's still possible to achieve by using one of two ways:

  1. Make an entry point to be a script that starts all the required processes in one container.

  2. Use tools like supervisord

A much more detailed explanation can be found here.

Mark Bramnik
  • 39,963
  • 4
  • 57
  • 97