Dockerfile to build a OpenLDAP container image.
Current Version: 2.4.31-1
You can build the image locally.
git clone https://github.com/hrektts/docker-openldap.git
cd docker-openldap
docker build --tag="$(USER)/openldap" .
You can launch the image using the docker command line:
docker run --name='openldap' -it --rm \
-e 'LDAP_DOMAIN=example.com' \
-e 'LDAP_ORGANISATION="Example Corp."' \
-e 'LDAP_ADMIN_PASS=password \
-p 389:389
-v /opt/openldap/data/db:/var/lib/ldap \
-v /opt/openldap/data/slapd.d:/etc/ldap/slapd.d \
-v /opt/openldap/data/ssl:/etc/ldap/ssl \
hrektts/openldap:2.4.31-1
Content type
Image
Digest
Size
69.7 MB
Last updated
over 10 years ago
docker pull hrektts/openldap