Return-Path: X-Original-To: apmail-mesos-user-archive@www.apache.org Delivered-To: apmail-mesos-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 37ACD18CE8 for ; Mon, 4 May 2015 23:00:54 +0000 (UTC) Received: (qmail 31900 invoked by uid 500); 4 May 2015 23:00:53 -0000 Delivered-To: apmail-mesos-user-archive@mesos.apache.org Received: (qmail 31848 invoked by uid 500); 4 May 2015 23:00:53 -0000 Mailing-List: contact user-help@mesos.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@mesos.apache.org Delivered-To: mailing list user@mesos.apache.org Received: (qmail 31838 invoked by uid 99); 4 May 2015 23:00:53 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 May 2015 23:00:53 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: message received from 54.164.171.186 which is an MX secondary for user@mesos.apache.org) Received: from [54.164.171.186] (HELO mx1-us-east.apache.org) (54.164.171.186) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 May 2015 23:00:48 +0000 Received: from mail-pd0-f177.google.com (mail-pd0-f177.google.com [209.85.192.177]) by mx1-us-east.apache.org (ASF Mail Server at mx1-us-east.apache.org) with ESMTPS id 1FF7842AB6 for ; Mon, 4 May 2015 23:00:28 +0000 (UTC) Received: by pdbnk13 with SMTP id nk13so176046591pdb.0 for ; Mon, 04 May 2015 15:58:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=9twjuT+ip7EWHinI8FhowvoKpZkyhHmrHU7Hzn499MM=; b=JVxlmSA05VCH5XqXi8F6Xw1GR2mVEx3ClLth+pcOBzXOaP7ZHT+fsqy0DJOVQDnATr H49zSiSV5klIReNpglEGj18cHnaRwn2xJPHyOx+1M0ZQkFCW+e5fbt4oBIFgLRMJv8F2 vGx/2AGUO123gU9/bCVgr/xN0Asih5K1sSJSK391yKflvxPj3CzzVWoVyeaD3S3L+DPo Sy7VzqhpeiNvlve7flPhLJgG/LhDzDGrTAmXdWMT5xKSsxs5mByoquHjqBIERSebAxgA kW6idCyAorlaxrIEIjDqrZxbTOBo9QPbxtOAc7Pdsv+ODBK8WYFj0iPMxMcIygxofrgy TRGQ== MIME-Version: 1.0 X-Received: by 10.70.130.198 with SMTP id og6mr46009962pdb.153.1430780337273; Mon, 04 May 2015 15:58:57 -0700 (PDT) Received: by 10.70.52.233 with HTTP; Mon, 4 May 2015 15:58:57 -0700 (PDT) Date: Mon, 4 May 2015 15:58:57 -0700 Message-ID: Subject: bridging a mesos-launched container to public (local) network From: No One To: user@mesos.apache.org Content-Type: multipart/alternative; boundary=001a11c3e104c1405605154981e4 X-Virus-Checked: Checked by ClamAV on apache.org --001a11c3e104c1405605154981e4 Content-Type: text/plain; charset=UTF-8 I have a specific Docker container use case, that requires the container to get a DHCP address from my local network. I've been accomplishing this using networking containers that use Pipework to bridge to the host interface and link to the app container ( https://github.com/jeroenpeeters/docker-network-containers). I'm trying to figure out how to accomplish the same thing within the Mesos/Marathon framework - how can I launch a container can be bridged onto my local network so that it can receive (and run) an IP via DHCP? I could potentially just continue using docker-network-containers, but I need some way to make sure the network container lands on the same slave as the app container. Or, I need to figure out some other method of getting a particular container on my local network altogether. Thanks! Jay --001a11c3e104c1405605154981e4 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
I have a specific Docker container use case, that requires= the container to get a DHCP address from my local network.=C2=A0 I've = been accomplishing this using networking containers that use Pipework to br= idge to the host interface and link to the app container (https://github.com/je= roenpeeters/docker-network-containers).

I'm tryi= ng to figure out how to accomplish the same thing within the Mesos/Marathon= framework - how can I launch a container can be bridged onto my local netw= ork so that it can receive (and run) an IP via DHCP?

I could potentially just continue using docker-network-containers, but I= need some way to make sure the network container lands on the same slave a= s the app container.=C2=A0 Or, I need to figure out some other method of ge= tting a particular container on my local network altogether.

=
Thanks!
Jay
--001a11c3e104c1405605154981e4--