Mount network drive in Docker container

Hi guys,
I’m trying to mount a network drive as a volume in my container. The container is running as a linux container. My image is generated out of a c# application and I installed cifs-utils and nfs-common via the dockerfile.

In my compose I mount the volume like that:

    driver: local
      type: cifs 
      o: username=...,password=...
      device: //IP/testfolder

However I always get this error message:
"bad option; for several filesystems (e.g. nfs, cifs) you might need a /sbin/mount.<type> helper program."

Now I’m a little lost since I can’t figure out what I’m doing wrong…

Would be awesome if somebody could help me getting it to work :slightly_smiling_face:

Thanks in advance

Figured it out, needed to install cifs-utils in docker-machine and not in the container