# Cannot enable cloudstor plugin

**URL:** <https://forums.docker.com/t/cannot-enable-cloudstor-plugin/38953>\
**Category:** General\
**Tags:** azure\
**Created:** [September 29, 2017, 4:54pm UTC](https://forums.docker.com/t/cannot-enable-cloudstor-plugin/38953 "2017-09-29T16:54:24Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![jojuva](https://sea3.discourse-cdn.com/docker/user_avatar/forums.docker.com/jojuva/32/16465_2.png) [@jojuva](https://forums.docker.com/u/jojuva)\
**Post date:** [September 29, 2017, 4:54pm UTC](https://forums.docker.com/t/cannot-enable-cloudstor-plugin/38953/1 "2017-09-29T16:54:24Z")

</div>

### 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](https://docs.docker.com/engine/extend/plugins/)”,  
“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](http://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

1. Export storage account and storage account key variables.
2. 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

---

<div class="post-metadata">

**Author:** ![jojuva](https://sea3.discourse-cdn.com/docker/user_avatar/forums.docker.com/jojuva/32/16465_2.png) [@jojuva](https://forums.docker.com/u/jojuva)\
**Post date:** [October 4, 2017, 9:09pm UTC](https://forums.docker.com/t/cannot-enable-cloudstor-plugin/38953/2 "2017-10-04T21:09:22Z")

</div>

Problem has been fixed!!

It appeared that we had a firewall between the nodes and azure files. Once created permit rules everything is fine and the cloudstore plugin is up and running.

---

<div class="post-metadata">

**Author:** ![feinstruktur](https://avatars.discourse-cdn.com/v4/letter/f/91b2a8/32.png) [@feinstruktur](https://forums.docker.com/u/feinstruktur)\
**Post date:** [August 1, 2018, 10:09am UTC](https://forums.docker.com/t/cannot-enable-cloudstor-plugin/38953/3 "2018-08-01T10:09:51Z")

</div>

Could you please share what firewall settings / what ports you had to open up?

---

<div class="post-metadata">

**Author:** ![alexvy86](https://sea3.discourse-cdn.com/docker/user_avatar/forums.docker.com/alexvy86/32/18230_2.png) [@alexvy86](https://forums.docker.com/u/alexvy86)\
**Post date:** [January 14, 2019, 4:51pm UTC](https://forums.docker.com/t/cannot-enable-cloudstor-plugin/38953/4 "2019-01-14T16:51:29Z")

</div>

In my case it wasn’t a firewall, but the storage account’s “Secure Transfer Enabled” setting which forces connections to be through https. Apparently the plugin (cloudstor:18.06.1-ce-azure1 in my case) connects through http, and if “Secure Transfer Enabled” is on in the storage account, you get this error about `cloudstor.sock`.
