From f19cef960eb6d6e0d779852af573eea24605de28 Mon Sep 17 00:00:00 2001 From: Secret Date: Sun, 3 Jul 2016 16:59:54 +0800 Subject: [PATCH] Dockerfile: use 'ENTRYPOINT' instead of 'CMD' use entrypoint, so people can specify flags to etcd without providing the binary. Signed-off-by: Secret --- Dockerfile-release | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile-release b/Dockerfile-release index d9ef07514fc..bf6d190e62e 100644 --- a/Dockerfile-release +++ b/Dockerfile-release @@ -6,5 +6,5 @@ RUN mkdir -p /var/etcd/ EXPOSE 2379 2380 -# Define default command. -CMD ["/usr/local/bin/etcd"] +# Define default entrypoint. +ENTRYPOINT ["/usr/local/bin/etcd"]