前提・実現したいこと
ドットインストールの講座を参考に、ローカル開発環境を構築したいです。
そのため、仮想マシンを立ち上げたいですが、
vagrant statusとしたときに、以下のエラーメッセージが発生しました。
発生している問題・エラーメッセージ
==vagrant status時================
default not created (virtualbox)
The environment has not yet been created. Run vagrant up
to
create the environment. If a machine is not created, only the
default provider will be shown. So if a provider is not listed,
then the machine is not created for that environment.
該当のソースコード
試したこと
下記のサイトを参考に、ユーザーアカウントが日本語ではないか確認したり、vagrant/machines/default/virtualbox/idを作ろうとしたりしました。
ユーザーアカウントは英語なので問題ありませんでしたが、vagrant/machines/default/virtualbox/idはそもそも、idが存在するか確認するコマンドを入れた時点でエラーが出てしまいできませんでした。
Vagrant statusでnot createdになってしまいます
vagrant statusしたらnot createdになった場合はvagrant upとかしないでこうしよう
補足情報(FW/ツールのバージョンなど)
PC環境:windows7 64bit powershellを使いコマンドを打っています。
下記の手順で進めており、vagrant upまではうまくいっております。
mkdir MyVagrant
↓
cd MyVagrant
↓
mkdir MyCentOS
↓
cd MyCentOS
↓
vagrant init bento/centos-6.8
↓
vagrant up
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
2019/05/19 11:35
2019/05/19 15:55 編集