Return-Path: X-Original-To: apmail-stratos-dev-archive@minotaur.apache.org Delivered-To: apmail-stratos-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 52D9817C0E for ; Wed, 28 Jan 2015 02:41:17 +0000 (UTC) Received: (qmail 64915 invoked by uid 500); 28 Jan 2015 02:41:17 -0000 Delivered-To: apmail-stratos-dev-archive@stratos.apache.org Received: (qmail 64861 invoked by uid 500); 28 Jan 2015 02:41:17 -0000 Mailing-List: contact dev-help@stratos.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@stratos.apache.org Delivered-To: mailing list dev@stratos.apache.org Received: (qmail 64836 invoked by uid 99); 28 Jan 2015 02:41:16 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 Jan 2015 02:41:16 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of lakmal@wso2.com designates 209.85.213.175 as permitted sender) Received: from [209.85.213.175] (HELO mail-ig0-f175.google.com) (209.85.213.175) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 Jan 2015 02:40:52 +0000 Received: by mail-ig0-f175.google.com with SMTP id hn18so8202888igb.2 for ; Tue, 27 Jan 2015 18:40:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wso2.com; s=google; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=JDgC39knD4rC3a5vlvyK+n0EKHUiWtiP5Bmpwuctaw0=; b=R3pBQaoFU6Dt+8DCzqgdTge4s2jAlJgEK11eVUFtw3Jynor7E5fkIScIo3+QMD2KgM T+/ipIotfd3KaM/KJwc2QdTKqDmypvIHU3aa34fLt9nyYme9+OCuwW59H/TWXAT+KQmY oW5r7A0NZJ/N6c8MhVwiR7W86RqyNS+0U5uUc= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=JDgC39knD4rC3a5vlvyK+n0EKHUiWtiP5Bmpwuctaw0=; b=Esm6kebgKPksnXNUVhE98kFTZc7LIsOP8c3b5FU3nHMIyH2Q8exQoRYoJGiG1h3o6T hS5fNsW/3UXvW/E+iUmvxGb9MYqWLdQTGCGsq3t2Hjct0tXbSQwfsYg1QHhXUTY1OxA+ j7xPxzn7GZeVAExpG5SM2lo+GBniC0QyzbeETBCwmqxn/e34jC48uXmH9SrGan2QI0NR 1QOoYnL7RpWzLS9Ass+/WiiT225gbmB1OeB1dxu6LPfdgZeBDw7hJiay5wnqspWzJXpc GObQUDQVx0Ixs9hy/jTU24oZVH4K6lyQLONXYMETIuifPNw7rNbJ5wNtreVf77njcr3F xM9A== X-Gm-Message-State: ALoCoQmvOUNdbYcV/nh5FOdG8SYoQI2+PeGhUeMylHVXC2QjaDbThp25pGsmeVK5fGvaEfsnL4hI MIME-Version: 1.0 X-Received: by 10.50.222.70 with SMTP id qk6mr1050537igc.47.1422412804897; Tue, 27 Jan 2015 18:40:04 -0800 (PST) Received: by 10.107.47.170 with HTTP; Tue, 27 Jan 2015 18:40:04 -0800 (PST) In-Reply-To: References: Date: Wed, 28 Jan 2015 08:10:04 +0530 Message-ID: Subject: Re: [Discuss] Building Puppet-Based Applications Inside Docker From: Lakmal Warusawithana To: "dev@stratos.apache.org" Content-Type: multipart/alternative; boundary=001a11344d8af5d646050dad499f X-Virus-Checked: Checked by ClamAV on apache.org --001a11344d8af5d646050dad499f Content-Type: text/plain; charset=UTF-8 Hi Imesh, This was there form the beginning. This is for create docker image using puppet, not running puppet inside a container and install application at run time. By design docker not mean to support this, because it have not a init system inside the container. By design it recommend to run single processor inside a container. On Wed, Jan 28, 2015 at 12:39 AM, Imesh Gunaratne wrote: > Hi Devs, > > This is cool, now we can use Puppet with Docker: > http://puppetlabs.com/blog/building-puppet-based-applications-inside-docker > > Currently we package Cartridge Agent package with base docker image. This > is an overhead. Each time we update the Cartridge Agent package we need to > re-create the base docker image and service docker images. > > Now with this approach we can host puppet modules in a git repo and create > a base docker image without bundling any software. Then we can create > service docker images by bundling Puppetfiles which can install puppet > modules on runtime. > This is wrong. it not install modules run time, rather it re-create docker image with help from puppet. > This is great! > > Thanks > > > -- > Imesh Gunaratne > > Technical Lead, WSO2 > Committer & PMC Member, Apache Stratos > -- Lakmal Warusawithana Vice President, Apache Stratos Director - Cloud Architecture; WSO2 Inc. Mobile : +94714289692 Blog : http://lakmalsview.blogspot.com/ --001a11344d8af5d646050dad499f Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi Imesh,

This was there form the begin= ning. This is for create docker image using puppet, not running puppet insi= de a container and install application at run time. By design docker not me= an to support this, because it have not a init system inside the container.= By design it recommend to run single processor inside a container.

On Wed, Jan 28, 201= 5 at 12:39 AM, Imesh Gunaratne <imesh@apache.org> wrote:
<= blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px= #ccc solid;padding-left:1ex">
Hi Devs,

= This is cool, now we can use Puppet with Docker:

Currently we package Cartr= idge Agent package with base docker image. This is an overhead. Each time w= e update the Cartridge Agent package we need to re-create the base docker i= mage and service docker images.

Now with this appr= oach we can host puppet modules in a git repo and create a base docker imag= e without bundling any software. Then we can create service docker images b= y bundling Puppetfiles which can install puppet modules on runtime.
<= /div>

This is wrong. it not install modules= run time, rather it re-create docker image with help from puppet.

=C2=A0
This is great!

Thanks


--
Imesh Gunaratne

Technical Lead, WSO2
Committer & PMC Member, Apache Stratos



--
Lakmal Warusawithana
Vice Preside= nt, Apache Stratos
Director - Cloud Architecture; WSO2 Inc.
Mobile : +94714289692
--001a11344d8af5d646050dad499f--