This article is translated from
- Use the time provided by the host who is responsible for synchronizing the right time
It is no doubt important to keep the right time in your service. So, let’s introduce a NPT server in your container…. WAIT!
If you do it, it’s against the best practice of running just one process for one Docker container. Time is one of basic functions provided by a host and you should depend on it. In a cloud service, the provider will take care of it, in contrast to the environment under your control in which you should maintain the right time by yourself.