From nobody Wed Apr 12 14:52:52 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 4PxQgY24z6z44v0l for ; Wed, 12 Apr 2023 14:53:13 +0000 (UTC) (envelope-from 4250.82.1d4fe000406e500.198493973664081064b1b92c082d8af5@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 4PxQgX2HNPz4d64 for ; Wed, 12 Apr 2023 14:53:12 +0000 (UTC) (envelope-from 4250.82.1d4fe000406e500.198493973664081064b1b92c082d8af5@email-od.com) Authentication-Results: mx1.freebsd.org; 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=1681311192; x=1683903192; h=content-transfer-encoding:content-type:mime-version:references:in-reply-to:message-id:subject:cc:to:from:date:x-thread-info:subject:to:from:cc:reply-to; bh=e+QgrcfnBqz4CpHfdD8arkq0GeNMTOX46qft0YhiAn0=; b=qrYTRCuOUY6zNgXSsvEX8bVtTBws1EjorsGxN6zMU4XwcOxpohp1S6xXggvMoYSwWbz8endz8LdiqeDO4nBmoHkEHFXFUbSgSNRNGxY5t8d6qTyg45ecCkULfxypOHX7xdBOqPyizeRcNQXACEk+V+XFctbzfyYNIWzWY/J1wHU= X-Thread-Info: NDI1MC4xMi4xZDRmZTAwMDQwNmU1MDAuZnJlZWJzZC1xdWVzdGlvbnM9ZnJlZWJzZC5vcmc= Received: from r2.us-west-2.aws.in.socketlabs.com (r2.us-west-2.aws.in.socketlabs.com [142.0.190.2]) by mxsg2.email-od.com with ESMTP(version=Tls12 cipher=Aes256 bits=256); Wed, 12 Apr 2023 10:53:01 -0400 Received: from smtp.lan.sohara.org (86-42-20-118-dynamic.b-ras1.bdt.dublin.eircom.net [86.42.20.118]) by r2.us-west-2.aws.in.socketlabs.com with ESMTP(version=Tls12 cipher=Aes256 bits=256); Wed, 12 Apr 2023 10:52:54 -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 1pmbq8-000HE0-O8; Wed, 12 Apr 2023 15:52:52 +0100 Date: Wed, 12 Apr 2023 15:52:52 +0100 From: Steve O'Hara-Smith To: Paul Pathiakis Cc: Mario Marietto , Tim Preston , freebsd-questions Subject: Re: Docker Message-Id: <20230412155252.5e38ea4728bd52dc798852fc@sohara.org> In-Reply-To: <1535315680.2770963.1681309684072@mail.yahoo.com> References: <20230329053443.6ADA6B6AFED5@dhcp-8e64.meeting.ietf.org> <8E16D624-2655-4A10-844A-93E4F63E9859@gromit.dlib.vt.edu> <078a1cf8-7ae2-c593-615b-f5f37fa2b3eb@timpreston.net> <06be3a1e-9319-1a21-88b9-4f87328ee127@timpreston.net> <34b4b76e-1c41-4cfb-9e86-856f01e8abc9@app.fastmail.com> <6002f636-310b-a9fd-b82f-346618976983@timpreston.net> <20230412150350.12f97eb2c9dd566b8c8702d2@sohara.org> <1535315680.2770963.1681309684072@mail.yahoo.com> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.33; amd64-portbld-freebsd13.0) 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=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 4PxQgX2HNPz4d64 X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:7381, ipnet:142.0.176.0/22, country:US] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-ThisMailContainsUnwantedMimeParts: N On Wed, 12 Apr 2023 14:28:04 +0000 (UTC) Paul Pathiakis wrote: > I believe the simplest thing would be to wrap jails or iocage in an > interface that looks like and behaves Docker-like. Many people these days > don't care what's under the hood.  All they care about is familiarity of > interface (GUI) Docker is many things - the UI the least important. Docker is a mechanism for creating container images from text descriptions in Dockerfiles each of which defines an overlay to be applied to a base image (either an OS image or one defined in a Dockerfile). A common use for this mechanism is to assemble servers by picking an off-the-shelf image with the right service(s) and building a custom configuration/application layer on top of it. Rinse, repeat until every element of a stack is defined and get swarm or kubernetes to deploy and manage it. This use depends strongly on the rich public library of application layers. In order to have this in FreeBSD we'd either have to be able to use the Linux images directly or we'd need a similar library of FreeBSD images (OCI compliant if we want kubernetes) - which is an awful lot of playing catch up. Another use for this mechanism is to assemble complex application stacks (such as development environments) so that they can be used easily. Many do this sort of thing with iocage, nomad, or base system jails and ansible or puppet or ... Docker is almost certainly more convenient than any of these. -- Steve O'Hara-Smith Odds and Ends at http://www.sohara.org/