本文介绍了如何修复运行中的错误:无法获取机器“boot2docker-vm”:机器不存在“?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

运行 boot2docker 开始 | 信息 停止 | 删除参数导致错误消息:

Running boot2docker with the start|info|stop|delete arguments result in an error message:

snowch$ boot2docker start
error in run: Failed to get machine "boot2docker-vm": machine does not exist    
snowch$ boot2docker info
error in run: Failed to get machine "boot2docker-vm": machine does not exist
snowch$ boot2docker stop
error in run: Failed to get machine "boot2docker-vm": machine does not exist
snowch$ boot2docker delete
error in run: Failed to get machine "boot2docker-vm": machine does not exist

init 错误略有不同

snowch$ boot2docker init
error in run: Failed to initialize machine "boot2docker-vm": exit status 1

如何解决这个问题?

推荐答案

最后,我删除了 boot2docke r-vm 虚拟机:

In the end, I removed the boot2docker-vm virtual machine:

snowch$ rm -rfi ~/VirtualBox\ VMs/boot2docker-vm/

答案的原始来源:

注意:此方法可能是最快的,但您将丢失现有的boot2docker虚拟机。如果您想保留现有的boot2docker虚拟机,可以尝试

Note: this method is probably the quickest but you will lose your existing boot2docker virtual machine. If you want to keep your existing boot2docker virtual machine, you could try Patrick Henning's answer

这篇关于如何修复运行中的错误:无法获取机器“boot2docker-vm”:机器不存在“?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-26 05:23