mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-11-02 11:27:19 +00:00
Add openntpd container
Added to Docker example as Swarm mode likes time sync. Note uses pool.ntp.org at present, on some providers it should use a different source. Constraints not enabled as they seem to have an issue; possibly trying to set before network is up. Signed-off-by: Justin Cormack <justin.cormack@docker.com>
This commit is contained in:
@@ -56,6 +56,15 @@ services:
|
||||
- CAP_NET_RAW
|
||||
net: host
|
||||
oomScoreAdj: -800
|
||||
- name: ntpd
|
||||
image: "mobylinux/openntpd:a570316d7fc49ca1daa29bd945499f4963d227af"
|
||||
capabilities:
|
||||
- CAP_SYS_TIME
|
||||
- CAP_SYS_NICE
|
||||
- CAP_SYS_CHROOT
|
||||
- CAP_SETUID
|
||||
- CAP_SETGID
|
||||
net: host
|
||||
- name: docker
|
||||
image: "mobylinux/docker-ce:741bf21513328f674e0cdcaa55492b0b75974e08"
|
||||
capabilities:
|
||||
|
||||
Reference in New Issue
Block a user