This form allows you to create a new Docker volume or one or more hosts.
The fields on the form are :
- Volume name
- A unique name for this volume.
- Host systems
- The Docker hosts that this volume will be created on. Note that unless the source directory is already shared via NFS, containers created on different hosts will not see the same files.
- Driver
- The volume driver determines how the underlying storage is accessed. By default Docker only supports the Local files driver, but others can be installed. See https://docs.docker.com/engine/extend/plugins/ for a list of available driver plugins.
If Default is selected, Cloudmin will use the Local files driver unless you select a host directory below - in which case, it will use Persistent local files.
- Source
- By default (unless a custom driver is chosen), Docker will create a directory on the host for each new volume, typically under /var/lib/docker. To specify an alternate directory, select Path on host system and enter it here.
Note that this will only work if the local-persist plugin has been installed. Files and installation instructions are available at https://github.com/CWSpear/local-persist.
- Custom volume options
- Each driver supports a number of options that can be used to control where files are stored, how large the volume is, and more. This table allows you to enter options that are not currently supported by the Cloudmin UI.