0

I have a docker-compose.yml with this volume inside:

volumes:
  xxx_media:
    driver: local
    driver_opts:
      type: cifs
      device: //10.1.1.3\Company$$\xxx
      o: "user=service.it@xxx.it,password=$DISK_MOUNT_PASSWORD,rw"

When I test this locally with docker-compose it works fine, I can read and write to it but when i deploy the very same yml file as a stack to our server with docker swarm the mount works, I can see the volume but i cannot write to it, the system says permission denied.

Anyone else has experienced this ?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.