From nobody Wed Apr 12 15:13:25 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 4PxR7b5Cg8z44wq5 for ; Wed, 12 Apr 2023 15:14:03 +0000 (UTC) (envelope-from marietto2008@gmail.com) Received: from mail-yb1-xb2f.google.com (mail-yb1-xb2f.google.com [IPv6:2607:f8b0:4864:20::b2f]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4PxR7b2hMvz3wjR for ; Wed, 12 Apr 2023 15:14:03 +0000 (UTC) (envelope-from marietto2008@gmail.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-yb1-xb2f.google.com with SMTP id u13so12222738ybu.5 for ; Wed, 12 Apr 2023 08:14:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1681312442; x=1683904442; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=V3dGHAAmm1flDoMyB5IhfsiOl7Hm3GeocaML8eEZEnU=; b=cELq/fhxAULpgWk8fKIZ+6fovVIj7jhqO7+zaqybYh14pKB4scOlSQtoVrgjLujcrF R0ma/j2xhN2YhECckL1Y2d9IPloyGtSk17wZYQ5Pp1VeWobp7X1DbORqvkQ9ZX6s/JqH NaRH5qfw3nNMXOkNbynreJ49F1TiJsh4wHt2brNW2W4eLHLkT9vm/RACWMS08XRlD55F b7lN5U2wIBa4fz1g4QvKsGS/YS0UnE8BOHw4QOUo2gkxD+OUpLHFaNUQp/ev+d2RT5zf uDsUipgmGvwKNrgZMyKENcANHBCEY3DKqmKEDjYCU7DTawVTabhzwRpIH4bbpVteFvKF om8Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1681312442; x=1683904442; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=V3dGHAAmm1flDoMyB5IhfsiOl7Hm3GeocaML8eEZEnU=; b=4aIh8mQGVWpZZjBUsuwYMApN35zBRC2eqMmqcqYxhFKPhY0BYB/LONfAKL1gq5qBQi +NvLAoeTETugh44ckhtScslTq+bPFvzHG/g4PlJa8KDYoCYh6C6mVMnEOrNTC27Md7dr GH+yZfHCzoapG2rvoBGlEjZwePzxy65ajfgySpBvgy4Q4ho9/A1Hp56SPz8VPNhtEh5q Jd1jvbtQxBqeuCpiZknVEzqdF+ivh93UpCU/Xb6SM4EcEM0u1keun2r9TDr79EJVzCYP EHK5egaNeLsoBqZ4ywmNnwaMgAgF0XXEfQGZaRymxvRRJ3JuK1//8xOH48wf+PK1YpX7 d+4A== X-Gm-Message-State: AAQBX9dO+AR6KoEwgyXUlqnRaELu5dRcrrkecnREPofTH+rBEeafunF+ Po/dU6KPQJsL4zApsb0I116kCf6br+Wlav/0ID4aF6W+YEInN6VO X-Google-Smtp-Source: AKy350bS6rSFFF7Zbc/nkSJZJh1y56xDq5hQL4mfvRDUtEygsGplqWGKtZNUoT+CqrbctfehWsru3LpllJZm6hpT7KQ= X-Received: by 2002:a25:42d3:0:b0:b8f:467c:10eb with SMTP id p202-20020a2542d3000000b00b8f467c10ebmr1098738yba.5.1681312442369; Wed, 12 Apr 2023 08:14:02 -0700 (PDT) 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 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> <20230412155252.5e38ea4728bd52dc798852fc@sohara.org> In-Reply-To: <20230412155252.5e38ea4728bd52dc798852fc@sohara.org> From: Mario Marietto Date: Wed, 12 Apr 2023 17:13:25 +0200 Message-ID: Subject: Re: Docker To: "Steve O'Hara-Smith" Cc: Paul Pathiakis , Tim Preston , freebsd-questions Content-Type: multipart/alternative; boundary="000000000000e24b8e05f9250ec9" X-Rspamd-Queue-Id: 4PxR7b2hMvz3wjR X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-ThisMailContainsUnwantedMimeParts: N --000000000000e24b8e05f9250ec9 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable A lot of years ago I found this interesting project : http://www.colinux.org/ I've been always fascinated by it : *Cooperative Linux* is the first working *free* and *open source* method for optimally running Linux on Microsoft Windows natively. More generally, *Cooperative Linux* (short-named coLinux) is a port of the Linux kernel that allows it to run cooperatively alongside another operating system on a single machine. For instance, it allows one to *freely* run Linux on Windows 2000/XP/Vista/7, *without* using a commercial PC virtualization software such as VMware , in a way which is much more optimal than using any general purpose PC virtualization software. How could it be hard to create something like this ? I mean,a cooperative kernel between the linux kernel and the freebsd kernel. A sort of Linux kernel that will run alongside the FreeBSD processes. Maybe even integrated within the (centos) linux emulation layer that already exists under FreeBSD. In the end,what's missing on the LEL is a kernel. On Wed, Apr 12, 2023 at 4:53=E2=80=AFPM Steve O'Hara-Smith wrote: > 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 da= ys > > don't care what's under the hood. All they care about is familiarity o= f > > 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 applie= d > 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/ > --=20 Mario. --000000000000e24b8e05f9250ec9 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
A lot of years ago I found this interesting project := http://www.colinux.org/
=
I've been always fascinated by it :

Cooperative Linux is the first working free and open sourc= e method for optimally running Linux on Microsoft Windows natively. Mo= re generally, Cooperative Linux (short-named coLinux) is a port of t= he Linux kernel that allows it to run= cooperatively alongside another operating system on a single machine. For = instance, it allows one to freely run Linux on Windows 2000/XP/Vista= /7, without using a commercial PC virtualization software such as VMware, in a way which is much more optimal than using any general purpose PC=20 virtualization software.

How could it be hard to create something lik= e this ? I mean,a cooperative kernel between the linux kernel and the freeb= sd kernel. A sort of Linux kernel that will run alongside the FreeBSD proce= sses. Maybe even integrated within the (centos) linux emulation layer that = already exists under FreeBSD. In the end,what's missing on the LEL is a= kernel.

=C2=A0


On Wed, Apr 12, 2023 at 4:53=E2=80= =AFPM Steve O'Hara-Smith <steve@= sohara.org> wrote:
On Wed, 12 Apr 2023 14:28:04 +0000 (UTC)
Paul Pathiakis <pathiaki2@yahoo.com> wrote:

>=C2=A0 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 d= ays
> don't care what's under the hood.=C2=A0 All they care about is= familiarity of
> interface (GUI)

=C2=A0 =C2=A0 =C2=A0 =C2=A0 Docker is many things - the UI the least import= ant.

=C2=A0 =C2=A0 =C2=A0 =C2=A0 Docker is a mechanism for creating container im= ages from text
descriptions in Dockerfiles each of which defines an overlay to be applied<= br> to a base image (either an OS image or one defined in a Dockerfile).

=C2=A0 =C2=A0 =C2=A0 =C2=A0 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 t= o 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 lo= t
of playing catch up.

=C2=A0 =C2=A0 =C2=A0 =C2=A0 Another use for this mechanism is to assemble c= omplex application
stacks (such as development environments) so that they can be used easily.<= br> 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 an= y
of these.

--
Steve O'Hara-Smith
Odds and Ends at http://www.sohara.org/


--
Mario.
--000000000000e24b8e05f9250ec9--