nlp0/chrony

By nlp0

Updated about 15 hours ago

Chrony timeserver

Image
Networking
Web servers
2

10K+

nlp0/chrony repository overview

chrony

github

Chrony is an implementation of the Network Time Protocol (NTP).

Run in console.

docker run -d --restart unless-stopped \
-e NTP_SERVERS="ntp0.ntp-servers.net, ntp1.ntp-servers.net, ntp2.ntp-servers.net" \
-e NTP_POOLS="0.pool.ntp.org, 1.pool.ntp.org, 2.pool.ntp.org, 3.pool.ntp.org" \
-e ALLOW_CIDR="192.168.0.0/24, 10.10.0.0/24" \ 
nlp0/chrony:latest

docker-compose.yml

---
services:
  chrony:
    image: nlp0/chrony:latest
    restart: unless-stopped
    environment:
      NTP_SERVERS: "ntp0.ntp-servers.net, ntp1.ntp-servers.net, ntp2.ntp-servers.net"
      NTP_POOLS: "0.pool.ntp.org, 1.pool.ntp.org, 2.pool.ntp.org, 3.pool.ntp.org"
      ALLOW_CIDR: "192.168.0.0/24, 10.10.0.0/24"
    ports:
     - 123:123/udp

Tag summary

Content type

Image

Digest

sha256:e87cde58b

Size

4.7 MB

Last updated

about 15 hours ago

docker pull nlp0/chrony