Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Apr 2023 13:58:51 +0100
From:      Miguel C <miguelmclara@gmail.com>
To:        Mario Marietto <marietto2008@gmail.com>
Cc:        Alejandro Imass <aimass@yabarana.com>, Paul Pathiakis <pathiaki2@yahoo.com>,  "Steve O'Hara-Smith" <steve@sohara.org>, Tim Preston <tim@timpreston.net>,  freebsd-questions <freebsd-questions@freebsd.org>
Subject:   Re: Docker
Message-ID:  <CADGo8CXsCYCOi%2Bwk2ED7zpJdFQDhynzD0u1qFDUFS3RveS8wOg@mail.gmail.com>
In-Reply-To: <CA%2B1FSiiCG-iugAbSoNC2r5WXCJvgi6pj3jG74jCwukhNtb_XGA@mail.gmail.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> <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> <CAHieY7RFe0P85twcs1NiiAvTTr4oGPJEtXEkufsXswQt3ECGvg@mail.gmail.com> <CA%2B1FSiiCG-iugAbSoNC2r5WXCJvgi6pj3jG74jCwukhNtb_XGA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
100% Agree with this, and the fact is there have been cases where there is
that tolerance and there are maintainers making efforts to bring "linux"
things to freeBSD even if via linux emulation.

Docker has been mentioned many times in mailing lists and forums and there
is always comments like "but why jails are much better" etc, sometimes not
only intolerant but rude reply that serve only to drive people away IMHO.

I also don't get why is that so complicated, is it just cause FreeBSD's
maintainers/community don't want to even consider docker on FreeBSD?
Couldn't we just run docker on bhyve? I'm sure it would serve the "just
want to test this image purpose" but I suspect there will be some issues
with Filesytem/network, not issues per say, but more like it likely takes
some work to get this to run in easy manner, but I think I've seen mentions
of using sshfs or zvols to make this part easier.

MacOS and Windows use virtualization anyway, sure Docker "DESKTOP" is
supported but docker, but they are still using a VM at the end of the day
and handle the filesystem/network stuff for the user.

I've never tried this my self but I don't think it should be that super
complicated unless you plan to run docker on prod envs, I think here, the
argument that "right tool for the job" is very valid.... I use docker on my
macOS but I'm not going to run things in prod in macbooks ofc, I will still
use Linux, K8s etc.

Perhaps the FreeBSD foundation could invest a bit in getting a tool to easy
the way of running docker through bhyve, I do believe this would be good
for user adoption, but probably there are other priorities.



On Thu, Apr 13, 2023 at 12:32 PM Mario Marietto <marietto2008@gmail.com>
wrote:

> The point of my argumentation is not if FreeBSD has or not good tools for
> containerizing and securing applications. It has. Point is that the users
> that don't know FreeBSD are tied to their own tools and rarely want to
> change them. Almost everyone wants to change. But trying,experimenting and
> changing something in the workflow is important,because every tool has bad
> and good sides. There are many docker images already to be used on the net
> and this will save a lot of time and effort and money for a lot of people.
> This is a fact. And I think that it happened because Docker is...good.
> FreeBSD has tools like docker,but the mass production of containerized
> images never happened. So,would we ask ourselves the reason ? Maybe
> something has not gone well. I use Linux and FreeBSD and I "love" both
> these systems. Linux has a larger user base than FreeBSD. A larger user
> base may mean more innovations in a small time,a faster bug correction and
> so on.
>
> I think that mostly advantages from the implementation of docker on
> FreeBSD will come from the user base. Mostly for those users that come from
> linux or other OS and that already use docker and kubernetes. I don't think
> those users are a small number. Those users could jump to FreeBSD if Docker
> / Kubernetes are implemented in FreeBSD. This could be the straw that
> broke the camel's back. You argue that the jails are working already
> great and that they should use them. I argue that the freebsd community
> could have a more tolerant behavior to the users that could jump to the
> FreeBSD world and they should not force them to learn only new technologies
> at first. To have some important tools which work on multiple systems means
> having a good business card. So,in the end I ask to myself and to you :
> FreeBSD needs to grow in terms of community ? Does it need to be
> populated by a bigger number of users that will come from another OS base
> community ?
>
> On Thu, Apr 13, 2023 at 10:17 AM Alejandro Imass <aimass@yabarana.com>
> wrote:
>
>>
>>
>> On Wed, Apr 12, 2023 at 4:28 PM 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.
>>>
>>>
>> and Bastille!
>>
>>
>>>
>>>
>
> --
> Mario.
>

