craig109
Cadet
Cadet
  • 139 Views

Podman - Rootless Container Persistent Storage Question

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.

Labels (3)
0 Kudos
2 Replies
abbashussain
Cadet
Cadet
  • 128 Views

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.

0 Kudos
craig109
Cadet
Cadet
  • 112 Views

@abbashussain Please delete your response and post on a separate thread instead of hi-jacking mine.

0 Kudos
Join the discussion
You must log in to join this conversation.