I am using WSL 2 with docker for desktop
i create a docker with bind mount /mnt/e/test
but in the windows OS , E:\test folder , seem nth, even i try to echo a file in docker.
我正在使用WSL2和docker for Desktop,我用绑定mount/mnt/e/test创建了一个docker,但在Windows操作系统中,E:\test文件夹似乎是第n个,甚至我尝试在docker中回显一个文件。
in the WSL /mnt/e is referral to WIndows host E driver. i can see file inside wsl /mnt/e
anyone know how to mount a windows folder inside docker?
在WSL/MNT/e中引用Windows主机E驱动程序。我可以在wsl/mnt/e中看到文件,有人知道如何在docker中挂载Windows文件夹吗?
and now where is the file store? in the docker, i saw bind mount to /mnt/e/test
那么现在文件存储在哪里呢?在停靠器中,我看到绑定挂载到/mnt/e/test
i can mount the Windows host volume by -v "E:\test:/data" but i want to know where is /mnt/e ?
Thanks
我可以通过-v“E:\test:/data”挂载Windows主机卷,但我想知道/mnt/e在哪里?谢谢
try to see \wsl$\docker-desktop-data\mnt but cannot access e
尝试查看\wsl$\docker-ktop-data\mnt,但无法访问e
更多回答
优秀答案推荐
我是一名优秀的程序员,十分优秀!