From owner-freebsd-virtualization@freebsd.org Fri Jan 29 06:51:45 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 3BFDAA72DB9 for ; Fri, 29 Jan 2016 06:51:45 +0000 (UTC) (envelope-from doublef.mobile@gmail.com) Received: from mail-wm0-x229.google.com (mail-wm0-x229.google.com [IPv6:2a00:1450:400c:c09::229]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id C69E213DA for ; Fri, 29 Jan 2016 06:51:44 +0000 (UTC) (envelope-from doublef.mobile@gmail.com) Received: by mail-wm0-x229.google.com with SMTP id p63so54777685wmp.1 for ; Thu, 28 Jan 2016 22:51:44 -0800 (PST) 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 :cc:content-type; bh=5+3pGAIh14EuCcLFwxC+e8IBjvbwMRs18gZgwgowqx8=; b=hiHq8JIUfbOvVnadyFkjh4CqKBgrIzhuwqStHT0XqhcBfHd2W5e6dcs4UBxsOJEaix yoToU77sOZaJlMLmVPm7wcyLitMW5CVpr9Vdt18B+bVYS0/SEf8CIfVuyvVmQcaN4797 UZIje9leO7vAeDXhgWCdTmWKwynUZsWY4eGwA+OI1fCXplOSd3rwgp2cYBgsKX/zxqX3 +h4BcgmzXqyA4TwZeAcpWbAHPa8qorn8ePbYvggYTjwBfjYSOmPH64J0lt6VyRWkIvzM KuFaxAqwSkINDLPKOiSqs8gudizWvw33+QQlNLygfoQUvKgnVGMxYE8+TVwg6lrRlUC7 dfpA== 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:from:date :message-id:subject:to:cc:content-type; bh=5+3pGAIh14EuCcLFwxC+e8IBjvbwMRs18gZgwgowqx8=; b=ONZIMOipccGh2pTS9adVWJ1NGfkrNkZ0GzW13CvyVFqtpTzu9VXi4VUjOUx7dcIj9J uB0puiVEyUtlwT6bEtI2yd9mMlNWzlQLS1Fef2cIXFJh1wVyKvs1KlvmFl1M8SPR/MC/ x+LbJa8SIg/fsxGowwsQzJAQ5lHkAcC/sxGjACXknHIxZCdeiB1bgaKqsVBmmlFp9evS 3+iga0nW94wI0c6Htp+uKyDHv000FrnsVbf9ujiRBZuqm2FBwxGs6ynDOL5QgH4jdVZR GFzi23pjM4C+O6pAnevZ1jDl0qcYF2/hlILGB/prehRXfwG7vKHzUOWvWs/xkQw0xeS9 BYrA== X-Gm-Message-State: AG10YOTVvm+g0442ArqGpnyBApMGXupbc4+Dnq3CmQzsK9dspiZe1aHyAqIRgi0DEnjWldvY9YtF96hdCxB6JA== X-Received: by 10.28.187.67 with SMTP id l64mr6730726wmf.39.1454050302971; Thu, 28 Jan 2016 22:51:42 -0800 (PST) MIME-Version: 1.0 Received: by 10.28.93.6 with HTTP; Thu, 28 Jan 2016 22:51:23 -0800 (PST) In-Reply-To: References: From: Sergey Zakharchenko Date: Fri, 29 Jan 2016 09:51:23 +0300 Message-ID: Subject: Re: Docker on FreeBSD To: Ryan Holt Cc: "freebsd-virtualization@freebsd.org" Content-Type: text/plain; charset=UTF-8 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 06:51:45 -0000 Hello Ryan, 2016-01-21 23:15 GMT+03:00 Ryan Holt : > Finished building a FreeBSD Head system today with the intent of using Docker. My condolences. > Is there a workaround to getting DNS inside of a container aside from manually 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=204897 :) ), #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