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.

folder exists on my machine but I get the error "Cannot create container for service cvat: failed to mount local volume: mount"

See original GitHub issue

trying to create a shared path but I get the error message

WARNING: The no_proxy variable is not set. Defaulting to a blank string.
Creating volume "cvat_cvat_share" with default driver
cvat_db is up-to-date
cvat_redis is up-to-date
Recreating d3efd5cf6c4f_cvat ... error
ERROR: for d3efd5cf6c4f_cvat Cannot create container for service cvat: failed to mount local volume: mount C:\Users\ha_ha\Desktop\Haziq\datasets\cvat\videos:/var/lib/docker/volumes/cvat_cvat_share/_data, flags: 0x1000: no such file or directory

ERROR: for cvat Cannot create container for service cvat: failed to mount local volume: mount C:\Users\ha_ha\Desktop\Haziq\datasets\cvat\videos:/var/lib/docker/volumes/cvat_cvat_share/_data, flags: 0x1000: no such file or directory
ERROR: Encountered errors while bringing up the project.

the folder C:\Users\ha_ha\Desktop\Haziq\datasets\cvat\videos exists on my windows machine. Can anyone advise?

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:11 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
c00lcodercommented, Oct 7, 2021

Hi,

I was able to resolve the issue by removing the following attribute ‘device’ from Docker compose file in all occurrences for each service, not sure whether this is good solution or not for windows , but any way finally I moved to MacBook and I don’t see the issues with my expected Docker compose file.

device: ${PWD}/docker-resources/redisinsight_store

device: ${PWD}/docker-resources/azurite_store …

Thank you for sharing. How did you figure out the path for macbook? I’ve been trying to get everything setup on MAC (M1) but couldn’t figure out the PATH. I switched to windows with ubuntu and made better progress (can run models) but haven’t figured out share path. But from what I’ve done so far, the MAC experience is way better if I could just get it all working

1reaction
mkakkirenicommented, Oct 7, 2021

Hi,

I was able to resolve the issue by removing the following attribute ‘device’ from Docker compose file in all occurrences for each service, not sure whether this is good solution or not for windows , but any way finally I moved to MacBook and I don’t see the issues with my expected Docker compose file.

device: ${PWD}/docker-resources/redisinsight_store

device: ${PWD}/docker-resources/azurite_store …

Read more comments on GitHub >

github_iconTop Results From Across the Web

folder exists on my machine but I get the error "Cannot create ...
folder exists on my machine but I get the error "Cannot create container for service cvat: failed to mount local volume: mount" #2431....
Read more >
opencv-cvat/public - Gitter
I'm trying to upload annotations (PASCAL VOC format) for 1000 images to a 7000 images task. So I zipped up those xml files...
Read more >
Docker Error: Cannot create container for service, no such file ...
I can't find contrib in the root of the directory. Might be an issue when trying to create the container. – geostocker. Aug...
Read more >
Troubleshoot volume errors - Docker Documentation
This topic discusses errors which may occur when you use Docker volumes or bind mounts. Error: Unable to remove filesystem. Some container-based utilities, ......
Read more >
Add local file mount to a container - Visual Studio Code
Note: Mounting the local file system is not supported in GitHub Codespaces. ... You can add a volume bound to any local folder...
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