Commit Multiarch images
by aflom@redhat.com
I'm importing buildah into an application and I don't see a good way to commit multiarch images with github.com/containers/buildah/commit.go/Commit. I see that define.BuildOpts has a platform that is slice of structs that is used for building multi-arch images. The only architecture selection that i see for Commit, is a SystemContext.ArchitectureChoice, which is a single string.
Do I have to use bud for multi-arch builds or is there a streamlined way to use Commit?
3 years, 2 months
Buildah image size
by Michael Ivanov
Hallo,
I am building a rootless image using buildah from some base image.
The resulting image size as shown by podman images is about 1.3Gb.
When I run the image container size reported by podman inspect --size
is also approximately the same. podman image tree shows 3 layers for
this image and the sum of space, reported for all layers also matches
image size.
But when I run du -sh / inside the container, the size reported is
just about 800Mb. Where the extra 0.5Gb has disappeared?
While building the image I delete a lot of files from base image:
can it be that even when the files are removed the space, used by
them is not actually released?
Best regards,
--
\ / | |
(OvO) | Михаил Иванов |
(^^^) | |
\^/ | E-mail: ivans(a)isle.spb.ru |
^ ^ | |
3 years, 3 months