How does one determine the correct permissions for the host directory when configuring a rootless container?
For example, if setting up a mysql database container, you can use the UID:GID of the mysql user in the container.
But what does one use otherwise?
Are we supposed to glean that information from the output of:
podman unshare cat /proc/self/uid_map
and
podman unshare cat /proc/self/gid_map ?
This topic was not well-covered in the class or the accompanying ebook.
I am always getting error
WARN[0000] Failed to mount subcription , skipping entry in /usr/share/container/mounts.conf.................................... permission denied.
Please help how to get fix the issue with rootless container.
@abbashussain Please delete your response and post on a separate thread instead of hi-jacking mine.
Red Hat
Learning Community
A collaborative learning environment, enabling open source skill development.