-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Description
Feature request description
In the https://github.com/containers/bootc project we are focusing on bootable containers. We reuse podman build
(or other container build tools) for this.
We want to have a fast and efficient workflow of booting a container image directly as a virtual machine.
Today, podman machine
has cross-platform virt code that works...and only needs a small generalization to support a flow like this:
podman build localhost/testos
podman machine bootc run localhost/testos
By default, this VM would be "lifecycle bound" to the controlling shell invocation; this removes a lot of CLI/infrastructure needs around having external daemons with APIs, start|stop
verbs, support for reconfiguration etc.
Behind the scenes, podman machine bootc run
would actually run bootc install to-disk
to synthesize a disk image or would leverage https://github.com/osbuild/bootc-image-builder
Suggest potential solution
Add code to do the above
Have you considered any alternatives?
Documenting how to use external virt tools is the other big solution, which we will also do...but we can much more easily streamline things by reusing existing podman
and podman machine
code.
Additional context
No response