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

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

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

Windowsは、マイクロソフト社が開発したオペレーティングシステムです。当初は、MS-DOSに変わるOSとして開発されました。 GUIを採用し、主にインテル系のCPUを搭載したコンピューターで動作します。Windows系OSのシェアは、90%を超えるといわれています。 パソコン用以外に、POSシステムやスマートフォンなどの携帯端末用、サーバ用のOSもあります。

Vagrant

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

Q&A

1回答

2944閲覧

windowsでvagrant upができないです

inuisouichirou

総合スコア7

Windows

Windowsは、マイクロソフト社が開発したオペレーティングシステムです。当初は、MS-DOSに変わるOSとして開発されました。 GUIを採用し、主にインテル系のCPUを搭載したコンピューターで動作します。Windows系OSのシェアは、90%を超えるといわれています。 パソコン用以外に、POSシステムやスマートフォンなどの携帯端末用、サーバ用のOSもあります。

Vagrant

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

0グッド

0クリップ

投稿2017/01/25 12:38

編集2017/01/26 09:11

###前提・実現したいこと
vagrant up をしたい

###発生している問題・エラーメッセージ
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Importing base box 'centos'...
==> default: Matching MAC address for NAT networking...
==> default: Setting the name of the VM: vagrant_default_1485345191639_27632
==> default: Clearing any previously set network interfaces...
==> default: Preparing network interfaces based on configuration...
default: Adapter 1: nat
==> default: Forwarding ports...
default: 22 (guest) => 2222 (host) (adapter 1)
==> default: Booting VM...
==> default: Waiting for machine to boot. This may take a few minutes...
default: SSH address: 127.0.0.1:2222
default: SSH username: vagrant
default: SSH auth method: private key
==> default: Forcing shutdown of VM...
==> default: Destroying VM and associated drives...
C:/HashiCorp/Vagrant/embedded/gems/gems/net-ssh-3.0.1/lib/net/ssh/transport/packet_stream.rb:67:in g etnameinfo': getnameinfo: wè³ê½T[rX voC_[ÌÇÝÝܽÍú»ðs¤±ÆªÅ«Ü¹ñŵ½B (SocketError) from C:/HashiCorp/Vagrant/embedded/gems/gems/net-ssh-3.0.1/lib/net/ssh/transport/packet_strea m.rb:67:in peer_ip'
from C:/HashiCorp/Vagrant/embedded/gems/gems/net-ssh-3.0.1/lib/net/ssh/transport/session.rb:9 9:in host_as_string' from C:/HashiCorp/Vagrant/embedded/gems/gems/net-ssh-3.0.1/lib/net/ssh/transport/algorithms.r b:245:in prepare_preferred_algorithms!'
from C:/HashiCorp/Vagrant/embedded/gems/gems/net-ssh-3.0.1/lib/net/ssh/transport/algorithms.r b:124:in initialize' from C:/HashiCorp/Vagrant/embedded/gems/gems/net-ssh-3.0.1/lib/net/ssh/transport/session.rb:8 6:in new'
from C:/HashiCorp/Vagrant/embedded/gems/gems/net-ssh-3.0.1/lib/net/ssh/transport/session.rb:8 6:in initialize' from C:/HashiCorp/Vagrant/embedded/gems/gems/net-ssh-3.0.1/lib/net/ssh.rb:222:in new'
from C:/HashiCorp/Vagrant/embedded/gems/gems/net-ssh-3.0.1/lib/net/ssh.rb:222:in start' from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.8.1/plugins/communicators/ssh/communic ator.rb:389:in block (2 levels) in connect'
from C:/HashiCorp/Vagrant/embedded/lib/ruby/2.2.0/timeout.rb:88:in block in timeout' from C:/HashiCorp/Vagrant/embedded/lib/ruby/2.2.0/timeout.rb:32:in block in catch'
from C:/HashiCorp/Vagrant/embedded/lib/ruby/2.2.0/timeout.rb:32:in catch' from C:/HashiCorp/Vagrant/embedded/lib/ruby/2.2.0/timeout.rb:32:in catch'
from C:/HashiCorp/Vagrant/embedded/lib/ruby/2.2.0/timeout.rb:103:in timeout' from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.8.1/plugins/communicators/ssh/communic ator.rb:368:in block in connect'
from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.8.1/lib/vagrant/util/retryable.rb:17:i n retryable' from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.8.1/plugins/communicators/ssh/communic ator.rb:367:in connect'
from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.8.1/plugins/communicators/ssh/communic ator.rb:64:in block in wait_for_ready' from C:/HashiCorp/Vagrant/embedded/lib/ruby/2.2.0/timeout.rb:88:in block in timeout'
from C:/HashiCorp/Vagrant/embedded/lib/ruby/2.2.0/timeout.rb:32:in block in catch' from C:/HashiCorp/Vagrant/embedded/lib/ruby/2.2.0/timeout.rb:32:in catch'
from C:/HashiCorp/Vagrant/embedded/lib/ruby/2.2.0/timeout.rb:32:in catch' from C:/HashiCorp/Vagrant/embedded/lib/ruby/2.2.0/timeout.rb:103:in timeout'
from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.8.1/plugins/communicators/ssh/communic ator.rb:42:in wait_for_ready' from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.8.1/lib/vagrant/action/builtin/wait_fo r_communicator.rb:16:in block in call'

###該当のソースコード
なし
###試したこと
windowsの再起動
VirtualBoxの再インストール
vagrantのversionは1.8.1でやっています。
最新版も試してみました!

###補足情報(言語/FW/ツール等のバージョンなど)
より詳細な情報

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

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

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

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

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

guest

回答1

0

試したわけではないので、回答になるかどうかわかりませんが、
参考になればと思います。
以下のURLにある手順は実施されましたか?

https://www.vagrantup.com/docs/getting-started/

投稿2017/01/27 23:53

granfa_yuzo

総合スコア356

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

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

あなたの回答

tips

太字

斜体

打ち消し線

見出し

引用テキストの挿入

コードの挿入

リンクの挿入

リストの挿入

番号リストの挿入

表の挿入

水平線の挿入

プレビュー

まだベストアンサーが選ばれていません

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

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

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

ただいまの回答率
85.48%

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

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

質問する

関連した質問