lima icon indicating copy to clipboard operation
lima copied to clipboard

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

Open AkihiroSuda opened this issue 1 year ago • 4 comments

  • https://github.com/lima-vm/lima/pull/2360

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

AkihiroSuda avatar May 27 '24 00:05 AkihiroSuda

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?

jandubois avatar May 27 '24 05:05 jandubois

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

AkihiroSuda avatar May 27 '24 06:05 AkihiroSuda

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.

jandubois avatar May 27 '24 06:05 jandubois

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

afbjorklund avatar May 27 '24 06:05 afbjorklund

I somewhat strongly oppose the removal of the ISO support.

Is deprecation fine?

AkihiroSuda avatar Oct 09 '24 05:10 AkihiroSuda

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...

  • https://github.com/lima-vm/lima/pull/1619

But don't think it's deprecated?

Possibly downstream-only (RD)


Bundling the apk packages:

  • https://github.com/lima-vm/alpine-lima/issues/107

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)

afbjorklund avatar Oct 09 '24 06:10 afbjorklund