I have mounted an Azure Storage container to an Ubuntu 18.04 VM following official documentation. Then I updated docker compose file (docker-compose.override.yml) by following CVAT Computer Vision Annotation Tool official documentation for mounting share storage to CVAT docker and docker-compose documentation as follows:
version: '3.3'
services:
cvat:
environment:
CVAT_SHARE_URL: 'Mounted from /mnt/share host directory'
volumes:
- cvat_share:/home/django/share:ro
volumes:
cvat_share:
driver_opts:
type: "nfs"
device: ":/mnt/share"
o: "addr=10.40.0.199,nolock,soft,rw"
Then I install CVAT following installation guide. But we I try to run the CVAT docker using the command docker-compose up -d
, getting following error:
ERROR: for cvat Cannot create container for service cvat: failed to mount local volume: mount :/mnt/share:/opt/docker/volumes/cvat_cvat_share/_data, data: addr=10.40.0.199,nolock,soft: operation not supported
ERROR: Encountered errors while bringing up the project.
I tried different changes in the config file, but no luck. The CVAT documentation says you can mount the cloud storage as FUSE and use it later as share. But does it only support fuse protocol? How can I use a cloud storage mounted using NFS protocol in CVAT tool?