我尝试从WSL运行Vagrant:
Windows 10专业版版本1703构建15063.540
Ubuntu 16.04.2 LTS
Vagrant版本:1.9.7
VirtualBox版本:5.1.26r117224
将其添加到我的bachrc文件中。
export VAGRANT_WSL_ENABLE_WINDOWS_ACCESS="1"
我已经将VirtualBox添加到Windows的路径中。
当我运行vagrant up时,我遇到了这个错误:
Stderr: VBoxManage.exe: error: RawFile#0 failed to create the raw output file /mnt/d/Projects/GOPATH/src/github.com/hyperledger/Fabric/devenv/ubuntu-xenial-16.04-cloudimg-console.log (VERR_PATH_NOT_FOUND)
如果我尝试直接从VirtualBox启动虚拟机,则会出现以下错误:
Failed to open a session for the virtual machine hyperledger.
RawFile#0 failed to create the raw output file /mnt/d/Projects/GOPATH/src/github.com/hyperledger/Fabric/devenv/ubuntu-xenial-16.04-cloudimg-console.log (VERR_PATH_NOT_FOUND).
Result Code: E_FAIL (0x80004005) Component: ConsoleWrap Interface: IConsole {872da645-4a9b-1727-bee2-5585105b9eed}