Replies: 2 comments 4 replies
-
I'll make an attempt at addressing your questions:
The container images that
Building the next version of an image is just another container build process. How you tag/version the container image is up to the user. For example, it may be desirable to always have a The note about no rebuild needed is specific to the disk image that is created from the container image. The disk image is something like a
In a very basic configuration, the system would have an automatic update timer/service that would reach out to the container registry for the tag the system is following (i.e. It is possible to devise more sophisticated upgrade logic/detection, but that is out of scope for
|
Beta Was this translation helpful? Give feedback.
-
Longer term we as part of the Fedora/CentOS bootc project I think we will enable a flow with bootc-image-builder related to this, I just filed osbuild/bootc-image-builder#433 Basically once we start supporting generating an Which I think would be what you want, and the advantage of this over what you're doing is that you'd at least get the bootc immutability at runtime and having |
Beta Was this translation helpful? Give feedback.
-
Hello,
I've read
bootc
documentation and still have some basic questions in the following context :I'm running an HPC cluster which nodes
PXE
boot a so-called "stateless" os image which is created, provisionned and packed on a management server using a dedicated provisionning software (xCAT
orWarewulf
). So everyhing is in RAM, nothing on disk.My thinking revolves around if bootc could help me or not handle image versionning and what makes it different in my case than what I'm already doing
Today, the so called image is just a packed
chroot
(plus aninitialramfs
(xCAT
), or as a biginitialramfs
(Warewulf
)).This chroot can be the import from the merged rootfs of an
OCI
image. So I also played with the concept of a "bootable container". Basically it's apodman
/buildah
created image derived fromRedhat UBI
inside which necessary packages (includingkernel
) has been installed and necessarysystemd
units has been unmasked/enabled.Bootloader part is handled by
iPXE
scripts provided byxCAT
orWarewulf
So an update in my case de facto means rebooting on a new image (which still have to be rebuild though)
My understanding of
bootc
is that :What I still have to figure out is :
bootc
OCI
image ? Our usual tool (podman
,buildah
,docker
,...) ?bootc-edit
? does the image has to change name or tag ?I mean if, as podman bootc extension states, no rebuild is needed (" Once a machine is created from the disk image, it can apply transactional updates "in place" from newly pushed container images (without creating a new disk image)." the container in which we make n+1 diffs must be somehow commit-ed into an image
Thanks for your help
--
Thomas HUMMEL
Beta Was this translation helpful? Give feedback.
All reactions