Docker Community Forums

Share and learn in the Docker community.

Container clock is out of sync and ahead of system clock


(Yamackurtulus) #1

I am running Docker on my fully updated Windows 10. When I start containers, their time is ahead of local time by around 6 hours and 19 minutes and some seconds. I know that this is not a timezone problem due to “19 minutes” and container timezone is GMT + 0 (which should be behind local time by 3 hrs)

What is confusing is that the same images run normally, in sync (actually differ by 3-4 seconds) in my build server which is a WS2016 pre-1709 update.

What could be the problem and how can I fix it?

On another note, I need to keep the containers in sync, especially when I scale my app to multiple nodes. What is the recommended way to achieve such synchronisation?