Fix installation Laravel/homestead vagrant "A VirtualBox machine with the name ' Homestead ' already exists." The error

Source: Internet
Author: User

Before installing the Laravel/homestead vagrant Virtual machine environment on your Mac because of the reference tutorial is: Every time must be run under the ~/homestead directory Vagrant up/halt Command, it is really inconvenient, The environment is then configured according to another tutorial (which can start a virtual machine from homestead up in any directory), but when you type homestead up, you report

==> default:importing Base box ' laravel/homestead ' ...

==> default:matching MAC address for NAT networking ...

A VirtualBox machine with the name ' Homestead ' already exists.

Another name or delete the machine with the existing

Name, and try again.

Such a mistake

StackOverflow Several people said that it would solve the problem to view the virtual machine by Vagrant Global-status and then delete the corresponding name in vagrant destroy {ID}, but repeat n times homestead up or to ~/ After running vagrant up under Homestead, the top error is still reported, and then the list of VMS is retrieved by Vboxmanage list VMs and then run

Vboxmanage UNREGISTERVM Homestead--delete

After that, rerun homestead up and everything goes back to normal.

Fix installation Laravel/homestead vagrant "A VirtualBox machine with the name ' Homestead ' already exists." The error

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.