当我尝试在Vagrant中使用Docker供应
config.vm.provision "docker" do |d| d.build_image "/vagrant/app" end
我得到错误
There are errors in the configuration of this machine. Please fix the following errors and try again: VagrantPlugins::Docker::Config: * The following settings shouldn't exist: build_image
当vagrant up
跑vagrant up
我能够在VBox VM中手动运行构build
Vagrant 1.5.0引入了build_image
configuration。 也许你有一个旧版本?