Identical Environment: Docker containers in a custom Docker host

33 views
Skip to first unread message

Tomasz Majchrowski

unread,
Jan 28, 2016, 6:47:17 AM1/28/16
to Vagrant
Hi All,

On platforms that don’t support containers (e.g. Windows)  by default Vagrant spins up a Tiny Core Linux (boot2docker) Docker host. In addition it's provide possibilities to run Docker containers in a custom Docker host over "vagrant_vagrantfile" configuration parameter. This works pretty well for us.

Now we would like to use the same "customer docker host" across all environments (including Linux based one).

Is there any possibility to use  "customer docker host" under the Linux instead of one natively installed docker. The same way as used under the Windows when native one is not available.

BR, Tomasz.
--
Tomasz Majchrowski - Information Technology and Services Consultant and Contractor

Alvaro Miranda Aguilera

unread,
Jan 28, 2016, 4:40:07 PM1/28/16
to vagra...@googlegroups.com

On Fri, Jan 29, 2016 at 12:47 AM, Tomasz Majchrowski <con...@majchrowski.de> wrote:

Now we would like to use the same "customer docker host" across all environments (including Linux based one).

Hello,

yes is possible.

have a look at this parameter:


force_host_vm (boolean) - If true, then a host VM will be spun up even if the computer running Vagrant supports Linux containers. This is useful to enforce a consistent environment to run Docker.

Alvaro.

Tomasz Majchrowski

unread,
Feb 1, 2016, 6:11:21 PM2/1/16
to Vagrant
Thank you Alvaro. Works OK (this is the option i was looking for).  BR, Tomasz
Reply all
Reply to author
Forward
0 new messages