A workaround is needed to make file change notification work under Docker for Windows:
# install Python via Chocolatey
choco install python
# install workaround Python script via PIP
pip install docker-windows-volume-watcher
# activate watch mode for all running Docker containers
docker-volume-watcher
For use with Habitat-powered containers/studios, the stat
and chmod
commands must be binlinked for docker-volume-watcher
's tricks to work
hab pkg binlink core/coreutils -d /bin stat
hab pkg binlink core/coreutils -d /bin chmod