Docker卷的PhpStorm错误:“应在Docker云设置中配置VirtualBox共享文件夹”

时间:2017-03-13 01:49:31

标签: docker phpstorm docker-windows phpstorm-2016.3

这是Windows上的PhpStorm 2016.3.3的问题。尝试配置Docker容器时遇到以下错误:

Example of "VirtualBox shared folders should be configured in the Docker cloud settings"

我可以通过进入Build, Execution, Deployment > Docker并将相同的文件夹添加到“VirtualBox共享文件夹”选项中来消除立即错误消息...

enter image description here

...并取消阻止文件选择器......

Example of unhelpful workaround with file-picker

...但不幸的是,当我运行容器时,这仍然会

1 个答案:

答案 0 :(得分:0)

事实证明,你可以通过避免文件选择器对话框完全忽略错误!您也不需要将任何文件夹添加到“Virtualbox共享文件夹”部分。

相反,只需手动输入(或复制粘贴)仅使用正斜杠的路径。因此,请输入C:\Users\JohnDoe\Documents\some-app

,而不是/c/Users/JohnDoe/Documents/some-app

Workaround screenshot

相关问题