If I have a docker volume defined in my compose file such as
volumes:
nas_mount:
driver: local
name: nas_mount
driver_opts:
type: cifs
device: //192.168.0.10/data
Is there a way to use it in a service, but only a subpath of the volume root if that makes sense. e.g.
service:
image: some.image/image
container_name: sabnzbd
volumes:
- nas_mount/somesubfolder:/data #optional
- nas_mount/anotherfolder/somesubfolder2:/data2 #optional