我的防火墙也有同样的问题不允许我共享我的 C 盘。我尝试了上面列出的所有解决方案,但没有一个对我有效。然后我从我的机器完全卸载了 docker < code > 控制面板程序和功能->
选择 Docker for Windows-> Uninstall
然后转到 < a href = “ https://docs.docker.com/docker-for-windows/install/# download-docker-for-windows”rel = “ nofollow norefrer”> docker site 并单击 Get Docker for Windows (Stable) 之后我就能共享 C 驱动器了
Users don’t have to expose the Samba port, and therefore do not experience issues related to IT firewall or the drive-sharing policy.
There is no need to provide user credentials to Docker Desktop. File access rights are automatically enforced when accessing mounted folders through containers.