Home  >  Q&A  >  body text

为何docker老是报错?

为何系统老是坏掉,有人遇到这种情况么?

E:>boot2docker status
error in run: Failed to get machine "boot2docker-vm": fork/exec C:\Program Files
\Oracle\VirtualBox\VBoxManage.exe: Access is denied.

E:>boot2docker init
error in run: Failed to initialize machine "boot2docker-vm": fork/exec C:\Progra
m Files\Oracle\VirtualBox\VBoxManage.exe: Access is denied.

E:>boot2docker up
error in run: Failed to get machine "boot2docker-vm": fork/exec C:\Program Files
\Oracle\VirtualBox\VBoxManage.exe: Access is denied.

要崩溃了:(

Edit 1:
用的就是管理员权限啊,不行


刚重启可以运行,不过之后就没法运行了,咋回事?

PHP中文网PHP中文网2761 days ago596

reply all(2)I'll reply

  • 高洛峰

    高洛峰2017-04-21 11:20:45

    It seems that the command line needs to be run with administrator privileges.
    Right click on VBoxManage and select run as administrator

    reply
    0
  • 天蓬老师

    天蓬老师2017-04-21 11:20:45

    Delete the files in the C:UsersusernameVirtualBox VMs folder and then re-execute boot2docker

    reply
    0
  • Cancelreply