3 ms·
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
by mdaniel 4y ago
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
- notpushkin 4y agoMultiarch 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.