openshift / ocm-container

Containerized environment for accessing OpenShift v4 clusters, packing necessary tools/scripts
Apache License 2.0
10 stars 63 forks source link

Backplane Console is not working on MacOS #296

Open iamkirkbater opened 3 weeks ago

iamkirkbater commented 3 weeks ago

With the recent addition of the Persistent Image cache pass through for access to pre-load the images from within the container, the permissions on this directory is wrong on MacOS and needs to be debugged.

Specifically, when I don't turn off persistent images for ocm-container ocm backplane console will fail with a permissions issue attempting to untar the image after it's downloaded.

When I turn off the persistent images with --no-persistent-images I'm able to access the console from within the container.

My guess is that this has to do with passing the image cache through to the podman machine from our local user directories which is owned by our individual user on the mac, but we run as the root user inside the container.