質問をすることでしか得られない、回答やアドバイスがある。

15分調べてもわからないことは、質問しよう!

新規登録して質問してみよう
ただいま回答率
85.50%
VirtualBox

VirtualBoxは、現在米オラクル社が開発している、 x86仮想化ソフトウェア・パッケージの一つです。

Vagrant

Vagrantは、VirtualBox上の仮想マシンを コマンドラインから作成してくれるソフトウェアです。 ビルド環境など容易に構築が可能です。

Q&A

0回答

2186閲覧

開発環境VMのダウンロードでエラーが出る

pkbrasegali

総合スコア6

VirtualBox

VirtualBoxは、現在米オラクル社が開発している、 x86仮想化ソフトウェア・パッケージの一つです。

Vagrant

Vagrantは、VirtualBox上の仮想マシンを コマンドラインから作成してくれるソフトウェアです。 ビルド環境など容易に構築が可能です。

0グッド

0クリップ

投稿2019/01/14 04:19

前提・実現したいこと

仮想マシンのセットアップ・起動をしたい(VirtualBox、Vagrant導入済)

発生している問題・エラーメッセージ

  1. コマンドプロンプトでCドライブ直下に「SukkiriC」フォルダを作成し、そこにVagrantの設定ファイルを作成
  2. vagrant upの実行

以上の手順で行ったところ、同名のVMがすでに存在するというエラーが発生しました。

The name of your virtual machine couldn't be set because VirtualBox is reporting another VM with that name already exists. Most of the time, this is because of an error with VirtualBox not cleaning up properly. To fix this, verify that no VMs with that name do exist (by opening the VirtualBox GUI). If they don't, then look at the folder in the error message from VirtualBox below and remove it if there isn't any information you need in there. VirtualBox error: VBoxManage.exe: error: Could not rename the directory 'C:\Users\shota\VirtualBox VMs\codearea_sc_1547436841605_63089' to 'C:\Users\shota\VirtualBox VMs\codearea_sc' to save the settings file (VERR_ALREADY_EXISTS) VBoxManage.exe: error: Details: code E_FAIL (0x80004005), component SessionMachine, interface IMachine, callee IUnknown VBoxManage.exe: error: Context: "SaveSettings()" at line 3182 of file VBoxManageModifyVM.cpp

該当のソースコード

C:\Windows\system32>vagrant --version Vagrant 2.2.3 C:\Users>mkdir C:\SukkiriC C:\Users>cd C:\SukkiriC C:\SukkiriC>vagrant init -f flairlink/codearea_sc A `Vagrantfile` has been placed in this directory. You are now ready to `vagrant up` your first virtual environment! Please read the comments in the Vagrantfile as well as documentation on `vagrantup.com` for more information on using Vagrant. C:\SukkiriC>vagrant up Bringing machine 'default' up with 'virtualbox' provider... ==> default: Box 'flairlink/codearea_sc' could not be found. Attempting to find and install... default: Box Provider: virtualbox default: Box Version: >= 0 ==> default: Loading metadata for box 'flairlink/codearea_sc' default: URL: https://vagrantcloud.com/flairlink/codearea_sc ==> default: Adding box 'flairlink/codearea_sc' (v18.6.0) for provider: virtualbox default: Downloading: https://vagrantcloud.com/flairlink/boxes/codearea_sc/versions/18.6.0/providers/virtualbox.box default: Download redirected to host: vagrantcloud-files-production.s3.amazonaws.com default: ==> default: Successfully added box 'flairlink/codearea_sc' (v18.6.0) for 'virtualbox'! ==> default: Importing base box 'flairlink/codearea_sc'... ==> default: Matching MAC address for NAT networking... ==> default: Checking if box 'flairlink/codearea_sc' version '18.6.0' is up to date... ==> default: Setting the name of the VM: codearea_sc

試したこと

  • vagrant destroyでidを削除
  • VMファイルを直接削除
  • VirtualBoxを起動させ、VMを電源オフの状態で右クリック→除去
  • VirtualBox、Vagrantの再インストール

補足情報(FW/ツールのバージョンなど)

使用PC Windows10 Pro 61bit
VirtualBox...Ver6.0
Vagrant...Ver2.2.3

気になる質問をクリップする

クリップした質問は、後からいつでもMYページで確認できます。

またクリップした質問に回答があった際、通知やメールを受け取ることができます。

バッドをするには、ログインかつ

こちらの条件を満たす必要があります。

guest

あなたの回答

tips

太字

斜体

打ち消し線

見出し

引用テキストの挿入

コードの挿入

リンクの挿入

リストの挿入

番号リストの挿入

表の挿入

水平線の挿入

プレビュー

まだ回答がついていません

会員登録して回答してみよう

アカウントをお持ちの方は

15分調べてもわからないことは
teratailで質問しよう!

ただいまの回答率
85.50%

質問をまとめることで
思考を整理して素早く解決

テンプレート機能で
簡単に質問をまとめる

質問する

関連した質問