From ebd90f22dc6bcbb7d7728422b5962dfad3a737f2 Mon Sep 17 00:00:00 2001 From: Willy Sudiarto Raharjo Date: Sat, 20 May 2017 15:02:31 +0700 Subject: system/docker: Disable rc script by default, update README. Signed-off-by: Willy Sudiarto Raharjo --- system/docker/README | 2 +- system/docker/docker.SlackBuild | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'system/docker') diff --git a/system/docker/README b/system/docker/README index 7ffe7695f8..8fd5996888 100644 --- a/system/docker/README +++ b/system/docker/README @@ -9,7 +9,7 @@ To use docker as a limited user, add your user to the 'docker' group: # groupadd -r -g 281 docker # usermod -a -G docker -This will require logging out and back in. +This will require logging out and back in and also restart docker daemon. To have the docker daemon start and stop with your host, add to /etc/rc.d/rc.local: diff --git a/system/docker/docker.SlackBuild b/system/docker/docker.SlackBuild index 3d82844c97..19cb2acf1b 100644 --- a/system/docker/docker.SlackBuild +++ b/system/docker/docker.SlackBuild @@ -83,7 +83,7 @@ install -D -m 0644 contrib/completion/fish/docker.fish $PKG/usr/share/fish/vendo install -D -m 0644 $CWD/config/docker.default $PKG/etc/default/docker.new install -D -m 0644 $CWD/config/docker.logrotate $PKG/etc/logrotate.d/docker.new -install -D -m 0755 $CWD/config/rc.docker $PKG/etc/rc.d/rc.docker.new +install -D -m 0644 $CWD/config/rc.docker $PKG/etc/rc.d/rc.docker.new # Install udev rules. install -D -m 0644 contrib/udev/80-docker.rules $PKG/lib/udev/rules.d/80-docker.rules -- cgit v1.2.3