Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Apr 2023 17:13:25 +0200
From:      Mario Marietto <marietto2008@gmail.com>
To:        "Steve O'Hara-Smith" <steve@sohara.org>
Cc:        Paul Pathiakis <pathiaki2@yahoo.com>, Tim Preston <tim@timpreston.net>,  freebsd-questions <freebsd-questions@freebsd.org>
Subject:   Re: Docker
Message-ID:  <CA%2B1FSijSGdQB1XOtgaeyT1eak9%2BUunsvuFXXaJydL0hd=_uVVg@mail.gmail.com>
In-Reply-To: <20230412155252.5e38ea4728bd52dc798852fc@sohara.org>
References:  <20230329053443.6ADA6B6AFED5@dhcp-8e64.meeting.ietf.org> <8E16D624-2655-4A10-844A-93E4F63E9859@gromit.dlib.vt.edu> <078a1cf8-7ae2-c593-615b-f5f37fa2b3eb@timpreston.net> <CA%2B1FSij9j922Nvv1Vhn43HznwpyGT99UZsU674G9hHWzR=UhvQ@mail.gmail.com> <06be3a1e-9319-1a21-88b9-4f87328ee127@timpreston.net> <CA%2B1FSijc%2B-OLNsyFNdR=jP3VzMi4zUE92i5iv9Pfg6AryDy_KQ@mail.gmail.com> <34b4b76e-1c41-4cfb-9e86-856f01e8abc9@app.fastmail.com> <CA%2B1FSihVrJ8cZ4ZU6mMr0sKJsZ98V4fh2vpDLugw7MGj-%2BEBPg@mail.gmail.com> <CA%2B1FSijL50mQ-HveBA4HZeNkSoaORv=aty-15nNLzn9amzY_nw@mail.gmail.com> <6002f636-310b-a9fd-b82f-346618976983@timpreston.net> <CA%2B1FSigV_pPwVW%2BDd8WZYGcNQVt7%2BYOcsnJFoRhS6jL5A636pg@mail.gmail.com> <20230412150350.12f97eb2c9dd566b8c8702d2@sohara.org> <CA%2B1FSihVPCQ6tp8u=aqnLyyOPpCMrnhYGcC8bCUgRbFHTdY5sA@mail.gmail.com> <1535315680.2770963.1681309684072@mail.yahoo.com> <20230412155252.5e38ea4728bd52dc798852fc@sohara.org>

next in thread | previous in thread | raw e-mail | index | archive | help
--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
<http://www.kernel.org>; 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 <http://www.vmware.com=
>,
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 <steve@sohara.or=
g> wrote:

> On Wed, 12 Apr 2023 14:28:04 +0000 (UTC)
> Paul Pathiakis <pathiaki2@yahoo.com> 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

<div dir=3D"ltr"><div>A lot of years ago I found this interesting project :=
 <a href=3D"http://www.colinux.org/">http://www.colinux.org/</a></div><div>=
<br></div><div>I&#39;ve been always fascinated by it : <br><p>
<b>Cooperative Linux</b> is the first working <b>free</b> and <b>open sourc=
e</b> method  for optimally running Linux on Microsoft Windows natively. Mo=
re generally, <b>Cooperative Linux</b> (short-named coLinux) is a port of t=
he <a href=3D"http://www.kernel.org">Linux kernel</a> that allows it to run=
 cooperatively alongside another operating system on a single machine. For =
instance, it allows one to <b>freely</b> run Linux on Windows 2000/XP/Vista=
/7, <b>without</b> using a commercial PC virtualization software such as <a=
 href=3D"http://www.vmware.com">VMware</a>,
 in a way which is much more optimal than using any general purpose PC=20
virtualization software.</p><p>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&#39;s missing on the LEL is a=
 kernel. <br></p><p>=C2=A0<br></p></div></div><br><div class=3D"gmail_quote=
"><div dir=3D"ltr" class=3D"gmail_attr">On Wed, Apr 12, 2023 at 4:53=E2=80=
=AFPM Steve O&#39;Hara-Smith &lt;<a href=3D"mailto:steve@sohara.org">steve@=
sohara.org</a>&gt; wrote:<br></div><blockquote class=3D"gmail_quote" style=
=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding=
-left:1ex">On Wed, 12 Apr 2023 14:28:04 +0000 (UTC)<br>
Paul Pathiakis &lt;<a href=3D"mailto:pathiaki2@yahoo.com" target=3D"_blank"=
>pathiaki2@yahoo.com</a>&gt; wrote:<br>
<br>
&gt;=C2=A0 I believe the simplest thing would be to wrap jails or iocage in=
 an<br>
&gt; interface that looks like and behaves Docker-like. Many people these d=
ays<br>
&gt; don&#39;t care what&#39;s under the hood.=C2=A0 All they care about is=
 familiarity of<br>
&gt; interface (GUI)<br>
<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 Docker is many things - the UI the least import=
ant.<br>
<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 Docker is a mechanism for creating container im=
ages from text<br>
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). <br>
<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 A common use for this mechanism is to assemble =
servers by picking an<br>
off-the-shelf image with the right service(s) and building a custom<br>
configuration/application layer on top of it. Rinse, repeat until every<br>
element of a stack is defined and get swarm or kubernetes to deploy and<br>
manage it. This use depends strongly on the rich public library of<br>
application layers. In order to have this in FreeBSD we&#39;d either have t=
o be<br>
able to use the Linux images directly or we&#39;d need a similar library of=
<br>
FreeBSD images (OCI compliant if we want kubernetes) - which is an awful lo=
t<br>
of playing catch up.<br>
<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 Another use for this mechanism is to assemble c=
omplex application<br>
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<br>
ansible or puppet or ... Docker is almost certainly more convenient than an=
y<br>
of these.<br>
<br>
-- <br>
Steve O&#39;Hara-Smith<br>
Odds and Ends at <a href=3D"http://www.sohara.org/" rel=3D"noreferrer" targ=
et=3D"_blank">http://www.sohara.org/</a><br>;
</blockquote></div><br clear=3D"all"><br><span class=3D"gmail_signature_pre=
fix">-- </span><br><div dir=3D"ltr" class=3D"gmail_signature">Mario.<br></d=
iv>

--000000000000e24b8e05f9250ec9--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CA%2B1FSijSGdQB1XOtgaeyT1eak9%2BUunsvuFXXaJydL0hd=_uVVg>