运行流浪汉时出现错误,错误--provider = docker

ciw*_*sey 9 windows vagrant docker bsdtar

我正试图在vagrant 1.6中测试新的docker支持.我在Windows上,我设置了我的流浪文件但是当我运行"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.
Run Code Online (Sandbox Code Playgroud)

Mit*_*ell 27

  1. 完全卸载Vagrant,删除C:\HashiCorp.
  2. 重新安装Vagrant.

这将解决所有问题.


Pas*_*per 16

  1. 转到"程序和功能"
  2. 找到流浪汉和修复

无需重新安装:)