From owner-freebsd-virtualization@freebsd.org Wed Jan 23 06:54:52 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 E576C14BD847 for ; Wed, 23 Jan 2019 06:54:51 +0000 (UTC) (envelope-from doublef.mobile@gmail.com) Received: from mail-oi1-x229.google.com (mail-oi1-x229.google.com [IPv6:2607:f8b0:4864:20::229]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 8A5AE8D6CF; Wed, 23 Jan 2019 06:54:50 +0000 (UTC) (envelope-from doublef.mobile@gmail.com) Received: by mail-oi1-x229.google.com with SMTP id y23so972575oia.4; Tue, 22 Jan 2019 22:54:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=NUFviMUNlbvcucv3H9V9aD9rcvaDM6m27eauOzerPuY=; b=YiUzpcUXuCA/UrESj2BqWMbnzxhbMUV2XUVHsfwado/fp+8XgGHk2kYYyMMTy/gbH8 ahoBnpIAyxPERiAaMFioHeM7IB2NxcqtdbC0KqMgk8UrLo+B7MUNT7EgAk2C2/fAT0rZ ZVOYf2EE2JuCmzkUfN2ckxDg3hNESniYayLrAckXz8s9SzfPza220eL0k60mE2/4RC27 t8Dn3Vrj0A8NVtSo35k6wIGuDmXEBeERllIMxMUZsuxHTxUb/OjN5AYUfGeEfDIw4IiE KFCOp1oLR5hbOFol8TRSk8XfhWT+ggTEhD8ZcQMwwCKIdxzyKF6M1FvP6Z4pFP/Q/5C9 Yq0w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=NUFviMUNlbvcucv3H9V9aD9rcvaDM6m27eauOzerPuY=; b=P8XXpGBaZ+DWdlqk92+UHxapfhsIDZgKUY7qLpMvunSf1Ly4LvMvicVb9eKshBxJXF aoSpaMdlfzR9dhp8xWoZZUYop9TIU/fDBsmi9UyRkuBmF7qCfUcOX+/Pf7F67UvluUlD DbsxSaqZcgESIucl4x+jyNGzC2/892YCb0q3Axw8ZIEb9Th8V6rfnL2d+lBCehc0lJAh MavA86MZkMI2FvRk8cyqKnHwivMASRYc90udqYWEy/oWH0CGO+Wotv70jbkot+r5QOmx O2s/F3+5gmSV6oXXcJn4GbG6pEuS2sgZQaaFcfaL0y5TqgVw+OxR5sxVtgOktehSTDaD 2Edw== X-Gm-Message-State: AJcUukcPf+YfqVoCuwqr6vt1BaRxUQzQFym2Hp/JUyHnGXp/7SGVeRJ2 ijE/Swmm1/cgX9QDriBg5Y2Tv9n9VrgYYNZUowZ1kIeA X-Google-Smtp-Source: ALg8bN4U/f+UmFZXqOkVpM/HWxD5MB4bio6QlZqD7Yie+Bqd6FEpxA7IRT1tFIINCLhPO6MlxtnraDQWVMzGsA+IVmM= X-Received: by 2002:aca:eccb:: with SMTP id k194mr649098oih.104.1548226489452; Tue, 22 Jan 2019 22:54:49 -0800 (PST) MIME-Version: 1.0 References: <089e330d-2761-2440-3b7f-dd22e9088af5@gjunka.com> <9A01020A-7CC6-4893-A425-11A7BF736F4E@ultra-secure.de> <42f59b63-fdc7-306f-d836-83533741a86c@FreeBSD.org> In-Reply-To: <42f59b63-fdc7-306f-d836-83533741a86c@FreeBSD.org> From: Sergey Zakharchenko Date: Wed, 23 Jan 2019 06:54:38 +0000 Message-ID: Subject: Re: The status of docker To: Jochen Neumeister Cc: Rainer Duffner , Grzegorz Junka , freebsd-virtualization@freebsd.org, Martin Bodo Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: 8A5AE8D6CF X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=YiUzpcUX; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of doublefmobile@gmail.com designates 2607:f8b0:4864:20::229 as permitted sender) smtp.mailfrom=doublefmobile@gmail.com X-Spamd-Result: default: False [-6.49 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; FREEMAIL_FROM(0.00)[gmail.com]; MIME_GOOD(-0.10)[text/plain]; RCVD_TLS_LAST(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; RCPT_COUNT_FIVE(0.00)[5]; DWL_DNSWL_NONE(0.00)[gmail.com.dwl.dnswl.org : 127.0.5.0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; RCVD_IN_DNSWL_NONE(0.00)[9.2.2.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; MX_GOOD(-0.01)[cached: alt3.gmail-smtp-in.l.google.com]; IP_SCORE(-2.70)[ip: (-9.09), ipnet: 2607:f8b0::/32(-2.46), asn: 15169(-1.89), country: US(-0.08)]; NEURAL_HAM_SHORT(-0.78)[-0.778,0]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; TAGGED_FROM(0.00)[]; RCVD_COUNT_TWO(0.00)[2] 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:54:52 -0000 Hello there guys, > Not quite. I took over the docker freebsd port. Currently I am trying to > change him to moby project on GH. Jochen, I wish you the best of luck. As a couple of cents, and on behalf of Digital Loggers, Inc., I've uploaded some old patches that we use to run an ancient version of Docker on FreeBSD: https://github.com/digitalloggers/docker-zfs-patches . They speed up building of large containers by not iterating over all container files at every single stage, using ZFS diffs instead. No warranty, express or implied, is provided on those patches; I'm sure you'll find some edge cases where they'll break your container builds; you have been warned. Also, forgive my Go: that was the first and hopefully the last time I wrote something in it. That's not much; the real problems are with volume (e.g. single-file "volumes" which are hard links) and networking support; they were solved (kind of) by us by dynamically generating Dockerfiles and adding container startup wrappers, to the point that most would say it's too mutilated to be named Docker, so I'm afraid we aren't sharing those for the time being. My answers to why on earth one would run Docker under FreeBSD instead of using plain (or wrapped in yet another wrapper unknown to non-FreeBSD) jails would be uniformity, simplicity, skill reuse, etc. of quite a broad range of operations. However, Docker/Moby is really too tied to Linux; there seem to be random attempts at overcoming that but they don't receive enough mind share. Jetpack (https://github.com/3ofcoins/jetpack/) could probably also benefit from the patches (with appropriate adjustments). Interested people willing to invest time in this should gather and decide how to move on. Best regards, -- DoubleF