From owner-freebsd-virtualization@freebsd.org Fri Jan 29 11:52:30 2016 Return-Path: Delivered-To: freebsd-virtualization@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2DCC5A72465 for ; Fri, 29 Jan 2016 11:52:30 +0000 (UTC) (envelope-from ryan@ryanholt.net) Received: from na01-bn1-obe.outbound.protection.outlook.com (mail-bn1bon0144.outbound.protection.outlook.com [157.56.111.144]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (Client CN "mail.protection.outlook.com", Issuer "MSIT Machine Auth CA 2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id CC2B510EA for ; Fri, 29 Jan 2016 11:52:29 +0000 (UTC) (envelope-from ryan@ryanholt.net) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=holt.onmicrosoft.com; s=selector1-ryanholt-net; h=From:To:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=GP/eKTi8DB77C4pm4AX1Iu+vLSQDQIdoDwTMV0wN2SU=; b=FLiX50NeoKfbY5n6D2TwYm7xNAxpzF4Bhr2/g/HqgTZHq2QJqC+OfUfZkeHn81MUf1WOP/6Wk2hDmahK7r+NkGcxLZuOW6WNzFMBVgrE1XufghZ+OpoqTdYbPGyW891fXpDMBDMYD8fnD+C2uBCcDcn0pPg8KNQpNvSEz3WNB78= Received: from BLUPR08MB1170.namprd08.prod.outlook.com (10.163.86.151) by BLUPR08MB1171.namprd08.prod.outlook.com (10.163.86.152) with Microsoft SMTP Server (TLS) id 15.1.396.15; Fri, 29 Jan 2016 11:19:31 +0000 Received: from BLUPR08MB1170.namprd08.prod.outlook.com ([10.163.86.151]) by BLUPR08MB1170.namprd08.prod.outlook.com ([10.163.86.151]) with mapi id 15.01.0396.017; Fri, 29 Jan 2016 11:19:31 +0000 From: Ryan Holt To: Sergey Zakharchenko CC: "freebsd-virtualization@freebsd.org" Subject: RE: Docker on FreeBSD Thread-Topic: Docker on FreeBSD Thread-Index: AdFUiDsH2GfXLkQjSNyYQAbJADTuVwF2TxCAAAldXy4= Date: Fri, 29 Jan 2016 11:19:31 +0000 Message-ID: References: , In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: gmail.com; dkim=none (message not signed) header.d=none;gmail.com; dmarc=none action=none header.from=ryanholt.net; x-originating-ip: [2600:1003:b002:8b:a5cf:c770:3d10:f638] x-microsoft-exchange-diagnostics: 1; BLUPR08MB1171; 5:RAuuAFY5J389sgH0z2mFSUIX2830+GJtlu5HcC51Kjrc0Fj6MFHgLLvGypJK8bieAQocoKMiiaQc8/QiRlEl+qAQ7hze+sQgTE6PGieCSmMWJ4We0SNMUnmLsB50E763Lvb7mo1CQX5l1XUOcvSz+A==; 24:C2RLOCMymh+loZF9mLlkN1cL4KN/bHxB/wTo2ZPLY6xWDrBds/jcLbNV8Mp+vd/WTJ71oYKiCAiC3oEor6FmD5L8plyh3fQxNY5XelmLizA= x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BLUPR08MB1171; x-ms-office365-filtering-correlation-id: ab5c5be8-0a2a-4da8-92ce-08d3289e0f7b x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:; x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(601004)(2401047)(5005006)(8121501046)(3002001)(10201501046); SRVR:BLUPR08MB1171; BCL:0; PCL:0; RULEID:; SRVR:BLUPR08MB1171; x-forefront-prvs: 083691450C x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(979002)(3905003)(377424004)(51914003)(377454003)(3470700001)(3480700001)(50986999)(76176999)(19580405001)(19580395003)(92566002)(3280700002)(54356999)(2906002)(99286002)(19625215002)(76576001)(19617315012)(106356001)(4326007)(10400500002)(5003600100002)(77096005)(102836003)(6116002)(15975445007)(74316001)(87936001)(3660700001)(189998001)(2900100001)(5002640100001)(2950100001)(16236675004)(586003)(33656002)(5008740100001)(1220700001)(11100500001)(5001960100002)(110136002)(122556002)(1096002)(5004730100002)(86362001)(40100003)(3826002)(19627235001)(969003)(989001)(999001)(1009001)(1019001); DIR:OUT; SFP:1102; SCL:1; SRVR:BLUPR08MB1171; H:BLUPR08MB1170.namprd08.prod.outlook.com; FPR:; SPF:None; MLV:ovrnspm; PTR:InfoNoRecords; LANG:en; spamdiagnosticoutput: 1:23 spamdiagnosticmetadata: NSPM MIME-Version: 1.0 X-OriginatorOrg: ryanholt.net X-MS-Exchange-CrossTenant-originalarrivaltime: 29 Jan 2016 11:19:31.6103 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: c11cb874-8bea-4982-9978-8e6b35a3679b X-MS-Exchange-Transport-CrossTenantHeadersStamped: BLUPR08MB1171 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 Jan 2016 11:52:30 -0000 Hi Sergey, Thanks for the response. I've since moved to Gentoo, ZFS for Linux, and Do= cker. Works really well. Sent from Outlook Mail for= Windows 10 phone From: Sergey Zakharchenko Sent: Friday, January 29, 2016 1:51 AM To: Ryan Holt Cc: freebsd-virtualization@freebsd.org Subject: Re: Docker on FreeBSD Hello Ryan, 2016-01-21 23:15 GMT+03:00 Ryan Holt : > Finished building a FreeBSD Head system today with the intent of using Do= cker. My condolences. > Is there a workaround to getting DNS inside of a container aside from man= ually building each image? The basic reason is no volume support in FreeBSD Docker port. The workaround is one of: - hacking the Docker port yourself, https://github.com/kvasdopil/docker/ is *a bit* incomplete and stale; - building a custom complicated and evil system around Docker that works around its design deficiencies and FreeBSD port incompleteness; - using Docker for building images only, and running them using vanilla jails + a custom complicated and evil system; - using jetpack instead and exposing yourself to a whole different set of problems ;) It's doable, but it is not for the faint of heart. I could share some improvements for the Docker port but kvasdopil@ seems too reluctant to make even the simplest changes (e.g. working around https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D204897 :) ), #freebsd-docker is also rather apathetic and there's no way I'm going to hack on Go (yuck) alone and then just give it away (I'm in the 'custom complicated and evil system' camp). Best regards, -- DoubleF