On Wed, Jul 13, 2022 at 3:19 AM Vasileios Anagnostopoulos <[email protected]> wrote: > > Hello Bruce, > > How do you generate the images and import them? Could you describe a bit more > the use case? > > With podman for example you can load the image by using `podman load -i > build-oci/tmp/deploy/images/capricorn-64/name-of-the-image-capricorn-64-20220713063601.rootfs.tar` > > Usually, the tools that support the oci image format also support the > oci-archive image format. An exception is docker that does not support the > oci image format and I have first to transform it using skopeo. > > What is the advantage of first un-taring the image and then doing the import? >
There's no advantage, it's just the support for the OCI image format when I added it, was around the oci image, not the oci-archive, and it was designed around oci-image-tools, runc, and directly executing / manipulating the images. The tgz version was something I added after, to make it easier to copy them around, stage them, and otherwise collect artifacts. docker, podman or any other specific runtime wasn't the target. skopeo was from the beginning the tool that was used to copy/import the images, and that was with the oci: type .. not with the tarballs .. in those flows as well. I'm just pondering the right way to not break existing layouts and flows, and that will take me a bit longer. > Probably the other 2 patches that I send it with this one > (https://lists.yoctoproject.org/g/meta-virtualization/message/7442, > https://lists.yoctoproject.org/g/meta-virtualization/message/7441) are still > relevant, because they are fixing other minor issues. > Yep, I still have those tagged in my "to-review" and "to-test" queues. Cheers, Bruce > > > Vasileios > > > > -- - Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end - "Use the force Harry" - Gandalf, Star Trek II
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#7460): https://lists.yoctoproject.org/g/meta-virtualization/message/7460 Mute This Topic: https://lists.yoctoproject.org/mt/92331697/21656 Group Owner: [email protected] Unsubscribe: https://lists.yoctoproject.org/g/meta-virtualization/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
