server: try to fix openntpd
This commit is contained in:
parent
0aa8a1e9ff
commit
012f8a66b5
@ -219,6 +219,7 @@ services:
|
|||||||
|
|
||||||
- name: time
|
- name: time
|
||||||
image: linuxkit/openntpd:v0.8
|
image: linuxkit/openntpd:v0.8
|
||||||
|
command: ["/bin/sh", "-c", "sleep 10; /usr/sbin/ntpd -d -s" ]
|
||||||
net: /run/netns/dmz-time
|
net: /run/netns/dmz-time
|
||||||
capabilities:
|
capabilities:
|
||||||
- CAP_NET_BIND_SERVICE
|
- CAP_NET_BIND_SERVICE
|
||||||
@ -738,7 +739,7 @@ files:
|
|||||||
- path: etc/ntpd.conf
|
- path: etc/ntpd.conf
|
||||||
contents: |
|
contents: |
|
||||||
listen on *
|
listen on *
|
||||||
server 10.224.4.2
|
#server 10.224.4.2
|
||||||
server pool.ntp.org
|
server pool.ntp.org
|
||||||
mode: "0440"
|
mode: "0440"
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user