CentOS 7 Systemd based NTP server
Create ntp folder. Exp: "/opt/ntp/"
Create and edit "ntp.conf" file according to your needs and run it
docker run -d --cap-add SYS_TIME --restart unless-stopped --privileged -v /sys/fs/cgroup:/sys/fs/cgroup:ro -v /opt/ntp/ntp.conf:/etc/ntp.conf:ro -p 123:123/udp --name ntp ntp
Content type
Image
Digest
Size
115 MB
Last updated
over 7 years ago
docker pull ozmend/ntp