lima-vm / lima

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

v1.0 roadmap: alpine: switch away from ISO to qcow2 #2366

Closed AkihiroSuda closed 1 month ago

AkihiroSuda commented 5 months ago

In Lima v1.0, the current ISO-based alpine template should be ditched away, and the alpine-image (qcow2) template should take over the name of alpine

jandubois commented 5 months ago

I don't know what you mean by "ditched away", but I thought we had agreement that we would continue to support booting Lima instances from ISO/ramdisk[^1]. So we would simply rename templates:

[^1]: I can't find the discussion right now; may have been on Slack. I remember that @afbjorklund also argued for keeping the ISO support.

  1. alpinealpine-iso
  2. alpine-imagealpine

Are you planning anything else?

AkihiroSuda commented 5 months ago

I was thinking that we may remove, or at least deprecate, the ISO variant for sake of simplification

jandubois commented 5 months ago

I was thinking that we may remove, or at least deprecate, the ISO variant for sake of simplification

We already did: #2236.

I somewhat strongly oppose the removal of the ISO support. And several of the "stability" issues in the past have been caused by improper "fixes" for the benefit of colima, so that should no longer be an issue now that colima no longer uses Alpine.

afbjorklund commented 5 months ago

I think that the ISO/"LiveCD" support is a feature, and something that was also used by Docker Machine...

It even had Debian support, even if that was never promoted. https://github.com/tianon/boot2docker-debian

AkihiroSuda commented 1 month ago

I somewhat strongly oppose the removal of the ISO support.

Is deprecation fine?

afbjorklund commented 1 month ago

Is deprecation fine?

I think switching the default would be enough, unless you want to drop alpine-lima from "upstream" (lima org)?

Originally my suggestion was to provide multiple "editions", but I also don't know who would maintain them...

But don't think it's deprecated?

Possibly downstream-only (RD)


Bundling the apk packages:

Distro and engine examples:

experimental/alpine-nerdctl: Alpine Linux, with containerd/nerdctl experimental/alpine-docker: Alpine Linux, with Docker (rootful) experimental/alpine-podman: Alpine Linux, with Podman (rootless)