-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WARNING:root:Bind of container was skipped since it has invalid source path #19
Comments
I'm getting the same error, could it be problems with path? My path has a directory with a '-' in it |
I rolled back my docker desktop version to 2.1.0.5 and it works. |
same question 👀 |
I open a PR: #21 |
I have the same issue |
I'm not experienced in python or docker, but I see that the paths are tested using regex which searches for "host_mnt" directory. All my docker mounts are at a path like
Maybe the Docker update changed the paths where containers are mounted, and so that is why downgrading Docker is a supposed workaround? Seems like an easy fix to change this regex to |
@bensoutendijk I am facing the same issue now. I cloned the repository and changed the regex. How did you build the exe after you made the changes? I tried Pyinstaller but the generated exe is exiting right after I launch it and I am no longer getting any log messages. |
@rizktouma Sorry but I never did end up getting this to work, so I am not sure I can help you. I didn't get to the build step. |
You could change the python script directly where pip has installed this package.
Output : $ pip3 show docker-windows-volume-watcher Go at the location and edit your files:
|
The function (in which the above line 27 is) says:
but in my case EDIT: No longer working for some reason (I haven't made any major changes to the system - just some Windows Updates). The |
Searching for a solution for the skipped since it has invalid source path i found this issue (like after banging my had around a --reload not working-problem for hours nefore finding the docker-windows-volume-watcher after all). Sadly none of the above fixes did anything for me. So i dumped in a
does the job for now. Maybe it will help someone, its not a fix in any ways, just another workaround. |
Hello,
One of my docker container requires access to a directory where it tracks file changes within that directory (using the watchdog library).
I tried using docker-windows-volume-watcher to maintain the watchdog alerts within the docker container, however when I launch it, I get the error "WARNING:root:Bind of container was skipped since it has invalid source path" where the path itself is a standard windows path : C:\path\to\the\directory_containing_the_files
Am I missing something here ?
The text was updated successfully, but these errors were encountered: