Write a bootstrap startup command in the Dockerfile
sixeyed opened this issue · comments
Elton Stoneman commented
For any features which run as Windows Services, add a Start-Service
command in a bootstrap file, and set the bootstrap as the Dockerfile's CMD
instruction.
Stefan Scherer commented
Or is a tool like the microsoft/iis ServiceMonitor.exe a thing? microsoft/iis-docker#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).
Elton Stoneman commented
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.