From bc3c9c9433b5d1d709d3162301da3eb5aebedabf Mon Sep 17 00:00:00 2001 From: Nick Boldt Date: Mon, 17 Oct 2022 13:39:51 -0300 Subject: [PATCH] CRW-3397 switch from vfs to fuse-overlayfs Signed-off-by: Nick Boldt --- universal/ubi8/Dockerfile | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/universal/ubi8/Dockerfile b/universal/ubi8/Dockerfile index 4a96f49a..b9f164e4 100644 --- a/universal/ubi8/Dockerfile +++ b/universal/ubi8/Dockerfile @@ -163,7 +163,9 @@ RUN curl -L https://mirror.openshift.com/pub/openshift-v4/clients/oc/${OC_VERSIO RUN dnf -y module enable container-tools:rhel8 && \ dnf -y update && \ dnf -y reinstall shadow-utils && \ - dnf -y install podman buildah skopeo fuse-overlayfs && \ + # CRW-3397 ensure fuse-overlayfs is installed BEFORE podman - https://github.com/containers/podman/blob/main/docs/tutorials/rootless_tutorial.md#ensure-fuse-overlayfs-is-installed + dnf -y install fuse-overlayfs && fuse-overlayfs -V && \ + dnf -y install podman buildah skopeo && \ dnf -y clean all --enablerepo='*' # Set up environment variables to note that this is @@ -183,10 +185,6 @@ RUN mkdir -p /var/lib/shared/overlay-images /var/lib/shared/overlay-layers; \ touch /var/lib/shared/overlay-images/images.lock; \ touch /var/lib/shared/overlay-layers/layers.lock -# But use VFS since we were not able to make Fuse work yet... -RUN mkdir -p "${HOME}"/.config/containers && \ - (echo '[storage]';echo 'driver = "vfs"') > "${HOME}"/.config/containers/storage.conf - ## kubectl RUN <