This problems happens in the fresh swarm.
I discovered that storage plugin doesn’t run and cloudstor plugin is disabled:
$ docker plugin ls
ID NAME DESCRIPTION ENABLED
12e884f385c5 cloudstor:azure cloud storage plugin for Docker false
$ docker ps -a
...
39e5a344bda5 docker4x/init-azure:18.03.0-ce-azure1 "/entry.sh" 27 minutes ago Exited (0) 26 minutes ago modest_wescoff
...
Some extracts from the logs:
$ docker logs modest_wescoff
CHANNEL=
EDITION_ADDON=
RESOURCE_MANAGER_ENDPOINT=
STORAGE_ENDPOINT=
ACTIVE_DIRECTORY_ENDPOINT=
SERVICE_MANAGEMENT_ENDPOINT=
...
Install cloudstor ...
Install storage plugin
No handlers could be found for logger "msrestazure.azure_active_directory"
Traceback (most recent call last):
File "/usr/bin/sakey.py", line 9, in <module>
from azure.storage.table import TableService, Entity
ImportError: No module named table
Error response from daemon: plugin cloudstor:azure already exists
How to get the storage plugin working and get logging to Storage account in Azure?