Hi there,
I have linux containers deployed on my windows machine.
This containers have .net core services inside of them.
I have a container with a service A that has special access to the docker hosts.
The job of this service A is to stop/start (or restart) the other services if they stop responding.
Lets say the service B stops responding.
I can detect that this service is not responding, so I stop the container of the service B.
Then I want to start the service B, so I start the container B after a few seconds, but it does not start the service B.
I tried to use restart without any luck.
I also tried to run the Bash command docker exec -it {containerName} ‘dotnet ./{serviceDll}’ inside of he container B but it does not seem to work.
Anyone has any ideas that could help me?
Thanks