ioBroker.docker icon indicating copy to clipboard operation
ioBroker.docker copied to clipboard

[Feature Request]: migrate to PUID/PGID since it is the defacto standard

Open EugenMayer opened this issue 2 years ago • 2 comments

Description / Beschreibung

Currently the way to set the PID/GID is using SETGID/SETUID.

The defacto standard in in this field is PUID/PGID and it is very widely adopted. lsio/hsio and even helm chart libraries like TrueCharts use it as an value to stear the security context derived user.

I think it would be valueable to at least support both (in addition) or deprecate the other 2 for some time.

Why it is valuable? Because people can use the boilerplate right away and are used to set this value to control which ownership the written files have (or had).

Thanks for considering tit

EugenMayer avatar Jan 05 '24 00:01 EugenMayer

Sounds like a reasonable approach.

Regards, André

buanet avatar Jan 07 '24 00:01 buanet

This will need further clarification.

Variant a) Implementing it to support "BOTH" (non braking)

  1. most probably needs a utility function since the entire thing is spread all over the place.
  2. needs to define if the variables should still be called setuid/setgid or we move to puid/pgid

This is def. more effort

Variant b)

Move to PUID/PGID entirely

Simple and fast, but braking change

EugenMayer avatar Jan 07 '24 14:01 EugenMayer