From: Florian Forster Date: Thu, 7 Feb 2019 07:46:01 +0000 (+0100) Subject: contrib/docker/: Separate CMD/ENTRYPOINT. X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=70686d01c986c39255e534fae0baa645227c3028;p=collectd.git contrib/docker/: Separate CMD/ENTRYPOINT. This allows users to pass different flags to collectd. --- diff --git a/contrib/docker/Dockerfile b/contrib/docker/Dockerfile index 0346c688..fcb46b13 100644 --- a/contrib/docker/Dockerfile +++ b/contrib/docker/Dockerfile @@ -21,4 +21,5 @@ COPY collectd.conf.d /etc/collectd/collectd.conf.d ENV LD_PRELOAD /usr/src/rootfs_prefix/rootfs_prefix.so -CMD [ "/usr/sbin/collectd", "-f"] +ENTRYPOINT ["/usr/sbin/collectd"] +CMD ["-f"]