question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Can't mount data (share_path)

See original GitHub issue

Hi. I am newbie about docker usage. I have a dataset with lots of photos. I want to label them into CVAT. As mentioned in doc, I should mount my dataset into docker. I tried multiple things. I edit and rebuilded docker-compose.yml and docker-composo.override.yml but still docker can’t acces my dataset. My OS is Windows 10 with WSL2. In the example share_path, the path is /mnt/share. Do I need to give path of my dataset like C:/Users/Desktop/.../ or do I need to give path of WSL2 for windows?

Issue Analytics

  • State:open
  • Created 3 years ago
  • Comments:16 (1 by maintainers)

github_iconTop GitHub Comments

22reactions
ChrisCurrincommented, Oct 29, 2020

this seemed to work for me:

  1. create a volume
docker volume create --name cvat_share --opt type=none --opt device=/home/cbc/my_shared_folder --opt o=bind
  1. tell docker to search for a volume created externally
# docker-compose.override.yml
version: "3.3"

services:
  cvat:
    environment:
      CVAT_SHARE_URL: ""
    volumes:
      - cvat_share:/home/django/share:ro

volumes:
  cvat_share:
    external: true
2reactions
ipesanzcommented, Jun 9, 2021

In adition to @ChrisCurrin answer: Keep the cvat_share:/home/django/share:ro line as it is… as it’s referring to django and not your shared path

Read more comments on GitHub >

github_iconTop Results From Across the Web

Can't mount data (share_path) · Issue #2263 · opencv/cvat
Let's say my dataset is in path C:\Users\XX\Desktop\YY in windows enviroment. version: "2.3" services: cvat: environment: CVAT_SHARE_URL: " ...
Read more >
Can't mount encrypted shared folder - says to contact support
When attempting to mount an encrypted shared folder from the GUI, I enter the key, click OK, and I receive an error "Something...
Read more >
Cannot mount network drive but can navigate to it in Windows ...
I can't mount THE COMPUTER. I can only mount A FOLDER of the computer. So I was able to browse to \\192.168.1.100 but...
Read more >
I cannot mount shared folders via NFS. What should I do?
Check your NFS settings · Go to Control Panel > Shared Folder. · Select the shared folder and click Edit > NFS Permissions....
Read more >
[FIXED] Unable to mount /data or /system error - YouTube
In this video I will show you how to fix the unable to mount / data /system errorwarning : it will ... Your...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found