Skip to content

Commit adb4650

Browse files
committed
Use unprivileged ports
1 parent efc815d commit adb4650

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,4 +27,4 @@ EXPOSE 389 636
2727
USER openldap
2828

2929
ENTRYPOINT ["/usr/bin/tini", "--", "/usr/sbin/slapd"]
30-
CMD ["-h", "ldapi:/// ldap://0.0.0.0:389 ldaps://0.0.0.0:636", "-d", "256"]
30+
CMD ["-h", "ldapi:/// ldap://0.0.0.0:10389 ldaps://0.0.0.0:10636", "-d", "256"]

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ The Flask extension [flask-ldapconn][flaskldapconn] use this image for unit test
2626

2727
```
2828
docker pull rroemhild/test-openldap
29-
docker run --rm -d -p 10389:389 -p 10636:636 rroemhild/test-openldap
29+
docker run --rm -p 389:10389 -p 636:10636 rroemhild/test-openldap
3030
```
3131

3232
## Exposed ports

0 commit comments

Comments
 (0)