0

When I try to use the Docker provisioning in Vagrant

config.vm.provision "docker" do |d|
  d.build_image "/vagrant/app"
end

I get the error

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 

when running vagrant up

I'm able to run the build manually inside a VBox VM

Botto
  • 231
  • 1
  • 10

1 Answers1

2

build_image configuration was introduced in Vagrant 1.5.0. Maybe you have an older version?

tmatilai
  • 716
  • 4
  • 14