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>
32 lines
1.5 KiB
Markdown
32 lines
1.5 KiB
Markdown
<!--[metadata]>
|
|
+++
|
|
title = "Microsoft Azure storage driver"
|
|
description = "Explains how to use the Azure storage drivers"
|
|
keywords = ["registry, service, driver, images, storage, azure"]
|
|
[menu.main]
|
|
parent="smn_registry_drivers"
|
|
+++
|
|
<![end-metadata]-->
|
|
|
|
|
|
# Microsoft Azure storage driver
|
|
|
|
An implementation of the `storagedriver.StorageDriver` interface which uses [Microsoft Azure Blob Storage][azure-blob-storage] for object storage.
|
|
|
|
## Parameters
|
|
|
|
The following parameters must be used to authenticate and configure the storage driver (case-sensitive):
|
|
|
|
* `accountname`: Name of the Azure Storage Account.
|
|
* `accountkey`: Primary or Secondary Key for the Storage Account.
|
|
* `container`: Name of the root storage container in which all registry data will be stored. Must comply the storage container name [requirements][create-container-api].
|
|
* `realm`: (optional) Domain name suffix for the Storage Service API endpoint. Defaults to `core.windows.net`. For example realm for "Azure in China" would be `core.chinacloudapi.cn` and realm for "Azure Government" would be `core.usgovcloudapi.net`.
|
|
|
|
## Developing
|
|
|
|
To include this driver when building Docker Distribution, use the build tag
|
|
`include_azure`. Please see the [building documentation][building] for details.
|
|
|
|
[azure-blob-storage]: http://azure.microsoft.com/en-us/services/storage/
|
|
[create-container-api]: https://msdn.microsoft.com/en-us/library/azure/dd179468.aspx
|
|
[building]: https://github.com/docker/distribution/blob/master/docs/building.md#optional-build-tags
|