merge last x layers
by Hendrik Haddorp
Hi,
is there any way to merge the last x layers of an image? Like if I have
an image with five layers I would like to merge that down to say three
or four layers. I know that I can remove all layers by squishing the
image but I would like to keep some base layers.
thanks,
Hendrik
4 years, 3 months
modify layers
by Hendrik Haddorp
Hi,
is there a way to modify the layers of an image? For example I would
like to change some file attributes in an image without duplicating the
data and not changing anything else in the structure of my image. I
assume this can not be done with buildah but could it be done using some
underlying libraries, like maybe https://github.com/containers/image ?
thanks,
Hendrik
4 years, 4 months
Debugging performance on WSL2
by Dominic
Hello,
I've been using podman and buildah for a while on native Ubuntu
and it's been great. With the release of WSL2 I'm trying to start
building containers on Windows, but I'm running into some
performance issues. Running something like: buildah copy
$container . /srv in my project root takes maybe a second or two
on native linux and minutes on my WSL2 system.
Windows task manager doesn't show high resource utilization from
any particular process during this time. Any ideas on how I can
debug this?
--
Thank you,
Dominic
4 years, 4 months
Running buildah in OCP
by Dmitry Misharov
Hi,
I was trying to build an image with the new registry.redhat.io/rhel8/buildah in OCP 4.3 and no luck. I read this article https://developers.redhat.com/blog/2019/08/14/best-practices-for-running-... but it seems it's not applicable for running buildah inside and OCP container. For example I cannot mount /dev/fuse or use overlay storage driver without mounting host directories. So is there a way to use buildah in OCP withoud cluster admin privileges?
--
Dmitry Misharov
Senior Quality Engineer, Red Hat Management QE
Red Hat
4 years, 4 months