Hello,
When running a container based on microsoft/dotnet-framework there is a time difference between the docker host and the container itself.
I have tried to enable and run w32time service in the container but I always get an error that the service cannot start.
C:\Luna\Server>sc config w32time start=auto
[SC] ChangeServiceConfig SUCCESS
C:\Luna\Server>net start w32time
The Windows Time service is starting.
The Windows Time service could not be started.
A system error has occurred.
System error 5 has occurred.
Access is denied..
I am running Docker for Windows (Windows containers) in a Windows-10-Pro-64 bit OS.
If I run a container based on microsoft/windowsservercore:latest there is no time difference at all.
Any ideas?
Thanks .