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

2014-08-25 Thread Marouen Mechtri
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@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


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

2014-08-26 Thread Marouen Mechtri
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 asalk...@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.mar...@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@lists.openstack.org
 http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev



 ___
 OpenStack-dev mailing list
 OpenStack-dev@lists.openstack.org
 http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


___
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


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

2014-08-26 Thread Marouen Mechtri
Hi Chandra,

I updated the link to the docker guide.

https://github.com/MarouenMechtri/Docker-containers-deployment-with-OpenStack-Heat

Regards,
Marouen


2014-08-26 1:21 GMT+02:00 Chandra Kamalakantha 
chandra_kamalakan...@yahoo.com:

 Hi, Did you by chance include the wrong link?  The link below is mostly
 Heat and nothing on Docker.

 MarouenMechtri/OpenStack-Heat-Installation
 https://github.com/MarouenMechtri/OpenStack-Heat-Installation/blob/master/OpenStack-Heat-Installation.rst

   --
  *From:* Marouen Mechtri mechtri.mar...@gmail.com
 *To:* openstack openst...@lists.openstack.org; openstack-dev 
 openstack-dev@lists.openstack.org; 
 openstack-operat...@lists.openstack.org 
 openstack-operat...@lists.openstack.org
 *Sent:* Monday, August 25, 2014 2:56 PM
 *Subject:* [Openstack] [Heat][Docker] How to Dockerize your applications
 with OpenStack Heat in simple steps

 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

 ___
 Mailing list:
 http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
 Post to: openst...@lists.openstack.org
 Unsubscribe :
 http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack



___
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


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

2014-08-26 Thread Marouen Mechtri
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/Docker-containers-deployment-with-OpenStack-Heat

Hope it will be helpful for many people. Please let us know your opinion
about it.

Apologies if you receive multiple copies of this message :). I include the
wrong link in the previous mail.

Regards,
Marouen Mechtri


2014-08-26 10:55 GMT+02:00 Marouen Mechtri mechtri.mar...@gmail.com:

 Hi Chandra,

 I updated the link to the docker guide.


 https://github.com/MarouenMechtri/Docker-containers-deployment-with-OpenStack-Heat

 Regards,
 Marouen


 2014-08-26 1:21 GMT+02:00 Chandra Kamalakantha 
 chandra_kamalakan...@yahoo.com:

 Hi, Did you by chance include the wrong link?  The link below is mostly
 Heat and nothing on Docker.

 MarouenMechtri/OpenStack-Heat-Installation
 https://github.com/MarouenMechtri/OpenStack-Heat-Installation/blob/master/OpenStack-Heat-Installation.rst

   --
  *From:* Marouen Mechtri mechtri.mar...@gmail.com
 *To:* openstack openst...@lists.openstack.org; openstack-dev 
 openstack-dev@lists.openstack.org; 
 openstack-operat...@lists.openstack.org 
 openstack-operat...@lists.openstack.org
 *Sent:* Monday, August 25, 2014 2:56 PM
 *Subject:* [Openstack] [Heat][Docker] How to Dockerize your applications
 with OpenStack Heat in simple steps

 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

 ___
 Mailing list:
 http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
 Post to: openst...@lists.openstack.org
 Unsubscribe :
 http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack




___
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


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

2014-08-27 Thread Marouen Mechtri
Hi Thiago,

Yes Docker could be used to replace the virtualization layer on the Compute
Node, it's the case if we configure Nova to use the Docker Driver.

In our case, we are orchestrating Docker in OpenStack via Heat.  We used a
VM as a docker host for many reasons :

  - It is a way to economize IP addresses :

If the docker host is a physical server,  every container needs a floating
IP (to be reachable from outside).  When the docker host is a VM, we
associate one floating IP to it and we can access to containers via binding
ports  (@VM-floatingIP:container-binding-port).

  - To achieve stronger isolation and security

  - To easily integrate docker with existing VM-based management and
monitoring tools

  - We think that Docker and virtualization could also be complementary.


Thank you for the question
We will update the document to clarify these points.

https://github.com/MarouenMechtri/Docker-containers-deployment-with-OpenStack-Heat

Regards,
Marouen


2014-08-26 21:35 GMT+02:00 Martinx - ジェームズ thiagocmarti...@gmail.com:

 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.mar...@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 asalk...@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.mar...@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@lists.openstack.org
 http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev



 ___
 OpenStack-dev mailing list
 OpenStack-dev@lists.openstack.org
 http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev



 ___
 OpenStack-dev mailing list
 OpenStack-dev@lists.openstack.org
 http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev



 ___
 OpenStack-dev mailing list
 OpenStack-dev@lists.openstack.org
 http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


___
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev