webtrees-docker icon indicating copy to clipboard operation
webtrees-docker copied to clipboard

Run as a different user

Open esamson opened this issue 3 years ago • 3 comments

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.

esamson avatar Jan 01 '23 06:01 esamson

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.

NathanVaughn avatar Jan 07 '23 17:01 NathanVaughn

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

haklc avatar Nov 17 '23 20:11 haklc

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

NathanVaughn avatar Nov 18 '23 01:11 NathanVaughn