LoginSignup
0
0

More than 5 years have passed since last update.

Synchronize time in a Docker container

Posted at

This article is translated from
https://qiita.com/kawasaki/items/e024f1bafe73f851a089 .


Conclusion

  • Use the time provided by the host who is responsible for synchronizing the right time

Why

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.

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0