From nobody Tue Apr 11 11:02:24 2023 X-Original-To: questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Pwjbr55Dhz44fqX for ; Tue, 11 Apr 2023 11:02:32 +0000 (UTC) (envelope-from 4250.82.1d4fe0003c768a1.667f20e4e9165b94bd3583eaa9d2f0ce@email-od.com) Received: from s1-b0c6.socketlabs.email-od.com (s1-b0c6.socketlabs.email-od.com [142.0.176.198]) (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 4Pwjbq5ppXz4NZw for ; Tue, 11 Apr 2023 11:02:31 +0000 (UTC) (envelope-from 4250.82.1d4fe0003c768a1.667f20e4e9165b94bd3583eaa9d2f0ce@email-od.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=email-od.com header.s=dkim header.b="PC/jPrxz"; spf=pass (mx1.freebsd.org: domain of 4250.82.1d4fe0003c768a1.667f20e4e9165b94bd3583eaa9d2f0ce@email-od.com designates 142.0.176.198 as permitted sender) smtp.mailfrom=4250.82.1d4fe0003c768a1.667f20e4e9165b94bd3583eaa9d2f0ce@email-od.com; dmarc=none DKIM-Signature: v=1; a=rsa-sha256; d=email-od.com;i=@email-od.com;s=dkim; c=relaxed/relaxed; q=dns/txt; t=1681210952; x=1683802952; h=content-transfer-encoding:content-type:mime-version:references:in-reply-to:message-id:subject:to:from:date:x-thread-info:subject:to:from:cc:reply-to; bh=BtotXoVb4/sWt+8Qyc/dj4AUuG6QztcL5JflKfaI4og=; b=PC/jPrxzRB5/bBCoRy4Bv46gZO/MUYdmayP/Q7oB0bUZR8rA8q5kXwjw/Z6aRqMdVJaqLAyruGYhN/V5IoQ2ul5cIqNl+4+afT7ruRlT6kCApA84dYx84YGQNkgLcC/Ms7mzEi8Upy+hXbfsrc3m2sou0h57DrQihMpyrlm2gzQ= X-Thread-Info: NDI1MC4xMi4xZDRmZTAwMDNjNzY4YTEucXVlc3Rpb25zPWZyZWVic2Qub3Jn Received: from r3.us-east-1.aws.in.socketlabs.com (r3.us-east-1.aws.in.socketlabs.com [142.0.191.3]) by mxsg2.email-od.com with ESMTP(version=Tls12 cipher=Aes256 bits=256); Tue, 11 Apr 2023 07:02:26 -0400 Received: from smtp.lan.sohara.org (86-42-20-118-dynamic.b-ras1.bdt.dublin.eircom.net [86.42.20.118]) by r3.us-east-1.aws.in.socketlabs.com with ESMTP(version=Tls12 cipher=Aes256 bits=256); Tue, 11 Apr 2023 07:02:26 -0400 Received: from [192.168.63.1] (helo=steve.lan.sohara.org) by smtp.lan.sohara.org with smtp (Exim 4.95 (FreeBSD)) (envelope-from ) id 1pmBlY-000JDr-HR for questions@freebsd.org; Tue, 11 Apr 2023 12:02:24 +0100 Date: Tue, 11 Apr 2023 12:02:24 +0100 From: Steve O'Hara-Smith To: questions@freebsd.org Subject: Re: Docker Message-Id: <20230411120224.39e59c615fef2c2a19466f62@sohara.org> In-Reply-To: References: <20230329053443.6ADA6B6AFED5@dhcp-8e64.meeting.ietf.org> <8E16D624-2655-4A10-844A-93E4F63E9859@gromit.dlib.vt.edu> <078a1cf8-7ae2-c593-615b-f5f37fa2b3eb@timpreston.net> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.33; amd64-portbld-freebsd13.0) X-Clacks-Overhead: "GNU Terry Pratchett" List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spamd-Result: default: False [-2.70 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.999]; MV_CASE(0.50)[]; FORGED_SENDER(0.30)[steve@sohara.org,4250.82.1d4fe0003c768a1.667f20e4e9165b94bd3583eaa9d2f0ce@email-od.com]; R_SPF_ALLOW(-0.20)[+ip4:142.0.176.0/20]; R_DKIM_ALLOW(-0.20)[email-od.com:s=dkim]; MIME_GOOD(-0.10)[text/plain]; MLMMJ_DEST(0.00)[questions@freebsd.org]; RCVD_TLS_LAST(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[142.0.191.3:received]; MIME_TRACE(0.00)[0:+]; FROM_NEQ_ENVFROM(0.00)[steve@sohara.org,4250.82.1d4fe0003c768a1.667f20e4e9165b94bd3583eaa9d2f0ce@email-od.com]; ASN(0.00)[asn:7381, ipnet:142.0.176.0/22, country:US]; ARC_NA(0.00)[]; RCVD_COUNT_THREE(0.00)[4]; MID_RHS_MATCH_FROM(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; DKIM_TRACE(0.00)[email-od.com:+]; TO_DN_NONE(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; DMARC_NA(0.00)[sohara.org]; DWL_DNSWL_NONE(0.00)[email-od.com:dkim] X-Rspamd-Queue-Id: 4Pwjbq5ppXz4NZw X-Spamd-Bar: -- X-ThisMailContainsUnwantedMimeParts: N On Sun, 9 Apr 2023 16:04:54 +0200 Mario Marietto wrote: > It seems that docker now can run on FreeBSD natively,not with the > collaboration of bhyve. What do you think ? The trouble with saying "docker" is that it is multiple things None of which exist in FreeBSD in quite the same way. There's the layered filesystem, text file based container composition system used to create container images from a mixture of provided and generated filesystem overlay layers which makes it easy to create and use canned applications/servers/... There's the swarm management system that can orchestrate launching a complex distributed application defined entirely in a text file. Usually deprecated in favour of kubernetes these days. There's the massive library of images available at docker.io allowing complex scalable applications to be created like piling up Lego bricks. Provided of course you trust them, but many do without coming to grief. The question is which (if any) of these does anyone want for FreeBSD sufficiently strongly to put the work in to make it happen, and is there sufficient interest to sustain such a project. Before answering those questions it would be a good idea to look closely at the BSD flavoured alternatives such as Nomad and its pot jails, or the possibilities inherent in iocage templates. For many these provide practical solutions that, while not being anywhere near as slick as docker and kubernetes, do get the job done. -- Steve O'Hara-Smith