About
shared drive
Articles Related
Setup
For windows
Firewall
Shared drives require port 445 to be open between the host machine and the virtual machine that runs Linux containers.
Allow connections to 10.0.75.1 on port 445 (the Windows host) from 10.0.75.2 (the virtual machine).
I ended up by giving a trust to the adapter.
Settings
See Shared drives
Make your drive accessible to your containers.
- Docker > Settings > Shared Drive
You need to reset your credentials everytime that they will expired otherwise your bind mounts will not be available.
Test it ! With the following, you should be able to navigate your c disk inside the container at the data mount point.
docker run --rm -it -v C::/data alpine sh
Example with my computer:
cd /data/
ls
Anaconda2-Python2.7 Intel PhotoFiltre System Volume Information hiberfil.sys
Config.Msi Java Program Files Users pagefile.sys
DataGrip Jenkins Program Files (x86) WinMerge spark-2.2.0-bin-hadoop2.7
Dell JuffrouwBlom ProgramData WinSCP swapfile.sys
Documents and Settings Notepad++ Python27 Windows tmp
Git OneDriveTemp Recovery Windows10Upgrade
IDEA PerfLogs Recovery.txt apache-maven-3.5.3