一尘不染

如何解决“运行错误:无法获得机器” boot2docker-vm”:机器不存在”的问题?

docker

boot2dockerstart| 运行 info| stop| delete参数导致错误消息:

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

我怎样才能解决这个问题?


阅读 386

收藏
2020-06-17

共1个答案

一尘不染

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

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

答案的原始来源:https :
//github.com/boot2docker/boot2docker/issues/436

注意
:此方法可能是最快的方法,但是您将丢失现有的boot2docker虚拟机。

2020-06-17