From 5043d6263af3daa965e27bb027cdb5db00d0611b Mon Sep 17 00:00:00 2001 From: Ting Yu Date: Thu, 29 Nov 2018 12:14:01 -0800 Subject: Add pidfile flag to store dockerd PID in /var/run/dockerd.pid Signed-off-by: Bruce Ashfield --- recipes-containers/docker/files/docker.init | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes-containers/docker/files/docker.init b/recipes-containers/docker/files/docker.init index 0aea8d01..b37ddc95 100644 --- a/recipes-containers/docker/files/docker.init +++ b/recipes-containers/docker/files/docker.init @@ -28,7 +28,7 @@ exec="/usr/bin/$prog" pidfile="/var/run/$prog.pid" lockfile="/var/lock/subsys/$prog" logfile="/var/log/$prog" -other_args="--registry-mirror=http://localhost:5000 --insecure-registry=http://localhost:5000 --raw-logs" +other_args="--pidfile $pidfile --registry-mirror=http://localhost:5000 --insecure-registry=http://localhost:5000 --raw-logs" [ -e /etc/sysconfig/$prog ] && . /etc/sysconfig/$prog -- cgit v1.2.3-54-g00ecf