Return-Path: X-Original-To: apmail-activemq-users-archive@www.apache.org Delivered-To: apmail-activemq-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 341EB11E86 for ; Sat, 17 May 2014 07:40:11 +0000 (UTC) Received: (qmail 56576 invoked by uid 500); 17 May 2014 07:07:06 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 55426 invoked by uid 500); 17 May 2014 07:07:04 -0000 Mailing-List: contact users-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@activemq.apache.org Delivered-To: mailing list users@activemq.apache.org Received: (qmail 45741 invoked by uid 99); 17 May 2014 06:44:27 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 17 May 2014 06:44:27 +0000 X-ASF-Spam-Status: No, hits=3.1 required=5.0 tests=HK_RANDOM_ENVFROM,HK_RANDOM_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of sonicaaaa@gmail.com designates 209.85.220.178 as permitted sender) Received: from [209.85.220.178] (HELO mail-vc0-f178.google.com) (209.85.220.178) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 17 May 2014 06:44:24 +0000 Received: by mail-vc0-f178.google.com with SMTP id hq16so7468876vcb.9 for ; Fri, 16 May 2014 23:44:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=gWT7I8fJPkhMcYcdHWHupDWq8DU/D6Y/ykgLOHbIKCY=; b=0qva59fsStf+y8wtImkSnJZhy2aegnnBmt+1uoGGF6lztKAIICoQUlcArDzs72ht2w +7D/RL9DORrIZ+t1pNpKxIXV8Mo3k+rL3NJetSzbG94GfDz62UVk4Uq0ImF+bZGGXIKM rpZBLCItGHYZ76xg+FvPQw7ThLHC7fhZgHVXHz8JNPTDJfl9LNf3CYY4eHulZEI+6sdO BhP73Kc9N0vU/lHZkbGtSWy2YWP/wvD+MfqD4CMaAnRlHVKRedQhSDAMNfIq2kxZGbqb 5xYzReJdMf9PmgfzgQrH1E0PVEnZzOEmyAfBmTJImLDKqMx5wm+3fIMInTV2NqscUaz5 0Eew== X-Received: by 10.58.188.37 with SMTP id fx5mr9341690vec.17.1400309040624; Fri, 16 May 2014 23:44:00 -0700 (PDT) MIME-Version: 1.0 Received: by 10.220.64.198 with HTTP; Fri, 16 May 2014 23:43:40 -0700 (PDT) In-Reply-To: References: From: sonica Date: Sat, 17 May 2014 08:43:40 +0200 Message-ID: Subject: Re: Activemq on Docker To: users@activemq.apache.org Content-Type: multipart/alternative; boundary=089e01183d0af139d404f992dae3 X-Virus-Checked: Checked by ClamAV on apache.org --089e01183d0af139d404f992dae3 Content-Type: text/plain; charset=UTF-8 HI Noel, is Docker"Link hostnames" an option for you? With Docker 1.11 running your container with this syntax docker run -i -t --name this_container --link other_container: other_container any_image Is supposed to inject for you an entry in "this_container" /etc/hosts pointing to the dynamic ip of "other_container". see: http://blog.docker.io/2014/05/docker-0-11-release-candidate-for-1-0/ On Sat, May 17, 2014 at 6:15 AM, Noel OConnor wrote: > Hi, > I'm trying to get activemq working on a Docker container. I've got the > basic install going and I'm now trying to configure multicast discovery so > that multiple containers can be connected together. > I've turned on the multicast discovery and the containers are trying to > connect. > However the two activemq instances cannot create a network bridge as the > multicast discovery protocol passes the hostname of the activemq instance > rather than the ip address. The other container cannot resolve the passed > hostname and the bridge fails. > > I've seen a number of posts around this and the general response that I can > see is "sort out your DNS setting or edit the /etc/hosts file". This > doesn't really help in a dynamic environment such as a docker container. > > I was wondering if there was a workaround for this i.e. turning off DNS > hostname resolution ? > > thanks for your help > Noel > --089e01183d0af139d404f992dae3--