From nobody Sat Apr 1 15:54:51 2023 X-Original-To: freebsd-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 4PphZ64W44z42xXZ for ; Sat, 1 Apr 2023 15:55:10 +0000 (UTC) (envelope-from paul@gromit.dlib.vt.edu) Received: from gromit.dlib.vt.edu (gromit.dlib.vt.edu [128.173.126.123]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4PphZ53yzWz3p1c for ; Sat, 1 Apr 2023 15:55:09 +0000 (UTC) (envelope-from paul@gromit.dlib.vt.edu) Authentication-Results: mx1.freebsd.org; dkim=none; spf=none (mx1.freebsd.org: domain of paul@gromit.dlib.vt.edu has no SPF policy when checking 128.173.126.123) smtp.mailfrom=paul@gromit.dlib.vt.edu; dmarc=fail reason="No valid SPF, No valid DKIM" header.from=vt.edu (policy=none) Received: from smtpclient.apple (unknown [IPv6:2001:470:e15b:23::5]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by gromit.dlib.vt.edu (Postfix) with ESMTPSA id A4CD57BE32; Sat, 1 Apr 2023 11:55:02 -0400 (EDT) Content-Type: text/plain; charset=us-ascii 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 (Mac OS X Mail 16.0 \(3731.500.231\)) Subject: Re: Docker From: Paul Mather In-Reply-To: <20230329053443.6ADA6B6AFED5@dhcp-8e64.meeting.ietf.org> Date: Sat, 1 Apr 2023 11:54:51 -0400 Cc: FreeBSD Mailing List , tomek@cedro.info Content-Transfer-Encoding: quoted-printable Message-Id: <8E16D624-2655-4A10-844A-93E4F63E9859@gromit.dlib.vt.edu> References: <20230329053443.6ADA6B6AFED5@dhcp-8e64.meeting.ietf.org> To: John Levine X-Mailer: Apple Mail (2.3731.500.231) X-Spamd-Result: default: False [-2.50 / 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)[]; MIME_GOOD(-0.10)[text/plain]; DMARC_POLICY_SOFTFAIL(0.10)[vt.edu : No valid SPF, No valid DKIM,none]; MIME_TRACE(0.00)[0:+]; MLMMJ_DEST(0.00)[freebsd-questions@freebsd.org]; R_DKIM_NA(0.00)[]; R_SPF_NA(0.00)[no SPF record]; ASN(0.00)[asn:1312, ipnet:128.173.0.0/16, country:US]; RCVD_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_SOME(0.00)[]; FREEFALL_USER(0.00)[paul]; ARC_NA(0.00)[]; RCVD_TLS_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; RCVD_VIA_SMTP_AUTH(0.00)[] X-Rspamd-Queue-Id: 4PphZ53yzWz3p1c X-Spamd-Bar: -- X-ThisMailContainsUnwantedMimeParts: N On Mar 29, 2023, at 1:34 AM, John Levine wrote: > It appears that Tomek CEDRO said: >> if there are lots of images for linux docker, and docker is linux = only >> solution, there is no reason to talk about it on bsd or even offer = some >> sort of images of bsd for linux right? >=20 > Docker runs on MacOS with a linux emulation layer. FreeBSD already = has > some linux emulation so in principle one could do the same thing, but > it'd be a lot of work for dubious benefit. I disagree it would be of dubious benefit. MacOS is a Tier 1 platform = in the Docker ecosystem. Using Docker Desktop on macOS makes using = Docker and Kubernetes for development work very easy on that platform, = meaning you can stay in the environment you prefer. MacOS is not Linux, = but the implementation on there is to use a shim Linux VM via the = built-in macOS hypervisor (which, IIRC, is a derivative of bhyve). It would be great if the same thing could be done on FreeBSD. It would = be beneficial if there was a supported docker machine driver for bhyve = on FreeBSD. Right now, I believe the road to running Linux containers = on FreeBSD is to use the VirtualBox docker machine driver, which is a = bit heavyweight (in terms of added dependencies) for my liking. It = would be nice if bhyve could be used to run the shim Linux VM. Other than that, much of the tooling to run Docker and Kubernetes is = already in ports. But, those (e.g., in the case of Kubernetes) need to = point to non-FreeBSD systems that are running the actual containers, = pods, etc. It would be nice to be able to do it all on FreeBSD, at = least for development and kicking-the-tyres purposes. Cheers, Paul.