help-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Guix on Macintosh?


From: pelzflorian (Florian Pelz)
Subject: Re: Guix on Macintosh?
Date: Sat, 24 Jun 2023 12:26:18 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux)

Yasuaki Kudo <yasu@yasuaki.com> writes:
> Yes, but the thing is, when you use docker compose with 7 services or
> something, the dev teams will understand the logic of using Guix to
> consolidate these. 😁

I don’t see how Guix could consolidate Docker services.  Using Guix Home
for this purpose would be needlessly convoluted.  Guix can ship and help
testing packages reproducibly and Guix offers its interface to building
and testing operating system images or with Guix services.

> So we might end up with a Guix-for-developers container (for Windows
> and Mac programmers,  won't be in production), which we will use to
> produce the actual, consolidated Guix docker for production use (using
> the docker export feature of Guix) ?

Yes, I guess, Docker on Mac does make use of a VM and as such it can be
used not for its Docker features but for its VM.  My expectation would
be that a regular VM is easier to deal with.

Regards,
Florian



>
> -Yasu
>
> On 6/23/23 19:24, pelzflorian (Florian Pelz) wrote:
>> Yasuaki Kudo <yasu@yasuaki.com> writes:
>>> Docker for MacOS does seem to run Linux containers.
>> Running Guix inside a Docker container seems like a very peculiar
>> foreign distro.  In your words, Yasuaki, it is convoluted.  I believe
>> Docker is not intended to be used in this way.  Mostly Docker and Guix
>> are alternatives.
>>
>> IIUC Docker on Mac runs a Linux VM internally.  Running Guix inside
>> Docker on Mac’s Linux VM is building up software layers on software
>> layers unnecessarily.  Also, Docker is not intended to be used in this
>> way.  It is untested with potential for bugs.
>>
>> Also you can use Guix to make Docker images from Guix packages, but that
>> is mostly for convenience when someone has a setup in which it is easier
>> to run a Docker image.
>>
>> Regards,
>> Florian



reply via email to

[Prev in Thread] Current Thread [Next in Thread]