How to make sure docker's time syncs with that of the host?

前端 未结 17 1527
北恋
北恋 2020-12-02 07:10

I have dockers running on Linode servers. At times, I see that the time is not right on the dockers. Currently I have changed the run script in every docker to include the f

17条回答
  •  借酒劲吻你
    2020-12-02 07:43

    I've discovered that if your computer goes to sleep then the docker container goes out of sync.

    https://forums.docker.com/t/time-in-container-is-out-of-sync/16566

    I have made a post about it here Certificate always expires 5 days ago in Docker

提交回复
热议问题