From 70686d01c986c39255e534fae0baa645227c3028 Mon Sep 17 00:00:00 2001 From: Florian Forster Date: Thu, 7 Feb 2019 08:46:01 +0100 Subject: [PATCH] contrib/docker/: Separate CMD/ENTRYPOINT. This allows users to pass different flags to collectd. --- contrib/docker/Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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"] -- 2.11.0