-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Add podman machine bootc #21243
Copy link
Copy link
Closed as not planned
Labels
kind/featureCategorizes issue or PR as related to a new feature.Categorizes issue or PR as related to a new feature.locked - please file new issue/PRAssist humans wanting to comment on an old issue or PR with locked comments.Assist humans wanting to comment on an old issue or PR with locked comments.machine
Metadata
Metadata
Assignees
Labels
kind/featureCategorizes issue or PR as related to a new feature.Categorizes issue or PR as related to a new feature.locked - please file new issue/PRAssist humans wanting to comment on an old issue or PR with locked comments.Assist humans wanting to comment on an old issue or PR with locked comments.machine
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 machinehas cross-platform virt code that works...and only needs a small generalization to support a flow like this:podman build localhost/testospodman machine bootc run localhost/testosBy 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|stopverbs, support for reconfiguration etc.Behind the scenes,
podman machine bootc runwould actually runbootc install to-diskto synthesize a disk image or would leverage https://github.com/osbuild/bootc-image-builderSuggest 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
podmanandpodman machinecode.Additional context
No response