Proper way to share data root directory in rootless mode?

Hey all,

I have a server with the rootless daemon and 2+ people serving as Docker administrators. This presents a problem with sharing the data directory between users so we all are maintaining the same images and containers.

In rootful mode, the data directory is one single location on the system managed through the daemon. In rootless, depending on which user is logged in, it is a user directory owned by that user.

If the daemon service is running under my account, but the next day someone else takes over, how can I transfer the state of the data dir?

We cannot always chown/chmod/cp it because due to uid remapping, some of the subdirectories are owned by subordinate IDs.

It would be perfect if I were able to have an “ownerless” folder shared among all the administrators. Any ideas?