You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Right now, the image has the non-root user with id 1001. This is a very low number (considering, Linux usually starts creating users at 1000). I have 3 users in my system, so 1001 id is taken.
What is the feature you are proposing to solve the problem?
It would be nice to be able to configure the uid. or at least change the default, to a higher number to reduce the chances of conflicts.
What alternatives have you considered?
The workaround was for me to hardcode the uids for the users in the system, and let 1001 free for Postgres, but this is not ideal.
The text was updated successfully, but these errors were encountered:
brpaz
changed the title
Allow to configure the uid of non-root postgres user
[bitnami/postgressq] Allow to configure the uid of non-root postgres user
May 2, 2024
brpaz
changed the title
[bitnami/postgressq] Allow to configure the uid of non-root postgres user
[bitnami/postgressql] Allow to configure the uid of non-root postgres user
May 2, 2024
Bitnami containers are designed to operate as non-root by default. Consequently, any files or directories used by the application should be owned by the root group, as the random user (1001 by default) is a member of this root group. To ensure proper permissions, you'll need to adjust the ownership of your local directory accordingly.
For more comprehensive information about non-root containers and their significance for security, you can explore the following resources:
This Issue has been automatically marked as "stale" because it has not had recent activity (for 15 days). It will be closed if no further activity occurs. Thanks for the feedback.
Due to the lack of activity in the last 5 days since it was marked as "stale", we proceed to close this Issue. Do not hesitate to reopen it later if necessary.
Name and Version
bitnami/postgressql:16
What is the problem this feature will solve?
Right now, the image has the non-root user with id 1001. This is a very low number (considering, Linux usually starts creating users at 1000). I have 3 users in my system, so 1001 id is taken.
What is the feature you are proposing to solve the problem?
It would be nice to be able to configure the uid. or at least change the default, to a higher number to reduce the chances of conflicts.
What alternatives have you considered?
The workaround was for me to hardcode the uids for the users in the system, and let 1001 free for Postgres, but this is not ideal.
The text was updated successfully, but these errors were encountered: