{"repo":"cturra/docker-ntp","free":true,"listed":false,"github":"https://github.com/cturra/docker-ntp","clone":"git clone https://github.com/cturra/docker-ntp.git","description":"🕒 Chrony NTP Server running in a Docker container (without the priviledged flag)","language":"Shell","stars":440,"topics":["docker","ntp","alpine-linux","ntpd","chronyd","ntp-server","chrony"],"license":"Apache-2.0","category":"deployment-docker-iac","readme_excerpt":"About this container This container runs chrony on Alpine Linux. chrony is a versatile implementation of the Network Time Protocol (NTP). It can synchronise the system clock with NTP servers, reference clocks (e.g. GPS receiver), and manual input using wristwatch and keyboard. It can also operate as an NTPv4 (RFC 5905) server and peer to provide a time service to other computers in the network. Supported Architectures Architectures officially supported by this Docker container. Simply pulling this container from Docker Hub should retrieve the correct image for your architecture. How to Run this container With the Docker CLI Pull and run -- it's this simple. With Docker Compose Using the docker-compose.yml file included in this git repo, you can build the container yourself (should you choose to). Note: this docker-compose files uses the 3.9 compose format, which requires Docker Engine release 19.03.0+ With Docker Swarm (These instructions assume you already have a swarm) From a Local command line Using the vars file in this git repo, you can update any of the variables to reflect your environment. Once updated, simply execute the build then run scripts. Configure NTP Servers By default, this container uses CloudFlare's time server (time.cloudflare.com). If you'd like to use one or more different NTP server(s), you can pass this container an NTP SERVERS environment variable. This can be done by updating the vars, docker-compose.yml files or manually passing --env=NTP SERVERS=\"","default_branch":null,"files":null,"tree":[],"storefront":"/r/cturra","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/cturra/docker-ntp/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}