[openstack-dev] [Heat][Docker] How to Dockerize your applications with OpenStack Heat in simple steps

Alex Leonhardt aleonhardt.py at gmail.com
Thu Sep 4 05:54:10 UTC 2014


Hi Thiago,

IMO - no - docker is not a "replacement for VMs". Docker can be used to
isolate (and with it make them also transportable) applications from the
underlying OS and other apps running on that same host.

Imagine you have a EC2 / RackSpace instance - they charge X per VM instance
whether or not you use its CPU 100% of the time, seems like a waste of
money ... with docker, you can make sure that you utilise that instance
more efficiently. E.g. run 2 apps that need completely different
dependencies on the same instance w/o the need to worry about system libs
being screwed with as they are fully isolated from each other.

Hope this makes a little sense ? :)

Alex



On 26 August 2014 20:35, Martinx - ジェームズ <thiagocmartinsc at gmail.com> wrote:

> Hey Stackers! Wait!   =)
>
> Let me ask something...
>
> Why are you guys using Docker within a VM?!?! What is the point of doing
> such thing?!
>
> I thought Docker was here to entirely replace the virtualization layer,
> bringing a "bare metal-cloud", am I right?!
>
> Tks!
> Thiago
>
>
> On 26 August 2014 05:45, Marouen Mechtri <mechtri.marwen at gmail.com> wrote:
>
>> Hi Angus,
>>
>> We are not using nova-docker driver to deploy docker containers.
>>
>> In our manual, we are using Heat (thanks to the docker plugin) to deploy
>> docker containers and nova is just used to deploy VM. Inside this VM
>> heat deploy the docker software. The figure below describes the
>> interactions between different components.
>>
>> Regards,
>> Marouen
>>
>>
>>  [image: Images intégrées 1]
>>
>>
>>
>>
>> 2014-08-26 0:13 GMT+02:00 Angus Salkeld <asalkeld at mirantis.com>:
>>
>> This seems misleading as there is no description on setting up
>>> nova-docker or using the heat docker container.
>>>
>>> -Angus
>>>
>>>
>>>
>>> On Tue, Aug 26, 2014 at 5:56 AM, Marouen Mechtri <
>>> mechtri.marwen at gmail.com> wrote:
>>>
>>>>  Hi all,
>>>>
>>>> I want to present you our guide for Docker containers deployment with
>>>> OpenStack Heat.
>>>> In this guide we dockerize and deploy a lamp application on two
>>>> containers.
>>>>
>>>>
>>>> https://github.com/MarouenMechtri/OpenStack-Heat-Installation/blob/master/Docker-containers-deployment-with-OpenStack-Heat.rst
>>>> <https://github.com/MarouenMechtri/OpenStack-Heat-Installation/blob/master/OpenStack-Heat-Installation.rst>
>>>>
>>>>
>>>> Hope it will be helpful for many people. Please let us know your
>>>> opinion about it.
>>>>
>>>> Regards,
>>>> Marouen Mechtri
>>>>
>>>> _______________________________________________
>>>> OpenStack-dev mailing list
>>>> OpenStack-dev at lists.openstack.org
>>>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>>>>
>>>>
>>>
>>> _______________________________________________
>>> OpenStack-dev mailing list
>>> OpenStack-dev at lists.openstack.org
>>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>>>
>>>
>>
>> _______________________________________________
>> OpenStack-dev mailing list
>> OpenStack-dev at lists.openstack.org
>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>>
>>
>
> _______________________________________________
> OpenStack-dev mailing list
> OpenStack-dev at lists.openstack.org
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20140904/c9a57dac/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: docker-plugin.jpg
Type: image/jpeg
Size: 99834 bytes
Desc: not available
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20140904/c9a57dac/attachment.jpg>


More information about the OpenStack-dev mailing list