- 問題
以下のコマンドが実行できない
vagrant box add centos7 package.box
エラーメッセージ
An error occurred while downloading the remote file. The error
message, if any, is reproduced below. Please fix this error and try
again.
- 試行錯誤状況
vagrantをアンインストールし,
再度インストールし直した。
~/.vagrant.dも削除
しかし、改善せず。
vagrant box add centos7 https://github.com/.../...
とやっても同じ症状
- 解決したいこと
boxを追加したい。
- 環境
vagrant 1.8.6
MacOS10.11.6
- 追記
dockerをインストール
してからうまくないような気がする
- 追記2
--debugオプションをつけてログを取ってみた。
Errorと関係あるところだけ抜き出してみた。
DEBUG subprocess: Exit status: 5
WARN downloader: Downloader exit code: 5
ERROR downloader: Exit code: 5
DEBUG box_add: Deleting temporary box:
ERROR warden: Error occurred: An error occurred while downloading the remote file. The error
message, if any, is reproduced below. Please fix this error and try
again.
INFO warden: Beginning recovery process...
INFO warden: Recovery complete.
INFO environment: Running hook: environment_unload
INFO runner: Preparing hooks for middleware sequence...
INFO runner: 1 hooks defined.
INFO runner: Running action: environment_unload #Vagrant::Action::Builder:0x000001039e2808
ERROR vagrant: Vagrant experienced an error! Details:
ERROR vagrant: #<Vagrant::Errors::DownloaderError: An error occurred while downloading the remote file. The error
message, if any, is reproduced below. Please fix this error and try
again.
ERROR vagrant: An error occurred while downloading the remote file. The error
message, if any, is reproduced below. Please fix this error and try
again.
ERROR vagrant: /opt/vagrant/embedded/gems/gems/vagrant-1.8.7/lib/vagrant/util/downloader.rb:206:in `execute_curl'
回答2件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。