DOCKER-STORAGE-SETUP(1)

NAME

docker-storage-setup - Grows the root filesystem and sets up LVM volumes for docker metadata and data.

SYNOPSIS

docker-storage-setup

OPTIONS

None.

EXAMPLES
Run docker-storage-setup after setting up your configuration in /etc/sysconfig/docker-storage-setup. Supported options for the configuration file: DEVS: A quoted, space-separated list of devices to be used. This
      currently expects the devices to be unpartitioned drives. If
      "VG" is not specified, then use of the root disk's extra space
      is implied. VG: The volume group to use for docker storage. Defaults to the
      volume group where the root filesystem resides. If VG is
      specified and the volume group does not exist, it will be
      created (which requires that "DEVS" be nonempty, since we don't
      currently support putting a second partition on the root disk). SETUP_LVM_THIN_POOL:
      If set to "yes", then an LVM thin pool will be setup which
      is passed to docker.
      lvm2 version should be same or higher than lvm2-2.02.112 for lvm
      thin pool functionality to work properly. The options below should be specified as values acceptable to 'lvextend -L': ROOT_SIZE: The size to which the root filesystem should be grown. DATA_SIZE: The desired size for the docker data LV. Defaults to using
           all free space in the VG after the root LV and docker
           metadata LV have been allocated/grown. Sample A simple, sample /etc/sysconfig/docker-storage-setup: DEVS=/dev/vdb DATA_SIZE=8GB

HISTORY

November 2014, originally compiled by Joe Brockmeier <jzb@redhat.com> based on comments in Andy Grimm's <agrimm@redhat.com> script.

AUTHORS
Joe Brockmeier Andy Grimm