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 F2482179B8 for ; Wed, 22 Oct 2014 04:17:31 +0000 (UTC) Received: (qmail 3921 invoked by uid 500); 22 Oct 2014 04:17:31 -0000 Delivered-To: apmail-stratos-dev-archive@stratos.apache.org Received: (qmail 3865 invoked by uid 500); 22 Oct 2014 04:17:31 -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 3854 invoked by uid 99); 22 Oct 2014 04:17:31 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 22 Oct 2014 04:17:31 +0000 X-ASF-Spam-Status: No, hits=1.7 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of nirmal070125@gmail.com designates 74.125.82.51 as permitted sender) Received: from [74.125.82.51] (HELO mail-wg0-f51.google.com) (74.125.82.51) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 22 Oct 2014 04:17:05 +0000 Received: by mail-wg0-f51.google.com with SMTP id b13so2678102wgh.34 for ; Tue, 21 Oct 2014 21:17:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=Gi810g6urLnvZokDdoVFkaqco0eiThU417H2A5NrgHA=; b=tPg3IC6nozLSVwlwE8MMwRdRaHEaGC9lt3rBQu9xTpQbr8ugsttYZp3gYm1xtrl20R BxtjnGkOe6fbcET6A49g8zZoIAfn68XVPpv2wHbPSsCD8x8xpKi56nzj3tgO/Bc6gnTj r7l6terY2732MItA552gNKqrm30B/nnkc41EhJ96sMkzT+zezoyr+p+sXR8Y523uehfQ gfAuGdyl+QUGizO8vzC9Pl6YZXTR7McVGdtEg3jJoZIwr9htTkco58cXllJIr9cM+Aum bUAjF/o7F0Phd01NEU1Am3Y6n4q7baUMxP/YtTN1iv66vtNCSN57XHxBV+f5rDx3t8S+ 07EA== MIME-Version: 1.0 X-Received: by 10.180.38.9 with SMTP id c9mr2617419wik.5.1413951425235; Tue, 21 Oct 2014 21:17:05 -0700 (PDT) Received: by 10.194.61.211 with HTTP; Tue, 21 Oct 2014 21:17:05 -0700 (PDT) In-Reply-To: References: Date: Wed, 22 Oct 2014 06:17:05 +0200 Message-ID: Subject: Re: Docker pulling the image from the repository in the Kubernetes setup From: Nirmal Fernando To: dev Content-Type: multipart/alternative; boundary=e89a8f6433426e500d0505fb386e X-Virus-Checked: Checked by ClamAV on apache.org --e89a8f6433426e500d0505fb386e Content-Type: text/plain; charset=UTF-8 Hi Chamila, We need to talk to Kubernetes team and understand the exact behavior. Please have a chat with them at the #google-containers IRC channel. On Wed, Oct 22, 2014 at 12:11 AM, Chamila De Alwis wrote: > Hi, > > I'm not sure if this was discussed earlier, and if it was please direct me > to the thread title. > > In the Kubernetes setup, it seems if the mentioned image is present in a > Docker repository, the central Docker hub in the normal case, Docker will > pull that image and replace over the image already loaded in to the > container host instead of using the loaded image. So this means the image > in the repository has priority over the locally loaded image. > > Shouldn't it be the other way around? > > Regards, > Chamila de Alwis > Software Engineer | WSO2 | +94772207163 > Blog: code.chamiladealwis.com > > > -- Best Regards, Nirmal Nirmal Fernando. PPMC Member & Committer of Apache Stratos, Senior Software Engineer, WSO2 Inc. Blog: http://nirmalfdo.blogspot.com/ --e89a8f6433426e500d0505fb386e Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi Chamila,

We need to talk to Kubernet= es team and understand the exact behavior. Please have a chat with them at = the #google-containers IRC channel.
<= br>
On Wed, Oct 22, 2014 at 12:11 AM, Chamila De = Alwis <chamilad@wso2.com> wrote:
Hi,

I'm not sure if this= was discussed earlier, and if it was please direct me to the thread title.=

In the Kubernetes setup, it seems if the mentioned image is p= resent in a Docker repository, the central Docker hub in the normal case, D= ocker will pull that image and replace over the image already loaded in to = the container host instead of using the loaded image. So this means the ima= ge in the repository has priority over the locally loaded image.

Sho= uldn't it be the other way around?

Regards,
Chamila = de Alwis
S= oftware Engineer | WSO2 | <= a href=3D"tel:%2B94772207163" value=3D"+94772207163" target=3D"_blank">+947= 72207163
= Blog: code.chamiladealwis.com





--
Best Regards,
Nirmal

Nirmal Fernando.
PPMC Member & C= ommitter of Apache Stratos,
Senior Software Engineer, WSO2 Inc.
=
--e89a8f6433426e500d0505fb386e--