commit docker for openSUSE:Factory
Hello community, here is the log from the commit of package docker for openSUSE:Factory checked in at 2014-09-12 10:03:38 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/docker (Old) and /work/SRC/openSUSE:Factory/.docker.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "docker" Changes: -------- --- /work/SRC/openSUSE:Factory/docker/docker.changes 2014-09-01 16:59:55.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.docker.new/docker.changes 2014-09-12 10:04:04.000000000 +0200 @@ -1,0 +2,5 @@ +Thu Sep 4 15:41:39 UTC 2014 - fcastelli@suse.com + +- Updates to SUSE's readme file. + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ README_SUSE.md ++++++ --- /var/tmp/diff_new_pack.AGLZft/_old 2014-09-12 10:04:06.000000000 +0200 +++ /var/tmp/diff_new_pack.AGLZft/_new 2014-09-12 10:04:06.000000000 +0200 @@ -106,19 +106,40 @@ ## Storage drivers -Docker images are made by series of stacked layers. The recommended driver is -DeviceMapper one, which is also the default choice. +Docker supports different storage drivers: -The Docker packages ships also an experimental BTRFS driver. To use this driver -Docker daemon must run on a BTRFS partition already prepared by the host system. - -To use the experimental BTRFS driver the Docker daemon must be started with this -command: + * `vfs`: this driver is automatically used when the Docker host filesystem + does not support copy-on-write. This is a simple driver which does not offer + some of the advantages of Docker (like sharing layers, more on that in the + next sections). It is highly reliable but also slow. + * `devicemapper`: this driver relies on the device-mapper thin provisioning + module. It supports copy-on-write, hence it offers all the advantages of + Docker. + * `btrfs`: this driver relies on Btrfs to provide all the features required + by Docker. To use this driver the `/var/lib/docker` directory must be on a + btrfs filesystem. + * `AUFS`: this driver relies on AUFS union filesystem. Neither the upstream + kernel nor the SUSE one supports this filesystem. Hence the AUFS driver is + not built into the SUSE Docker package. + +It is possible to specify which driver to use by changing the value of the +`DOCKER_OPTS` variable defined inside of the `/etc/sysconfig/docker` file. +This can be done either manually or using &yast; by browsing to: + * System + * /etc/sysconfig Editor + * System + * Management + * DOCKER_OPTS +menu and entering the `-s storage_driver` string. +For example, to force the usage of the `devicemapper` driver +enter the following text: ``` -docker -d -s btrfs +DOCKER_OPTS="-s devicemapper ``` +It is recommended to have `/var/lib/docker` mounted on a different filesystem +to not affect the Docker host OS in case of a filesystem corruption. # Setting up a Docker host -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org
participants (1)
-
root@hilbert.suse.de