From owner-freebsd-questions@freebsd.org Tue Mar 17 05:29:46 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 3E31D25B127 for ; Tue, 17 Mar 2020 05:29:46 +0000 (UTC) (envelope-from vas@sibptus.ru) Received: from admin.sibptus.ru (admin.sibptus.ru [IPv6:2001:19f0:5001:21dc::10]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 48hMDn0SsQz3QXc for ; Tue, 17 Mar 2020 05:29:44 +0000 (UTC) (envelope-from vas@sibptus.ru) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sibptus.ru; s=20181118; h=In-Reply-To:Message-ID:Subject:To:From:Date; bh=dKRFTkjwRP6Ejmv6brPauTEDPwknuRE33AUhWFHU/HU=; b=jNsyohBlpVQpYD78QS+hD3loOk qnM36N4b9LWqtEarVkDsZQlx2vZB0Oi0G6GeYumJhvqZvdBKW6E4k/Ak16dg1+99cohrzAxd/ZHOn IH39dXUbaYR8FgTkt49EhHyeQy6SLMjBlGD9aewASPGbSes2yCBYR3L6YqJ2xSo1J0Gs=; Received: from vas by admin.sibptus.ru with local (Exim 4.93.0.4 (FreeBSD)) (envelope-from ) id 1jE4nP-0005Po-DB for freebsd-questions@freebsd.org; Tue, 17 Mar 2020 12:29:43 +0700 Date: Tue, 17 Mar 2020 12:29:43 +0700 From: Victor Sudakov To: freebsd-questions@freebsd.org Subject: Re: Technological advantages over Linux Message-ID: <20200317052943.GE19098@admin.sibptus.ru> References: <8a9a33b3-4eb1-419c-a9e3-fca4db430619@www.fastmail.com> <20200217194207.rxmcomsn4jvmoc7c@sea-ll-10936> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="ryJZkp9/svQ58syV" Content-Disposition: inline In-Reply-To: <20200217194207.rxmcomsn4jvmoc7c@sea-ll-10936> X-PGP-Key: http://admin.sibptus.ru/~vas/ X-PGP-Fingerprint: 10E3 1171 1273 E007 C2E9 3532 0DA4 F259 9B5E C634 X-Rspamd-Queue-Id: 48hMDn0SsQz3QXc X-Spamd-Bar: -------- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=sibptus.ru header.s=20181118 header.b=jNsyohBl; dmarc=pass (policy=none) header.from=sibptus.ru; spf=pass (mx1.freebsd.org: domain of vas@sibptus.ru designates 2001:19f0:5001:21dc::10 as permitted sender) smtp.mailfrom=vas@sibptus.ru X-Spamd-Result: default: False [-8.44 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.99)[-0.986,0]; R_DKIM_ALLOW(-0.20)[sibptus.ru:s=20181118]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+mx:c]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; TO_DN_NONE(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; RCPT_COUNT_ONE(0.00)[1]; IP_SCORE(-3.36)[ip: (-9.89), ipnet: 2001:19f0:5000::/38(-4.94), asn: 20473(-1.91), country: US(-0.05)]; DKIM_TRACE(0.00)[sibptus.ru:+]; DMARC_POLICY_ALLOW(-0.50)[sibptus.ru,none]; SIGNED_PGP(-2.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:20473, ipnet:2001:19f0:5000::/38, country:US]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Mar 2020 05:29:46 -0000 --ryJZkp9/svQ58syV Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Ihor Antonov wrote: [dd] >=20 > Basically docker "image" is just collection of layers.=20 > When you work on the dockerfile and > rebuild it regularly - you don't want to rebuild parts that have not > changed. And so docker came up with the idea of image layers. Each > command in Dockerfile creates a layer. And if you did not touch that > specific line in dockerfile - layer will be re-used > When you are finished - your "image" is just a resulting set of layers. > (overly simplified, but the gist of it)=20 This is what the current FreeBSD jail system is lacking. At best, jail management systems like ezjail offer two layers: the base jail and the overlay jail. This is AFAIK. If someone is better informed please correct me. --=20 Victor Sudakov, VAS4-RIPE, VAS47-RIPN 2:5005/49@fidonet http://vas.tomsk.ru/ --ryJZkp9/svQ58syV Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEcBAEBAgAGBQJecGBHAAoJEA2k8lmbXsY0iz4IAI6rzmbwIgK3nM5fK1TKSwNo rvGHaQ91ZQ4XGggCMvpJQ0pu5NvSKCLHdr3OdkR+6QLHC6EF8RFUfwHLWTVfzbv6 wLsqADdJKYnpAh3xhzlK072yF/BwtKyI8lKFKrBKWHLHnPjXmPGtsL+auS+y9PoO qvMwVPIMuaxF6cgYMiKUt/c/K6qv3vxBfuFAbCeOdMlRaOlznqGeobIc/kVjG+J3 pAq005BkKqN/fpNfEhwF/adQgjLU5t+pd7qcOlLmpuXVfuJ+p5RzdHzfbSn6rvnW 2eg/QjDbw0Lka1uZSKQTW/M2gNH+yA1FwyIiafrvZMb0t/si1gwxpz2nX3DEF58= =nOsq -----END PGP SIGNATURE----- --ryJZkp9/svQ58syV--