zalando / spilo

Highly available elephant herd: HA PostgreSQL cluster using Docker
Apache License 2.0
1.55k stars 382 forks source link

Supporting running spilo docker image with rootless user #927

Open whitepiratebaku opened 1 year ago

whitepiratebaku commented 1 year ago

Is there any requirements spilo image has root access for container? I see on Dockerfile no user defined so root being used, and when we tried to run container with postgres user at startup we at least get following error:

/launch.sh: 30: cannot create /etc/passwd: Permission denied

So do you have any plans to work on this?

a1994sc commented 9 months ago

I would also like the ability to run as rootless