[-- Attachment #2 --]
<div dir="ltr"><div><div><div>100% Agree with this, and the fact is there have been cases where there is that tolerance and there are maintainers making efforts to bring &quot;linux&quot; things to freeBSD even if via linux emulation.</div><div><br></div><div>Docker has been mentioned many times in mailing lists and forums and there is always comments like &quot;but why jails are much better&quot; etc, sometimes not only intolerant but rude reply that serve only to drive people away IMHO.</div><div><br></div><div>I also don&#39;t get why is that so complicated, is it just cause FreeBSD&#39;s maintainers/community don&#39;t want to even consider docker on FreeBSD? Couldn&#39;t we just run docker on bhyve? I&#39;m sure it would serve the &quot;just want to test this image purpose&quot; but I suspect there will be some issues with Filesytem/network, not issues per say, but more like it likely takes some work to get this to run in easy manner, but I think I&#39;ve seen mentions of using sshfs or zvols to make this part easier.</div><div><br></div><div>MacOS and Windows use virtualization anyway, sure Docker &quot;DESKTOP&quot; is supported but docker, but they are still using a VM at the end of the day and handle the filesystem/network stuff for the user.<br><br></div><div>I&#39;ve never tried this my self but I don&#39;t think it should be that super complicated unless you plan to run docker on prod envs, I think here, the argument that &quot;right tool for the job&quot; is very valid.... I use docker on my macOS but I&#39;m not going to run things in prod in macbooks ofc, I will still use Linux, K8s etc.<br></div><br></div>Perhaps the FreeBSD foundation could invest a bit in getting a tool to easy the way of running docker through bhyve, I do believe this would be good for user adoption, but probably there are other priorities.<br><br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Apr 13, 2023 at 12:32 PM Mario Marietto &lt;<a href="mailto:marietto2008@gmail.com">marietto2008@gmail.com</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>The point of my argumentation is not if FreeBSD has or not good tools for containerizing and securing applications. It has. Point is that the users that don&#39;t know FreeBSD are tied to their own tools and rarely want to change them. Almost everyone wants to change. But trying,experimenting and changing something in the workflow is important,because every tool has bad and good sides. There are many docker images already to be used on the net and this will save a lot of time and effort and money for a lot of people. This is a fact. And I think that it happened because Docker is...good. FreeBSD has tools like docker,but the mass production of containerized images never happened. So,would we ask ourselves the reason ? Maybe something has not gone well. I use Linux and FreeBSD and I &quot;love&quot; both these systems. Linux has a larger user base than FreeBSD. A larger user base may mean more innovations in a small time,a faster bug correction and so on. <br></div><div><br></div><div>I think that mostly advantages from the implementation of docker on FreeBSD will come from the user base. Mostly 
for those users that come from linux or other OS and that already use 
docker and kubernetes. I don&#39;t think those users are a small number. 
Those users could jump to FreeBSD if Docker / Kubernetes are implemented
 in FreeBSD. This could be the <span lang="en">straw that broke the camel&#39;s back</span>. You argue that the jails are working already great and that they should use them. I argue that the freebsd community could have a more<span lang="en">
 tolerant behavior to the users that could jump to the FreeBSD world and they should not force them to learn only new technologies at first. To have some important tools which work on multiple systems means</span><span lang="en"> having a good business card.</span><span lang="en"> So,in the 
end I ask to myself and to you : FreeBSD needs to grow in terms of <span>community</span> ? Does it need to be populated by a bigger number of users that will come from another OS base <span>community</span> ? </span></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Apr 13, 2023 at 10:17 AM Alejandro Imass &lt;<a href="mailto:aimass@yabarana.com" target="_blank">aimass@yabarana.com</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Apr 12, 2023 at 4:28 PM Paul Pathiakis &lt;<a href="mailto:pathiaki2@yahoo.com" target="_blank">pathiaki2@yahoo.com</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><div style="font-family:&quot;Helvetica Neue&quot;,Helvetica,Arial,sans-serif;font-size:13px"><div></div>
        <div dir="ltr">I believe the simplest thing would be to wrap jails or iocage in an interface that looks like and behaves Docker-like.</div><div dir="ltr"><br></div></div></div></blockquote><div><br></div><div>and Bastille!</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><div style="font-family:&quot;Helvetica Neue&quot;,Helvetica,Arial,sans-serif;font-size:13px"><div dir="ltr"></div><div dir="ltr"><br></div></div></div></blockquote></div></div>
</blockquote></div><br clear="all"><br><span>-- </span><br><div dir="ltr">Mario.<br></div>
</blockquote></div>

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CADGo8CXsCYCOi%2Bwk2ED7zpJdFQDhynzD0u1qFDUFS3RveS8wOg>