The container images used:
|localhost/nginx||based on a slighly modified example from nextcloud-docker github project|
|localhost/nextcloud||based on library/nextcloud from dockerhub|
Nextcloud can be seen when running curl:
$ curl -s localhost:8080 | grep title <title> Nextcloud </title>
For data storage two directories were used
After running the demo I can see that the directories only contain directories and files belonging to the regular user on the host.
This was done on a Fedora CoreOS machine which has podman 4.7.0.
I created the demo to see if I could run nextcloud with multiple containers and use
bind-mounted directories as storage where the files have ownership as my regular user.
See also Rootless NFS Volume Permissions: What am I doing wrong with my Nextcloud/MaraiDB/Redis pod? · containers/podman · Discussion #20519 · GitHub