Vagrant up 时提示 A VirtualBox machine with the name 'Homestead-7' already exists.

$ vagrant up
Bringing machine 'homestead-7' up with 'virtualbox' provider...
==> homestead-7: Importing base box 'lc/homestead'...
==> homestead-7: Matching MAC address for NAT networking...
==> homestead-7: Checking if box 'lc/homestead' is up to date...
A VirtualBox machine with the name 'homestead-7' already exists.
Please use another name or delete the machine with the existing
name, and try again.
怎么删除之前的 homestead-7

《L01 基础入门》
我们将带你从零开发一个项目并部署到线上,本课程教授 Web 开发中专业、实用的技能,如 Git 工作流、Laravel Mix 前端工作流等。
《L03 构架 API 服务器》
你将学到如 RESTFul 设计风格、PostMan 的使用、OAuth 流程,JWT 概念及使用 和 API 开发相关的进阶知识。
492129825
最佳答案

@kingsun 在这里面删掉了

file

5年前 评论
讨论数量: 3

在根目录搜一下homestead-7,删掉

5年前 评论
492129825

@kingsun 在这里面删掉了

file

5年前 评论

谢谢!今天也遇到了类似问题。 原因是我先修改了Homestead.yaml,然后, vagrant provision && vagrant reload 就卡住了。 然后, vagrant halt vagrant up 最后,终于报错了。 后来,我删除VM管理器中所有的, 又删掉 /Users/mac/VirtualBox VMs/ 目录下的。 再运行。 就好了。 file 主要命令如上图。 记录在此,供有需要的朋友参考。

4年前 评论

讨论应以学习和精进为目的。请勿发布不友善或者负能量的内容,与人为善,比聪明更重要!