mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-12-25 11:22:32 +00:00
Added to Docker example as Swarm mode likes time sync. Note uses pool.ntp.org at present, on some providers it should use a different source. Constraints not enabled as they seem to have an issue; possibly trying to set before network is up. Signed-off-by: Justin Cormack <justin.cormack@docker.com>
22 lines
593 B
Plaintext
22 lines
593 B
Plaintext
# $OpenBSD: ntpd.conf,v 1.3 2015/05/18 11:10:03 dtucker Exp $
|
|
# sample ntpd configuration file, see ntpd.conf(5)
|
|
|
|
# Addresses to listen on (ntpd does not listen by default)
|
|
#listen on *
|
|
|
|
# sync to a single server
|
|
#server ntp.example.org
|
|
|
|
# use a random selection of NTP Pool Time Servers
|
|
# see http://support.ntp.org/bin/view/Servers/NTPPoolServers
|
|
servers pool.ntp.org
|
|
|
|
# use a specific local timedelta sensor (radio clock, etc)
|
|
#sensor nmea0
|
|
|
|
# use all detected timedelta sensors
|
|
#sensor *
|
|
|
|
# get the time constraint from a well-known HTTPS site
|
|
# constraints from "https://www.google.com/"
|