Hello. by default will use virtualbox,
so for those you need: vagrant up --provider=docker all info here: http://docs.vagrantup.com/v2/docker/basics.html That will create a proxy vm with boot2docker. If you want to manage what box to use, etc.. you can look at this: Vagrant.configure("2") do |config| config.vm.provider "docker" do |d| d.vagrant_vagrantfile = "../path/to/Vagrantfile" end end in that other Vagrantfile you can control ram/cpu box, etc. Alvaro. On Fri, Feb 27, 2015 at 9:44 AM, Edward Evans <[email protected]> wrote: > I've been reading the vagrant docs on the docker provider syntax and can't > figure out how to put all the pieces together. > > I'm running on windows 7 x64 host trying to run 2 containers, one running > postgresql and another running gitlab. My thought was to use a trusty64 box > to run them in but can't figure out how to get that all coded up. > > I'm trying something like this in my vagrantfile: > > Vagrant.configure(2) do |config| > config.vm.provider "docker" do |d| > d.image = "sameersbn/gitlab:latest" > d.image = "sameersbn/postgresql:latest" > d.box = "ubuntu/trusty64" > end > end > > But I get: > The box you're attempting to add doesn't support the provider > you requested. Please find an alternate box or use an alternate > provider. Double-check your requested provider to verify you didn't > simply misspell it. > > I'm following the information in this github repo > https://github.com/sameersbn/docker-gitlab and am not sure how to put all > the commands and environment vars that are needed. > > Any help or pointers to example files appreciated. > > Thanks, > Ed > > -- > 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. -- 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.
