Closed sixeyed closed 7 years ago
Or is a tool like the microsoft/iis ServiceMonitor.exe a thing? https://github.com/Microsoft/iis-docker/issues/1 OK, it still isn't open sourced, but I like the idea of a generic Windows Service <-> CMD helper, probably monitoring multiple services (and logging the event log of the service to stdout/stderr).
Yes, I was thinking that too. I guess Wait-Service will have to do until ServiceMonitor.exe gets OS though, so it won't have the logging piece.
For any features which run as Windows Services, add a
Start-Service
command in a bootstrap file, and set the bootstrap as the Dockerfile'sCMD
instruction.