Hello,
I would like to add a CIFS type volume in my container.
I would like to put the share directly in the docker compose and avoid having to create a volume from the command line.
Exemple:
- Volum Name: Data
- Share: //192.168.1.10/Data
- Mountpath: /mnt/Share
- Username: ABCD
- Password: EFGH
- CIFS (version 2.0)
docker volume create
–driver local
–opt type=cifs
–opt device=//192.168.1.10/Data
–opt o=username=ABCD,password=EFGH,vers=2.0
–name Data