From nobody Wed Apr 12 14:52:14 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 4PxQg82n4zz44ttf for ; Wed, 12 Apr 2023 14:52:52 +0000 (UTC) (envelope-from marietto2008@gmail.com) Received: from mail-yb1-xb30.google.com (mail-yb1-xb30.google.com [IPv6:2607:f8b0:4864:20::b30]) (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 4PxQg80YwBz4cBr for ; Wed, 12 Apr 2023 14:52:52 +0000 (UTC) (envelope-from marietto2008@gmail.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-yb1-xb30.google.com with SMTP id y69so18901243ybe.2 for ; Wed, 12 Apr 2023 07:52:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1681311170; x=1683903170; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=2TvlhSVB2se8FnexY3t0A5h+f9qN7hx03Xkm1WTz7DU=; b=UVBPJeh1enpckEbZk24tGbeuNV6MT+fess7xlkmDSaVbtPfJnL/kJSZ3/XO2ednRjC VczqXfPPplD1hDzvkCDn1eyzFX6n2MDttnKzlx2vDIGDaBvjlmKsxNT5lvR6qk/vzZBj tyI9oKFGpH/wQaV//RDRCmEp05U2bqRjHWm7sKucpPVK4xrbD2bTSmdgoSFAMqL1N/0s TwMveLFqRyNW4IFinUwlOO05ALc/Vik2MKvcYbdKEulFtg2LuXQGRQNkq30bEQxaSvyc bCAuFa+fEB21b5RYWdin1sw6wbQezoLgH8mKxrr3zwTBCiqGMTpxyVK+89+3e+PHdDyE L5wg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1681311170; x=1683903170; 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=2TvlhSVB2se8FnexY3t0A5h+f9qN7hx03Xkm1WTz7DU=; b=GtD3Uis1Nyhznw+ZNHmRV5L6qFAZd+qEmfENtdyADjZXVL//v9qxIyqQVqpZrAqpQb oXLE/f/HMkQHKpQxsba8j+rGa0N55KtUc7ZxYH4k7irhkilxH8IzDvxRGHqXyJry4s62 jZVEwqHwsH+wsFeebAv/fduyXbDBMnGgkDnzGDtb6MrwqKc1mqdTPH9O5EfYpjgvrdbU O2fxGujMY6eJ3BV0KHawat4LDXwllFb3UUMduDkXO5jUqgZZgw+DNj+Ex01OgAhEdcIc LHlsEh6gONJ6gXaImf6Rei5PQvTwlcWCn8TDdOJ5WIhKPlLlhLMkuPdc+t1TZONO3J2p /acw== X-Gm-Message-State: AAQBX9fmNG1tDETIDO9Z4PB+o7vhGBE8tS5xSsTrPNoGOMWzMQVY2N3T ELtByfjt9YMocYD+3M5hUs9wmHLsEWy75OVXc8rBD0SWlVIZs/Ke X-Google-Smtp-Source: AKy350bF3vhCEM03E/KZL/Alrf3Hx0d+yAKfbEyA1MTmlc5rEGLsOxot2+ojh/g30YpZJzLgmIVHfMpC96CadT4heNg= X-Received: by 2002:a25:d64c:0:b0:b8f:1d87:5948 with SMTP id n73-20020a25d64c000000b00b8f1d875948mr1830784ybg.10.1681311170395; Wed, 12 Apr 2023 07:52:50 -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> <20230412153039.bb0598c1f8b050ea8d4f40b9@sohara.org> In-Reply-To: <20230412153039.bb0598c1f8b050ea8d4f40b9@sohara.org> From: Mario Marietto Date: Wed, 12 Apr 2023 16:52:14 +0200 Message-ID: Subject: Re: Docker To: "Steve O'Hara-Smith" Cc: Tim Preston , freebsd-questions Content-Type: multipart/alternative; boundary="00000000000011859805f924c30b" X-Rspamd-Queue-Id: 4PxQg80YwBz4cBr 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 --00000000000011859805f924c30b Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable ----> I believe the simplest thing would be to wrap jails or iocage in an interface that looks like and behaves Docker-like. Come on man. It's not only a matter of graphical interface. A lot of users may want to use docker on another OS because they already have learnt how to use it,so the commands used in Linux should be the same when it is ported on another OS like FreeBSD. And since there are a lot of images on the internet,they also want to reuse them. So the ported docker should be able to reuse those images ---> Many people these days don't care what's under the hood. All they care about is familiarity of interface (GUI) could be true for the newbies (not very experienced users). Anyway,if you want to "copy" only the graphical part the project will die because as I said the ported docker should work as close as possible to the original one. We can't forget how hard it is to change habits. ---> There's a *lot* of work to be done to achieve this mostly in the Linux emulation layer. I can imagine. So,maybe this is not the way to go. ---> Is there enough interest to create a critical mass of images ? maybe. If it's easier and intuitive. If there are a lot of docker images already created it means that Docker reached the goal to become a tool for the masses. On Wed, Apr 12, 2023 at 4:30=E2=80=AFPM Steve O'Hara-Smith wrote: > On Wed, 12 Apr 2023 16:13:05 +0200 > Mario Marietto wrote: > > > I'm interested to know what you mean for "real needs", > > I mean real problems that are solved by having a FreeBSD > implementation of docker. IOW what would people use it for. > > For example one goal to be able to use the off-the-shelf images > available on docker.io (or other linux images) with docker and/or > kubernetes so as to be able to migrate application stacks to a FreeBSD > base. > There's a *lot* of work to be done to achieve this mostly in the Linux > emulation layer. I rather suspect that this is what most people expect of > docker and I can certainly see how it could be used in real world > applications and make FreeBSD an alternative to Linux as a host OS. > > Another goal is to be able to create layered FreeBSD based > container images from Dockerfiles and share (publicly or with a limited > group) them in the same way as Linux container layers are then that shoul= d > be rather less work - and ocijail seems to be a starting point. Is this > something people want to do ? Does Docker provide any benefits over > Nomad/iocage/cbsd for this use ? Is there enough interest to create a > critical mass of images ? > > -- > Steve O'Hara-Smith > Odds and Ends at http://www.sohara.org/ > --=20 Mario. --00000000000011859805f924c30b Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
----> I believe the simplest thing wou= ld be to wrap jails or iocage in an interface that looks like and behaves D= ocker-like.

Com= e on man. It's not only a matter of graphical interface. A lot of users= may want to use docker on another OS because they already have learnt how = to use it,so the commands used in Linux should be the same when it is porte= d on another OS like FreeBSD. And since there are a lot of images on the in= ternet,they also want to reuse them. So the ported docker should be able to= reuse those images

-= --> Many people these days don't care what's under the hood.=C2= =A0 All they care about is familiarity of interface (GUI)
<= br>
could be true for the newbies (not very experienced users). A= nyway,if you want to "copy" only the graphical part the project w= ill die because as I said the ported docker should work as close as possibl= e to the original one. We can't forget how hard it is to change habits.=

=C2=A0---> There's a *lot* of work to= be done to achieve this mostly in the Linux emulation layer.
I can imagine. So,maybe this is not the way to go.

---> Is there enough interest to create a critical mas= s of images ?

maybe. If it's easier and intuit= ive. If there are a lot of docker images already created it means that Dock= er reached the goal to become a tool for the masses.

On Wed, Apr = 12, 2023 at 4:30=E2=80=AFPM Steve O'Hara-Smith <steve@sohara.org> wrote:
On Wed, 12 Apr 2023 16:13:05 +0200
Mario Marietto <marietto2008@gmail.com> wrote:

> I'm interested to know what you mean for "real needs",
=C2=A0 =C2=A0 =C2=A0 =C2=A0 I mean real problems that are solved by having = a FreeBSD
implementation of docker. IOW what would people use it for.

=C2=A0 =C2=A0 =C2=A0 =C2=A0 For example one goal to be able to use the off-= the-shelf images
available on docker.io (or other linux images) with docker and/or
kubernetes so as to be able to migrate application stacks to a FreeBSD base= .
There's a *lot* of work to be done to achieve this mostly in the Linux<= br> emulation layer. I rather suspect that this is what most people expect of docker and I can certainly see how it could be used in real world
applications and make FreeBSD an alternative to Linux as a host OS.

=C2=A0 =C2=A0 =C2=A0 =C2=A0 Another goal is to be able to create layered Fr= eeBSD based
container images from Dockerfiles and share (publicly or with a limited
group) them in the same way as Linux container layers are then that should<= br> be rather less work - and ocijail seems to be a starting point. Is this
something people want to do ? Does Docker provide any benefits over
Nomad/iocage/cbsd for this use ? Is there enough interest to create a
critical mass of images ?

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


--
Mario.
--00000000000011859805f924c30b--