Correct time inside container; ideally matches the host machine
Time inside is roughly 1 day behind
- the output of:
Moby Menu > Diagnose & Feedback on OSX
Docker for Mac: version: mac-v1.12.0-beta16.2
OS X: version 10.11.5 (build: 15F34)
failure: No error was detected
- host distribution and version ( OSX 10.10.x, OSX 10.11.x, Windows, etc )
Steps to reproduce the behavior
I'm not entirely sure how to reproduce the behavior; it may have something to do with putting the computer to sleep for some time and waking it up later.
- Inside an Alpine Linux container (FROM ruby:2.3-alpine in my case), look at the time
- Put laptop to sleep for 12+ hours?
- Wake up laptop and look at the time
In my case, it showed the time as
2016-06-23 22:15:52 -0400, and it should have been
2016-06-24 13:15:53 -0400.
NOTE: I was able to solve this by restarting the Docker beta.