Docker Community Forums

Share and learn in the Docker community.

Application's Windows service is not installing in windows docker container after MSI installation finishes

Hi, I have a MSI based application which has a windows service and at the time of installation completes the behavior should be that “services should register in service registry” and while starting it should start.

But in docker container service is not getting register and i also try to register the service manually then service is getting registered but then it is not starting. I have encountered following error:

error : Start-Service : Service ‘Netlogon (Netlogon)’ cannot be started due to the following error: Cannot open Netlogon service on computer ‘.’. At line:1 char:1 + Start-Service Netlogon + ~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : OpenError: (System.ServiceProcess.ServiceController:ServiceController) [Start-Service], ServiceCommandException + FullyQualifiedErrorId : CouldNotStartService,Microsoft.PowerShell.Commands.StartServiceCommand

where Netlogon is service name .

Please help me,i am new in docker.