forked from TrueCloudLab/distribution
832cb9d52c
Updating for tooling tests Updating with the new sed scripts to protect links updating with new image Updating with comments Signed-off-by: Mary Anthony <mary@docker.com>
42 lines
1.4 KiB
Markdown
42 lines
1.4 KiB
Markdown
<!--[metadata]>
|
|
+++
|
|
title = "Ceph RADOS storage driver"
|
|
description = "Explains how to use the Ceph RADOS storage driver"
|
|
keywords = ["registry, service, driver, images, storage, ceph, rados"]
|
|
[menu.main]
|
|
parent="smn_registry_drivers"
|
|
+++
|
|
<![end-metadata]-->
|
|
|
|
|
|
# Ceph RADOS storage driver
|
|
|
|
An implementation of the `storagedriver.StorageDriver` interface which uses
|
|
[Ceph RADOS Object Storage][rados] for storage backend.
|
|
|
|
## Parameters
|
|
|
|
The following parameters must be used to configure the storage driver
|
|
(case-sensitive):
|
|
|
|
* `poolname`: Name of the Ceph pool
|
|
* `username` *optional*: The user to connect as (i.e. admin, not client.admin)
|
|
* `chunksize` *optional*: Size of the written RADOS objects. Default value is
|
|
4MB (4194304).
|
|
|
|
This drivers loads the [Ceph client configuration][rados-config] from the
|
|
following regular paths (the first found is used):
|
|
|
|
* `$CEPH_CONF` (environment variable)
|
|
* `/etc/ceph/ceph.conf`
|
|
* `~/.ceph/config`
|
|
* `ceph.conf` (in the current working directory)
|
|
|
|
## Developing
|
|
|
|
To include this driver when building Docker Distribution, use the build tag
|
|
`include_rados`. Please see the [building documentation][building] for details.
|
|
|
|
[rados]: http://ceph.com/docs/master/rados/
|
|
[rados-config]: http://ceph.com/docs/master/rados/configuration/ceph-conf/
|
|
[building]: https://github.com/docker/distribution/blob/master/docs/building.md#optional-build-tags
|