I've tried with both boot2docker and a custom host. My docker file is built on phusion/baseimage. Once it creates the image it just hangs on "Waiting for machine to boot.". But the image is actually running and ssh is available. If I try to connect in another terminal session "vagrant ssh app" works just fine. Any ideas?
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| > config.vm.define "db" do |app| > app.vm.provider "docker" do |d| > d.image = "paintedfox/postgresql" > d.name = "db" > d.ports = ["5432:5432"] > d.vagrant_vagrantfile = "./HostVagrantfile" > end > end > config.vm.define "app" do |app| > app.vm.provider "docker" do |d| > d.build_dir = "." > d.has_ssh = true > d.link "db:postgresql" > d.vagrant_vagrantfile = "./HostVagrantfile" > end > end > config.ssh.username = "root" > config.ssh.private_key_path = "phusion.key" > > end -- You received this message because you are subscribed to the Google Groups "Vagrant" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
