Docker – mount cifs volume without subfolder

  cifs, docker, docker-volume, samba, smb

Is it possible mount CIFS volume root folder?

Something like this:

my-storage:
        driver: local
        driver_opts:
            type: cifs
            device: '//IP-address'
            o: 'file_mode=0600,dir_mode=0755,username=admin,password=pass'

I only managed to mount a subfolder like //IP-address/some-dir

Source: Docker Questions

LEAVE A COMMENT