找不到提供商码头工人 - Vagrant

时间:2014-12-26 08:26:53

标签: vagrant docker

每当我运行vagrant up --provider=docker时,都会收到此错误消息。

The provider 'docker' could not be found, but was requested to
back the machine 'default'.

但是,当我自己运行Docker时,没有流浪汉一切正常。

我在Linux Mint Rebecca上。全部更新。

Vagrantfile

# -*- mode: ruby -*-
# vi: set ft=ruby :

# Vagrantfile API/syntax version. Don't touch unless you know what you're doing!
VAGRANTFILE_API_VERSION = "2"

Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
  config.vm.network :private_network, ip: "192.168.33.10"
  config.vm.synced_folder "./", "/vagrant_data"
  config.vm.provider "docker" do |d|
    d.image = "ubuntu"
  end
end

1 个答案:

答案 0 :(得分:1)

完全重新安装(vagrant and docker)后,它可以工作。 :)