How to build a container from this image that runs as non-root user
I need to build an LDAP server from this image that runs as non-root. Is there a way to do this? I've tried creating a user with root privileges and then running as this user, but the server fails to start. Our Kubernetes environment requires that we run all pods as non-root. Would very much appreciate a solution to this.
Hi @creasman
Did you find any solution for this? please respond
please share if you found any solution for this
I was never able to make this work using osixia. Instead, I created my own image by installing openldap into a node-alpine base image. A bit more work, but it runs as non-root.
Hi Jim, Could you please any Documents to create own image which runs as arbitrary user assigned by ocp
On Wed, 20 Mar 2024 at 8:21 PM, Jim Creasman @.***> wrote:
I was never able to make this work using osixia. Instead, I created my own image by installing openldap into a node-alpine base image. A bit more work, but it runs as non-root.
— Reply to this email directly, view it on GitHub https://github.com/osixia/docker-openldap/issues/528#issuecomment-2009759629, or unsubscribe https://github.com/notifications/unsubscribe-auth/BAGDJ2AF67HCSCATBHMHVYDYZGPAJAVCNFSM4XBV6PQKU5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TEMBQHE3TKOJWGI4Q . You are receiving this because you commented.Message ID: @.***>
@creasman do you have any document/files using which you created own openldap image