UID on openshift cluster vs podman #16013
imperialguy
started this conversation in
General
Replies: 1 comment
-
@giuseppe PTAL |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I have a container that runs with uid 1001.
In order to properly map the UIDs in podman, I do this:
This works fine.
But, if I were to run this on an openshift cluster, with the same UID it fails because the default UID range for any namespace in opennshift is 1000600000/10000. So the following spec with fail in openshift cluster:
In other words, openshift starts uid at 1000600000. So, it cannot understand the UID 1001.
There's two options I have:
This works, but it requires me to manually edit the namespace, and changing the default uid range just doesn't seem right. So, this means I am comprising openshift here.
I tried doing this but, podman failed to map this on my local machine. So, the following will fail in podman:
How can I make podman to work with the UID 1000600001? Because I don't want to change the default UID range in openshift cluster.
Beta Was this translation helpful? Give feedback.
All reactions