I ran into a weird situation when the time counted by the application running in docker is a lot faster that the time elapsed in the host system running docker. And we're not talking about some milliseconds, but straight 7 times faster.
Here's the last line in the log that tracks the application running in docker:
07:03.06969> Time: 00:58.84
The time on the right (58 seconds) is the time counted by the application running in docker (Blender in this instance) and the time at the start (7 minutes) is the time counted by the script that launched docker and monitored the output of the application running in docker.
The time drift was gradual, we're not talking about a big jump, but the time drifted gradually, as the output lines were being logged.
This was not an isolated incident, it was happening randomly on multiple different servers running the exact same setup (AWS instances). And, of course, some instances behaved absolutely normal, with zero time drift. These are AWS instances where we get the entire server (though still virtualized, not bare metal), so I assume stolen time can be excluded here.
So my question is, what may cause this time drift? And what can I do to prevent it from happening, or at least mitigate the issue?
Thanks!