Chrony is a versatile implementation of the Network Time Protocol (NTP).
Learn more about Chrony: https://chrony.tuxfamily.org/
This Docker container makes it easy to get an instance of Chrony up and running.
Based on Official Ubuntu Docker Image with some minor hack:
- Packaging by Packer Docker builder and Ansible provisioner in single layer
- Handle
ENTRYPOINT
with catatonit
Start Chrony:
# Pull latest image
docker pull alvistack/chrony-4.5
# Run as detach
docker run \
-itd \
--cap-add SYS_TIME \
--name chrony \
--publish 123:123/udp \
alvistack/chrony-4.5
# Run with custom /etc/chrony/chrony.conf
docker run \
-itd \
--cap-add SYS_TIME \
--name chrony \
--publish 123:123/udp \
--volume /etc/chrony/chrony.conf:/etc/chrony/chrony.conf \
alvistack/chrony-4.5
Success. Chrony is now available on port 123/udp
.
Release tags could be find from GitHub Release of this repository. Thus using these tags will ensure you are running the most up to date stable version of this image.
Version tags ended with .0.0
are rolling release rebuild by GitLab
pipeline in
weekly basis. Thus using these tags will ensure you are running the
latest packages provided by the base image project.
- Code released under Apache License 2.0
- Docs released under CC BY 4.0
- Wong Hoi Sing Edison