system/docker: Disable rc script by default, update README.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Willy Sudiarto Raharjo 2017-05-20 15:02:31 +07:00
parent 8494a72c57
commit ebd90f22dc
2 changed files with 2 additions and 2 deletions

View File

@ -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 <your_username>
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:

View File

@ -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