Benutzer-Werkzeuge

Webseiten-Werkzeuge


becki:linux:docker

Dies ist eine alte Version des Dokuments!


Inhaltsverzeichnis

Docker

Setup

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.

Docker works fine in Slackware 14.2 with Generic Kernel not with Huge Kernel.1). Made the same experience — 2017-02-02

Config

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.

Usage

FIXME

Cookies helfen bei der Bereitstellung von Inhalten. Diese Website verwendet Cookies. Mit der Nutzung der Website erklären Sie sich damit einverstanden, dass Cookies auf Ihrem Computer gespeichert werden. Außerdem bestätigen Sie, dass Sie unsere Datenschutzerklärung gelesen und verstanden haben. Wenn Sie nicht einverstanden sind, verlassen Sie die Website. Weitere Information
becki/linux/docker.1486126512.txt.gz · Zuletzt geändert: 2017-02-03 12:55 von becki

Impressum - Datenschutzerklärung