How to setup docker rootless compose with the apache php image and bind mount? (file owner)

I can share my previous posts about it. Hope it helps

I think I had an even better explanation I couldn’t find now. But the point is that you need to find out what userid on the host is UID 1 in the container. The rest can be calculated. And your user on the host will be the root (UID 0) in the container.

1 Like