When I run docker I can mount local directories as volumes.
Docker shares my c drive with the entire network, this was not expected since virtual box for example also allows the virtual machine to access the local hard drive (with virtualbox additions) but that does not make the c drive available to the entire network. Maybe this is the only way to sort out mounting issues, but ideally you just want hyper-v to have access to the disk rather than other network machines as well. If it has to be done like this then maybe it would be better to be able to select what folders to share even if you then have to mount volumes to a virtual mount point (like \docker\sharename…).
Steps to reproduce the behavior
- Select “Settings” and then "Share C: (requires user/password).
- Go to a different machine on the network and browse to your machine running docker, I did get a challenge / response (so you do require a password) but then there is a c folder and you can browse the entire disk.