In case anyone else might be interested, here's the config that ended up 
working for me.  I was looking to increase the size of the base docker 
virtualbox host from 512mb (the default) to 4gb.


*Vagrantfile*

Vagrant.configure('2') do |config|
  config.vm.define :general_ledger do |container|
    container.vm.provider 'docker' do |docker|
      docker.vagrant_vagrantfile = 'host/Vagrantfile'
    end
  end
end


*host/Vagrantfile*

(original code from 
https://github.com/mitchellh/vagrant/blob/master/plugins/providers/docker/hostmachine/Vagrantfile)

Vagrant.configure("2") do |config|
  config.vm.box = "mitchellh/boot2docker"

  config.vm.provider "virtualbox" do |v|

    # insert your custom virtualbox configuration here

#

    v.memory                = 4096

    v.cpus                  = *2*


    # existing content

    #
    v.check_guest_additions = false
    v.functional_vboxsf = false
  end

  ["vmware_fusion", "vmware_workstation"].each do |vmware|
    config.vm.provider vmware do |v|
      if v.respond_to?(:functional_hgfs=)
        v.functional_hgfs = false
      end
    end
  end

  # b2d doesn't support NFS
  config.nfs.functional = false
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.

Reply via email to