Hy,


I have been using Vagrant + Docker on Windows PC for a while, with 
Virtualbox. Since few weeks I have turned my mind toward Ubuntu 16.04 LTS, 
and started to migrate my Vagrant stuff on my new hardware.

Some of Vagrants were using docker-compose on my old PC. Now, on Ubuntu, I 
want to use Docker and Docker-compose directly, without Virtualbox. 


I saw that there is two docker's provider config options that mentions 
"docker compose" (link 
<https://www.vagrantup.com/docs/docker/configuration.html>) : 

   - 
   
   compose 
   <https://www.vagrantup.com/docs/docker/configuration.html#compose> 
   (boolean) - If true, Vagrant will use docker-compose to manage the 
   lifecycle and configuration of containers. This defaults to false.
   - 
   
   compose_configuration 
   
<https://www.vagrantup.com/docs/docker/configuration.html#compose_configuration>
 
   (Hash) - Configuration values used for populating the docker-compose.yml 
   file. The value of this Hash is directly merged and written to the 
   docker-compose.yml file allowing customization of non-services items 
   like networks and volumes.
   
Maybe this options could be useful for my case ...


Maybe one of yours has experienced the same needs  as mine...and succeeded


Does somebody know how both options must be used in a Vagrantfile ?


Where should be stated the path to the docker-compose.yml file of my own 
project ?


For the "compose_configuration"  option  : what is a "HASH" and what is the 
syntax (...an example...) ?




Regards.

Bertrand



-- 
This mailing list is governed under the HashiCorp Community Guidelines - 
https://www.hashicorp.com/community-guidelines.html. Behavior in violation of 
those guidelines may result in your removal from this mailing list.

GitHub Issues: https://github.com/mitchellh/vagrant/issues
IRC: #vagrant on Freenode
--- 
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 vagrant-up+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vagrant-up/847f7325-d50c-496c-ab4d-f9f25a409b05%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to