From owner-freebsd-virtualization@freebsd.org Wed Jan 23 06:52:24 2019 Return-Path: Delivered-To: freebsd-virtualization@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E17D514BD77F for ; Wed, 23 Jan 2019 06:52:23 +0000 (UTC) (envelope-from xenon@ze.tum.de) Received: from mail.ze.tum.de (mail.ze.tum.de [IPv6:2001:4ca0:2e03::1:2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.ze.tum.de", Issuer "Zertifizierungsstelle der TUM" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id EF2CC8D5EC for ; Wed, 23 Jan 2019 06:52:22 +0000 (UTC) (envelope-from xenon@ze.tum.de) Received: from [129.187.39.201] (xenostar.ze.tum.de [129.187.39.201]) (authenticated bits=0) by mail.ze.tum.de (8.15.2/8.15.2) with ESMTPSA id x0N6qJFi016144 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Wed, 23 Jan 2019 07:52:19 +0100 (CET) (envelope-from xenon@ze.tum.de) X-Authentication-Warning: hades.ze.tum.de: Host xenostar.ze.tum.de [129.187.39.201] claimed to be [129.187.39.201] Subject: Re: The status of docker To: freebsd-virtualization@freebsd.org References: <089e330d-2761-2440-3b7f-dd22e9088af5@gjunka.com> <9A01020A-7CC6-4893-A425-11A7BF736F4E@ultra-secure.de> <42f59b63-fdc7-306f-d836-83533741a86c@FreeBSD.org> <5c926314-adce-dba1-f5ce-2fda35e1aeba@gjunka.com> From: =?UTF-8?Q?J=c3=bcrgen_Ofner?= Message-ID: Date: Wed, 23 Jan 2019 07:52:19 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.2.1 MIME-Version: 1.0 In-Reply-To: <5c926314-adce-dba1-f5ce-2fda35e1aeba@gjunka.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Content-Language: de-DE X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.29 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: Wed, 23 Jan 2019 06:52:24 -0000 Am 22.01.19 um 20:48 schrieb Grzegorz Junka: > On 22/01/2019 08:28, Patrick M. Hausen wrote: >> Good morning, >> >>> Am 22.01.2019 um 03:57 schrieb Craig Rodrigues : >>> I hope I am wrong, but unfortunately I think getting Docker to work on >>> natively on FreeBSD is ultimately a losing battle, >>> unless you can get a team of several developers to work on it full >>> time. >> I have the same gut feeling, but unless somebody actually tries, we >> can’t >> tell for sure, can we? ;-) >> >> Thanks for making the effort. >> >> Now what I wanted to throw in: possibly getting in touch with some of >> the >> people at Joyent who implemented Docker support for Illumos/Solaris >> zones might help: >> >> https://www.joyent.com/blog/triton-docker-and-the-best-of-all-worlds >> > > I think the question is how much should be implemented by a freebsd > port and how much should come from the native linux/docker > implementation. There are two extremes: > > 1. Linux in bhyve, docker is running completely in Linux environment > > 2. A docker container in a jail with no native linux kernel, docker is > running completely in FreeBSD environment > > 1 is the least convenient because it requires all the hurdles related > to setting up a bhyve host, including proper network configuration for > containers and pre-allocating disk space. But it also requires no > implementation in freebsd-related docker ports apart from maybe adding > support to docker tools, like docker-machine for example > > 2 would be most convenient but also most difficult as all smallest > docker features would need to be ported natively to FreeBSD > > I believe docker and freebsd-docker ports were trying different > approaches somewhere in between these extremes. Maybe the correct > approach would be to start with 1 and make running docker in bhyve as > convenient as possible, then slowly move to 2 as much as > interest/resources allow? > > GrzegorzJ > 3. A Docker Hub Forge with Container basis on Free-BSD >   -- ------------------------------------------------------------------------ technische Universität München WWW & Online Service Systemadministrator Jürgen Ofner Tel. : 089 289 25266 Fax : 089 289 25257