Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Apr 2023 10:17:22 +0000
From:      "Dave Cottlehuber" <dch@skunkwerks.at>
To:        "Mario Marietto" <marietto2008@gmail.com>
Cc:        freebsd-questions <freebsd-questions@freebsd.org>, "Tim Preston" <tim@timpreston.net>
Subject:   Re: Docker
Message-ID:  <34b4b76e-1c41-4cfb-9e86-856f01e8abc9@app.fastmail.com>
In-Reply-To:  <CA%2B1FSijc%2B-OLNsyFNdR=jP3VzMi4zUE92i5iv9Pfg6AryDy_KQ@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>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 11 Apr 2023, at 09:44, Mario Marietto wrote:
> Tim,you are wasting your time. It seems that all of these (good) 
> FreeBSD developers don't want you to use Linux technologies if you have 
> chosen FreeBSD as the main OS. That's not good and it sounds like a 
> discriminatory attitude.   

I think you're mis-representing the position of a lot of people here;
please don't do that.

The fast-moving Docker.com tech has been moving towards a standards-based
"Open Container" https://opencontainers.org/ definition, and many people
have worked across the standard, the implementation, kernel, & tooling,
now in ports on FreeBSD, to make this possible. Just a few examples:

- https://github.com/samuelkarp/runj/
- https://github.com/dfr/ocijail/
- https://medium.com/@dfr/oci-containers-for-freebsd-512a6df2bc85

It would be great to get your feedback on one of these and see what you
tried, and where it breaks with your expectations.

While it may be possible to run many linux containers with this tooling,
systemd and other linux-specific things could be present in any container
you pull, from systemd, to filesystem requirements, and expecting all
of these to work seamlessly is unrealistic.

If you want the full Linux-compatible Docker experience, then, yes,
use Linux, either in a VM, or directly. I don't think there are many
FreeBSD people who use only 1 OS, we are by and large pragmatic people.
It's ok to use different tools in different situations.

A+
Dave



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?34b4b76e-1c41-4cfb-9e86-856f01e8abc9>