Re: Docker

From: Pat Maddox <pat_at_patmaddox.com>
Date: Wed, 12 Apr 2023 20:28:17 UTC

On Wed, Apr 12, 2023, at 1:25 PM, Pat Maddox wrote:
> On Wed, Apr 12, 2023, at 1:01 PM, Gerard E. Seibert wrote:
>> On Wed, 12 Apr 2023 15:38:47 +0200, Mario Marietto stated:
>>> ---> Docker will NEVER run on FreeBSD, because Docker is built on
>>> technologies which only exist in the Linux kernel.
>>
>> I have read several articles that state Docker can run on MS Windows. If
>> that is true, and I have not seen anything that disproves it, then it
>> can run on technologies other than those found in the Linux kernel.
>
> Docker for Windows and Mac both operate by running a Linux VM, and 
> running Docker within the VM.
>
> An equivalent approach in FreeBSD would be to implement docker commands 
> to spin up a Linux VM in bhyve and run the container inside it. That 
> has been brought up several times (and summarily rejected by some 
> people here), and is a different thing from FreeBSD kernel supporting 
> Docker containers.
>
> Pat

The magic behind docker desktop: https://www.docker.com/blog/the-magic-behind-the-scenes-of-docker-desktop/