containers / podman-desktop

Podman Desktop is the best free and open source tool to work with Containers and Kubernetes for developers. Get an intuitive and user-friendly interface to effortlessly build, manage, and deploy containers and Kubernetes — all from your desktop.
https://podman-desktop.io
Apache License 2.0
4.65k stars 295 forks source link

Create podman machine should allow image URL not only local file path #8109

Open jeffmaury opened 2 months ago

jeffmaury commented 2 months ago

Is your enhancement related to a problem? Please describe

podman machine init allows to specify a bootable image as a local file path or an URL, the implementation in Podman Desktop should allow the same

Image

Describe the solution you'd like

Allow to specify an URL for this field and update the descriptin

Describe alternatives you've considered

No response

Additional context

afbjorklund commented 2 months ago

Podman Machine (v5) does not allow URL or file path anymore, it now requires a bootable image.

Something like this (not an URL):

quay.io/podman/machine-os:5.1

EDIT: You can also use registry

jeffmaury commented 2 months ago

Podman Machine (v5) does not allow URL or file path anymore, it now requires a bootable image.

* [Podman v5 issues a warning about a deprecated parameter #7273](https://github.com/containers/podman-desktop/issues/7273)

Something like this (not an URL):

quay.io/podman/machine-os:5.1

Is this wrong: https://docs.podman.io/en/latest/markdown/podman-machine-init.1.html

afbjorklund commented 2 months ago

Something like this (not an URL): quay.io/podman/machine-os:5.1

Is this wrong: https://docs.podman.io/en/latest/markdown/podman-machine-init.1.html

I don't think it is wrong, just not updated? Now it uses podman machine os apply instead.

But it could be that docker:// URL and OCI image filepath are still allowed, with the new OS? Just that if updating the input field, it also needs to allow a plain registry-style image name.

EDIT: This still works: --image docker://quay.io/podman/machine-os:5.1 (though not HTTP)