A Chrony NTP implementation in docker, which you can use for all your NTP needs.
276
If you are interested, there is also a git repository that you can use to build your own container:
github.com/whadafunk/contimer.git
The base distro used for this is Alpine Linux. When I started this I wanted to go for ntpd, but it seems that ntpd is not so much supported anymore by the popular distros, and Chrony has better performance overall. So there it is, NTP with chrony.
docker container run -d --rm --network bridge --name ntp -p 123:123/udp contimer
I have exposed port 123/udp and port 323/udp in the Dockerfile, but that might not help you so much because if you are using -P, docker will chose random high ports on the local host
docker container run -d --rm --network bridge --name ntp2 -P routerology/ntp
Content type
Image
Digest
sha256:35ff2fb5a…
Size
7.7 MB
Last updated
about 4 years ago
docker pull routerology/ntp