/docker-chrony

Docker Image Packaging for Chrony

Primary LanguageJinjaApache License 2.0Apache-2.0

Docker Image Packaging for Chrony

AlviStack

GitLab pipeline status GitHub tag GitHub license Docker Pulls

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

Learn more about Chrony: https://chrony.tuxfamily.org/

Supported Tags and Respective Packer Template Links

Overview

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

Quick Start

Start Chrony:

# Pull latest image
docker pull alvistack/chrony-4.2

# Run as detach
docker run \
    -itd \
    --cap-add SYS_TIME \
    --name chrony \
    --publish 123:123/udp \
    alvistack/chrony-4.2

# 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.2

Success. Chrony is now available on port 123/udp.

Versioning

YYYYMMDD.Y.Z

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.

YYYYMMDD.0.0

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.

License

Author Information