lima-vm / lima

Linux virtual machines, with a focus on running containers
https://lima-vm.io/
Apache License 2.0
15.19k stars 596 forks source link

Add support to install nerdctl and buildkit with the alpine-iso template #2807

Open jandubois opened 3 hours ago

jandubois commented 3 hours ago

All 3 binaries are now available in Alpine 3.17, from buildctl and buildkit \<sic> and nerdctl apks.

Will make a separate PR to make the setuid chmod optional, to require using sudo with nerdctl...

Originally posted by @afbjorklund in https://github.com/lima-vm/alpine-lima/issues/77#issuecomment-1357393401

jandubois commented 3 hours ago

I've only created this issue because I want to close https://github.com/lima-vm/alpine-lima/issues/77.

I'm not sure if we care about supporting containerd.system: true for Alpine (although the code would then also work for the regular non-ISO image.

I'm also fine with closing this issue and leaving it to the user to install additional packages via provisioning scripts.