NathanVaughn / webtrees-docker

Up-to-date Docker image for webtrees with all the bells and whistles.
https://hub.docker.com/r/nathanvaughn/webtrees
MIT License
59 stars 15 forks source link

Run as a different user #114

Open esamson opened 1 year ago

esamson commented 1 year ago

Is it possible to run as a different user?

One example where I've seen it done is in the paperless-ngx docker-entrypoint.sh.

NathanVaughn commented 1 year ago

Currently no. I'd have to do some more research in how to accomplish this, I'm not very familiar with running Docker containers as anything other than the root user.

haklc commented 7 months ago

I agree, supplying user and group id would be a nice security feature.

NathanVaughn commented 7 months ago

Thanks for reminding me about this. I dug through a bunch of linux server.io code and I think should be implemented in latest tag now. please let me know if it works for you