News for hackers. Stuff that matters.
Re:Finch: An open-source client for container development by c7DJTLrn on Friday November 25, 2022 @02:44PM (#33746050)
Anybody know what the difference is between this and Lima? It already offers a Docker VM template that with nerdctl is a drop-in replacement for Docker Desktop. There's also Colima which again seems to be the same as Lima which it's based on.
Re:Finch: An open-source client for container development by woleium on Friday November 25, 2022 @02:58PM (#33746164)
The cynical response would be that they all contribute to a different person's promotion document (promodoc in Amazon parlance)
Re:Finch: An open-source client for container development by chucky_z on Friday November 25, 2022 @03:31PM (#33746444)
Looks like this is for a consistent workflow for developers where managing a VM or learning nerdctl is too much. I say this as truthful and neither sarcastically or maliciously.
Re:Finch: An open-source client for container development by mdaniel on Friday November 25, 2022 @04:05PM (#33746741)
Offhand, the biggest difference I'm aware of is the "--platform" argument to "finch run"; with colima (and presumably lima under it) one must specify that at vm creation time not per container

    $ ./_output/bin/finch run --platform amd64 --entrypoint=/usr/bin/env redis:7-alpine uname -m
    x86_64
    $ ./_output/bin/finch run --platform arm64 --entrypoint=/usr/bin/env redis:7-alpine uname -m
    aarch64
    $ uname -m
    x86_64
    $ ./_output/bin/finch images
    REPOSITORY            TAG         IMAGE ID        CREATED           PLATFORM          SIZE        BLOB SIZE
    redis                 7-alpine    2700d5097763    31 seconds ago    linux/amd64       30.8 MiB    11.3 MiB
    redis                 7-alpine    2700d5097763    31 seconds ago    linux/arm64/v8    30.5 MiB    11.3 MiB
Re:Finch: An open-source client for container development by notpushkin on Saturday November 26, 2022 @03:15AM (#33750895)
Multiarch works fine for me with colima and Docker CLI:

    $ limactl shell colima uname -a
    Linux colima 5.15.68-0-virt #1-Alpine SMP Fri, 16 Sep 2022 06:29:31 +0000 aarch64 Linux
    $ docker run --rm --platform=linux/arm64 busybox uname -a
    Linux d9daf296b930 5.15.68-0-virt #1-Alpine SMP Fri, 16 Sep 2022 06:29:31 +0000 aarch64 GNU/Linux
    $ docker run --rm --platform=linux/amd64 busybox uname -a
    Linux 34805057ef02 5.15.68-0-virt #1-Alpine SMP Fri, 16 Sep 2022 06:29:31 +0000 x86_64 GNU/Linux
Haven't tried with containerd/nerdctl but I think it should work just fine too.
Re:Finch: An open-source client for container development by Yeroc on Friday November 25, 2022 @07:17PM (#33748442)
The article notes that Finch is simply curating and/or wrapping Lima etc...
Re:Finch: An open-source client for container development by lioeters on Friday November 25, 2022 @07:36PM (#33748591)
It's an abstraction layer above Lima.

> Finch is our response to the complexity of curating and assembling an open source container development tool for macOS initially, followed by Windows and Linux in the future.

> We are curating the components, depending directly on Lima and nerdctl, and packaging them together with their dependencies into a simple installer for macOS. Finch, via its macOS-native client, acts as a passthrough to nerdctl which is running in a Lima-managed virtual machine.

> All of the moving parts are abstracted away behind the simple and easy-to-use Finch client. Finch manages and installs all required open source components and their dependencies, removing any need for you to manage dependency updates and fixes.