Issue to create a service in docker swarm with image that internally mounts cifs share

Did you declare your volumes like shown in this post: Store Volumes on a CIFS NAS - #6 by meyay ?

Furthermore, volumes are locally managed, and immutable by design. If the volume declaration in a compose file is changed, the change will not be propagated to the volume configuration on the node. It needs to be manually deleted, and then re-created by docker swarm.