10

vagrant 1.6 で新しい docker サポートをテストしようとしています。私は Windows を使用しており、vagrant ファイルをセットアップしましたが、「vagrant up --provider=docker」を実行すると、次のようになります。

Bringing machine 'default' up with 'docker' provider...
==> default: Docker host is required. One will be created if necessary...
default: Vagrant will now create or start a local VM to act as the Docker
default: host. You'll see the output of the `vagrant up` for this VM below.
default:
default: Box 'mitchellh/boot2docker' could not be found. Attempting to find and install...
default: Box Provider: virtualbox
default: Box Version: >= 0
default: Loading metadata for box 'mitchellh/boot2docker'
default: URL: https://vagrantcloud.com/mitchellh/boot2docker
default: Adding box 'mitchellh/boot2docker' (v0.8.0) for provider: virtualbox
default: Downloading: https://vagrantcloud.com/mitchellh/boot2docker/version/1/provider/virtualbox.box
default: Progress: 100% (Rate: 2999k/s, Estimated time remaining: --:--:--)
The executable 'bsdtar' Vagrant is trying to run was not
found in the %PATH% variable. This is an error. Please verify
this software is installed and on the path.
4

4 に答える 4

16
  1. プログラムと機能に移動
  2. Vagrant を見つけて修復する

再インストールする必要はありません:)

于 2014-05-20T14:07:51.433 に答える
4

迅速な解決策は、mingw バイナリの場所のパスをシステムのPath変数にアタッチすることです。次に例を示します。 C:\HashiCorp\Vagrant\embedded\mingw\bin

パス エントリを . で区切ることを忘れないでください;

于 2014-07-11T12:09:20.363 に答える
0

パッケージをダウンロードしてインストールするには、こちらの指示に従いますhttp://gnuwin32.sourceforge.net/packages/libarchive.htm

次に、Path 環境変数を更新して、bsd 実行可能ファイルのインストール済みパス (通常は C:\Program Files (x86)\GnuWin32\bin) を含めます。

于 2014-11-14T03:40:36.653 に答える