Dies ist eine alte Version des Dokuments!
Install first google-go-lang and then docker (1.6.0) from slackbuilds. Then, according to slackbuild package:
groupadd -r -g 281 docker # Create the docker group. Groupnumber seems preset usermod -a -G docker <your_username> # Add user(s) to the docker group
To have the docker daemon start and stop with your host,
add to /etc/rc.d/rc.local:
if [ -x /etc/rc.d/rc.docker ]; then /etc/rc.d/rc.docker start fi
and to /etc/rc.d/rc.local_shutdown (creating it if needed):
if [ -x /etc/rc.d/rc.docker ]; then /etc/rc.d/rc.docker stop fi
Docker client and server share the same binary.
Config file for the daemon is /etc/default/docker. This file is sourced by /etc/rc.d/rc.docker.
Take care, the latter provides a the configuration variable DOCKER_OPTS as well. But any options there are overwritten if /etc/default/docker exists.
Default data (images usw) directory is /var/lib/docker. This can be changed with –graph option in /etc/default/docker.
There is also /etc/docker/. Purpose yet unknown.