1
2

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.

vagrant upが出来ない→Bringing machine 'default' up with 'virtualbox' provider...

1
Posted at

vagrant upが出来ない

error内容

Bringing machine 'default' up with 'virtualbox' provider...
A VirtualBox machine with the name 'my-app' already exists.
Please use another name or delete the machine with the existing
name, and try again.

調べるとvagrant destroyしろという記事ばかり…
消したくないんだよね。。。

解決策

vmのidを表示

$ vboxmanage list vms
"my-app" {3fdsaaeb-066a-417c-b62a-3563fv5c34068}

.vagrant以下のこのファイルに上記idを書き換える
~/.vagrant/machines/default/virtualbox/id

3fdsaaeb-066a-417c-b62a-3563fv5c34068

なぜ起こったのか?

.vagrant以下を書き換えてしまったのかも知れない??

1
2
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
1
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?