teamatldocker / jira

Dockerized Atlassian Jira
https://hub.docker.com/r/teamatldocker/jira/
MIT License
437 stars 223 forks source link

Feature request: Sync clock to NTP server #118

Closed jhult closed 5 years ago

jhult commented 5 years ago

Sync clock inside Docker container to NTP server (of a user's choice).

We could possibly using Chrony.

blacklabelops commented 5 years ago

Time is the responsibility of the docker host. There is no sane way to set time inside the docker container.

See here: https://stackoverflow.com/questions/24551592/how-to-make-sure-dockers-time-syncs-with-that-of-the-host

No sane way, using a lib to intercept all system call and programs use to retrieve the current time and date: https://serverfault.com/questions/824631/how-to-set-system-time-dynamically-in-a-docker-container

jhult commented 5 years ago

Then this can be closed.