diff --git a/zabbix-agent2/Dockerfile b/zabbix-agent2/Dockerfile index c951f6a..81d5f67 100644 --- a/zabbix-agent2/Dockerfile +++ b/zabbix-agent2/Dockerfile @@ -31,7 +31,6 @@ RUN set -eux && \ coreutils \ smartmontools \ sudo \ - tini \ iputils" && \ apk add \ --no-cache \ @@ -81,5 +80,4 @@ WORKDIR /var/lib/zabbix USER 1997 # CMD ["/usr/sbin/zabbix_agent2", "--foreground", "-c", "/config/zabbix_agent2.conf"] -# CMD [ "/run.sh" ] -ENTRYPOINT [ "/sbin/tini", "--", "/run.sh"] \ No newline at end of file +ENTRYPOINT [ "/run.sh" ] diff --git a/zabbix-agent2/config.yaml b/zabbix-agent2/config.yaml index 56d8a88..d50320d 100644 --- a/zabbix-agent2/config.yaml +++ b/zabbix-agent2/config.yaml @@ -19,6 +19,7 @@ host_pid: true host_network: true docker_api: true advanced: true +legacy: true map: - addon_config:rw ports: