Usage

and be aware of the above limitations and what kind of applications are suitable for storing data on Azure File Service.

In addition of previous limitation, Azure File doesn't support the samba unix extention. Without this extention, the filesystem will not support hard link (used by postgres WAL for example), and other unix flavored features.

Installation

Make sure you have a Storage Account on Azure (using Azure CLI or Portal).

The [:version] component in the above command is known as a Docker tag and its value follows the semantic versioning model. Omitting the version is equivalent to specifying the latest tag -- the most recent, stable version of a plug-in.

Example

Create volumes

Starting from Docker 1.9+ you can create volumes and containers as follows:

$ docker volume create --name my_volume -d jmaitrehenry/azurefile

This will create an Azure File Share named my_volume (if it does not exist).

You can specify additional volume options to customize the owner, group, and permissions for files and directories.
See the mount.cifs(8) man page more details on these options.