One question that some of the Docker Captains are discussing at the moment is how to set some environment variables eg. from the ENV or from docker run -e VAR=val to be used in IIS web apps.
As IIS is running as a Windows service it does not catch up these environments. What about using such ServiceMonitor.exe as ENTRYPOINT (or CMD) and set these envs as system environments before starting the Windows Service (IIS must be set to manual before I think).
One question that some of the Docker Captains are discussing at the moment is how to set some environment variables eg. from the
ENVor fromdocker run -e VAR=valto be used in IIS web apps.As IIS is running as a Windows service it does not catch up these environments. What about using such
ServiceMonitor.exeasENTRYPOINT(orCMD) and set these envs as system environments before starting the Windows Service (IIS must be set to manual before I think).