openshift / openldap

Apache License 2.0
32 stars 59 forks source link

Allows to run with non privileged ports (> 1024) #15

Closed akram closed 5 years ago

akram commented 6 years ago

by default it runs on port 389, ca we allows it to run with non privileged ports (> 1024) ?

stevekuznetsov commented 6 years ago

This image is explicitly created to facilitate testing for OpenShift. You should not use this image for production environments and this image is not supported in any configuration. If you would like to make a PR to help this to run on non-privileged ports and the changes do not break Origin tests, I am happy to merge it, but please keep the above warnings in mind.

opm22 commented 6 years ago

I imagine you can accomplish what you need just by using expose feature on docker command, no other change needed.

docker run ... -p <2389>:389 ...

ref.: https://docs.docker.com/engine/reference/run/#expose-incoming-ports

enj commented 5 years ago

/close

openshift-ci-robot commented 5 years ago

@enj: You can't close an active issue/PR unless you authored it or you are a collaborator.

In response to [this](https://github.com/openshift/openldap/issues/15#issuecomment-521682449): >/close Instructions for interacting with me using PR comments are available [here](https://git.k8s.io/community/contributors/guide/pull-requests.md). If you have questions or suggestions related to my behavior, please file an issue against the [kubernetes/test-infra](https://github.com/kubernetes/test-infra/issues/new?title=Prow%20issue:) repository.