7
4

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

同名のvmがあって起動できないといわれたら

Posted at

Homesteadまわりがよくわからなくて、boxの作成削除を試行錯誤中

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.

と言われて$vagrant upで起動しなくなった。

$ vagrant global-status

を実行してみろとのことで、結果

id       name    provider   state    directory                                  
--------------------------------------------------------------------------------
6b578c7  default virtualbox poweroff /Users/xxxx/Vagrant/CentOS70        
824274b  default virtualbox poweroff /Users/xxxx/Vagrant/CentOS_m2 
b0360b3  default virtualbox running  /Users/xxxx/Vagrant/Homestead       
643d085  default virtualbox poweroff /Users/xxxx/Homestead               
 
The above shows information about all known Vagrant environments
on this machine. This data is cached and may not be completely
up-to-date. To interact with any of the machines, you can go to
that directory and run Vagrant, or you can use the ID directly
with Vagrant commands from any directory. For example:
"vagrant destroy 1a2b3c4d"

running のものがおかしい模様(等にremove&rm-rfして消してある)
指示通り

$ vagrant destroy b0360b3

してみたけど、再びupすると同じエラー。

$ vboxmanage list vms

結果

"CentOS_m2_default_1464174648700_24534" {4140cd16-8ce3-4e27-954e-58572e73a736}
"homestead-7" {05b71707-a0ac-4636-bedb-7b10faeffae1}
"settler_default_1460671527188_35026_1464617029965_88052" {f4c2dc18-121a-4d36-a750-f184465869a7}
"settler_default_1460671527188_35026_1464619613877_24296" {6378ecc1-7fea-4851-9e31-7980ee90d8d0}

"homestead-7"がいる。

GUIのVirtualBoxを起動したらいたので、電源OFFして削除。

のち、無事$vagrant upで起動した。

以上


参考)
http://stackoverflow.com/questions/26993903/a-virtualbox-machine-with-the-name-homestead-already-exists

7
4
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
7
4

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?