Skip to content

Latest commit

 

History

History
25 lines (17 loc) · 469 Bytes

README-docker.md

File metadata and controls

25 lines (17 loc) · 469 Bytes

Docker ldap-server image

Distroless Java Docker image with Apache DS based LDAP server

Use the latest tag to have up-to-date version.

How to run it

Default LDIF

docker run -it --rm -p 10389:10389 -p 10636:10636 kwart/ldap-server 

Custom LDIF

If the LDIF is located in the current directory and named custom.ldif

docker run -it --rm \
    -p 10389:10389 \
    -v `pwd`:/mnt \
    kwart/ldap-server \
    /mnt/custom.ldif