Docker for Windows 10 time out of sync

I am having a weird problem and wonder if anyone else is seeing it. I am trying to push stuff to AWS using the AWS SDK inside an alpine linux docker container, but I sometimes get errors like this
"InvalidSignatureException: Signature expired: 20160902T042102Z is now earlier than 20160902T165725Z (20160902T170225Z - 5 min.)"

If I right click on the docker icon and click exit then restart docker and open the container again the error goes away and does not happen again all day. Then in the morning I get the error again. This has happened twice now so it may be a fluke, I will leave docker running over the weekend and check again on Tuesday, Monday is a holiday.

It seems to me that there is some drift in the clock on docker and after running for 24hrs it gets far enough off that AWS starts to complain. It will be interesting to see how far it gets off after a full weekend.

I am running Windows 10 enterprise version 1511, build 10586.164 and docker version 1.12.0 build 8eab29e.

1 Like

Thanks for reporting, others have reported this and we’re trying to track down the problem.

Just as an update I ran a date command on my docker instance this morning and it printed out “Sat Sep 3 07:13:01 UTC 2016” after restarting docker it now reads “Tue Sep 6 15:07:26 UTC 2016”.

If there is anything more you need from me to help diagnose this I would be happy to help.

Same here, I think it’s related to Hyper-V itself when the machine goes in sleep mode.