Expected behavior
Can install and use cloudstor persistence plugin.
Actual behavior
$ docker plugin enable cloudstor:azure
Error response from daemon: dial unix /run/docker/plugins/c41eb09c411e731d4d9cf29767a628586dcb043df70a90f9b9ca1e3fc66bcf04/cloudstor.sock: connect: no such file or directory
Additional Information
$ docker plugin inspect cloudstor:azure
[
{
“Config”: {
“Args”: {
“Description”: “”,
“Name”: “”,
“Settable”: null,
“Value”: null
},
“Description”: “cloud storage plugin for Docker”,
“DockerVersion”: “17.07.0-ce”,
“Documentation”: “Use Docker Engine plugins | Docker Docs”,
“Entrypoint”: [
“/cloudstor”
],
“Env”: [
{
“Description”: “”,
“Name”: “CLOUD_PLATFORM”,
“Settable”: [
“value”
],
“Value”: “”
},
{
“Description”: “”,
“Name”: “AZURE_STORAGE_ACCOUNT”,
“Settable”: [
“value”
],
“Value”: “”
},
{
“Description”: “”,
“Name”: “AZURE_STORAGE_ACCOUNT_KEY”,
“Settable”: [
“value”
],
“Value”: “”
},
{
“Description”: “”,
“Name”: “AZURE_STORAGE_ENDPOINT”,
“Settable”: [
“value”
],
“Value”: “”
},
{
“Description”: “”,
“Name”: “EFS_ID_REGULAR”,
“Settable”: [
“value”
],
“Value”: “”
},
{
“Description”: “”,
“Name”: “EFS_ID_MAXIO”,
“Settable”: [
“value”
],
“Value”: “”
},
{
“Description”: “”,
“Name”: “EFS_SUPPORTED”,
“Settable”: [
“value”
],
“Value”: “”
},
{
“Description”: “”,
“Name”: “AWS_REGION”,
“Settable”: [
“value”
],
“Value”: “”
},
{
“Description”: “”,
“Name”: “AWS_STACK_ID”,
“Settable”: [
“value”
],
“Value”: “”
},
{
“Description”: “”,
“Name”: “DEBUG”,
“Settable”: [
“value”
],
“Value”: “”
}
],
“Interface”: {
“Socket”: “cloudstor.sock”,
“Types”: [
“docker.volumedriver/1.0”
]
},
“IpcHost”: false,
“Linux”: {
“AllowAllDevices”: true,
“Capabilities”: [
“CAP_DAC_OVERRIDE”,
“CAP_DAC_READ_SEARCH”,
“CAP_SYS_ADMIN”
],
“Devices”: null
},
“Mounts”: [
{
“Description”: “”,
“Destination”: “/dev”,
“Name”: “”,
“Options”: [
“rbind”
],
“Settable”: null,
“Source”: “/dev”,
“Type”: “bind”
}
],
“Network”: {
“Type”: “host”
},
“PidHost”: false,
“PropagatedMount”: “/mnt”,
“User”: {},
“WorkDir”: “”,
“rootfs”: {
“diff_ids”: [
“sha256:45cec2ae9468eb3693059f4bf75640c62af6d5348f02fcbe308374ef082fd572”
],
“type”: “layers”
}
},
“Enabled”: false,
“Id”: “c41eb09c411e731d4d9cf29767a628586dcb043df70a90f9b9ca1e3fc66bcf04”,
“Name”: “cloudstor:azure”,
“PluginReference”: “docker.io/docker4x/cloudstor:17.06.2-ee-3-azure1”,
“Settings”: {
“Args”: ,
“Devices”: ,
“Env”: [
“CLOUD_PLATFORM=AZURE”,
“AZURE_STORAGE_ACCOUNT=SA”,
“AZURE_STORAGE_ACCOUNT_KEY=SA-KEY”,
“AZURE_STORAGE_ENDPOINT=”,
“EFS_ID_REGULAR=”,
“EFS_ID_MAXIO=”,
“EFS_SUPPORTED=”,
“AWS_REGION=”,
“AWS_STACK_ID=”,
“DEBUG=1”
],
“Mounts”: [
{
“Description”: “”,
“Destination”: “/dev”,
“Name”: “”,
“Options”: [
“rbind”
],
“Settable”: null,
“Source”: “/dev”,
“Type”: “bind”
}
]
}
}
]
$ docker version
Client:
Version: 17.06.2-ee-3
API version: 1.30
Go version: go1.8.3
Git commit: 915cbaa
Built: Thu Sep 21 22:58:40 2017
OS/Arch: linux/amd64
Server:
Version: 17.06.2-ee-3
API version: 1.30 (minimum version 1.12)
Go version: go1.8.3
Git commit: 915cbaa
Built: Thu Sep 21 22:59:59 2017
OS/Arch: linux/amd64
Experimental: false
Steps to reproduce the behavior
- Export storage account and storage account key variables.
- Install cloudstore plugin.
$ docker plugin install --alias cloudstor:azure --grant-all-permissions docker4x/cloudstor:17.06.2-ee-3-azure1 CLOUD_PLATFORM=AZURE AZURE_STORAGE_ACCOUNT_KEY=“$SA_KEY” AZURE_STORAGE_ACCOUNT=“$SA” DEBUG=1