Docker volume watcher is a service that creates a link between window file system and docker mounted volume
Docker volume watcher is a service that creates a link between window file system and docker mounted volume
This is an adaptation of this project : https://github.com/merofeev/docker-windows-volume-watcher but without the need to have python installed.
Everything is automatically handle by the service who watches all mounted docker volumes and create a file watcher wrapper (https://msdn.microsoft.com/en-us/library/system.io.filesystemwatcher(v=vs.110).aspx) arround it.
When the file changes, the service send a custom exec command to each container to update the current permission of the file (without changing it).
Start the application by executing the shortcut on the desktop or in the start menu
A tray application should appears near the clock
Be aware that directly starting the service in the services manager leads to the service “crash”. This is because for the service to start it need some parameters (polling interval and dvwignore file activation) so you must start it from the tray app. (a little bit like the Docker service)
Right clicking the tray app icon leads to an context menu where you can open the settings window.
Panel to configure general options
Panel to configure service properties
Panel to restart the service
You can find informations of what the Service is doing into the Window Event Viewer window.
Go to “Applications and Services logs” -> “Docker Volume Watcher”
if you add a .dvwignore file at the root of the host volume you can now ignore some files
the syntax is :
## Ignore Docker volume Watcher
# Node.js Tools for Visual Studio
node_modules/*
.npm/*
*.zip
dir/*/file.zip
dir/*.zip