Owncloud Docker image with rootless Podman

I believe the container allows to disable the chown/chmod calls by settings OWNCLOUD_SKIP_CHOWN=true and OWNCLOUD_SKIP_CHMOD=true (see Can you disable the "Fixing data perms..." task in the docker image?).

And using --userns keep-id,uid=33,gid=33 similar to what @chrismaster suggested it might even map the local user starting the container to the right uid inside the container to have the correct permission on the volumes. I haven’t tried that though. But (I am by not means an export on the owncloud docker images) there might be other things in the scripts called at startup that might need root permission, even if you get past the chown stuff.