Skip to content

This repository contains the OpenLDAP docker image (based off dinkel/openldap)

License

Notifications You must be signed in to change notification settings

rbhadti94/docker-openldap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

Docker - OpenLDAP

This Dockerfile is for the OpenLDAP service. The original point of reference is the Dinkel OpenLDAP image - https://github.com/dinkel/docker-openldap. Please see the README.md inside that repository for configuration info.

This creates an empty LDAP instance without any configuration and simply starts the slapd service. This was built to be used with a Kubernetes cluster.

Supported Tags

Usage

This image can be run with the docker run command.

docker volume create ldap_config_volume
docker volume create ldap_data
docker run -d \
-v ldap_config_volume:/etc/ldap \
-v ldap_data:/var/lib/ldap \
-p 8389:8389 \
-p 8636:8636 \
rbhadti/openldap:2.4.44

Or with docker-compose.

version: '3.7'
services:
  ldap:
    image: "rbhadti/openldap:2.4.44"
    ports:
      - "8389:8389"
      - "8636:8636"
    volumes:
      - "ldap_config_volume:/etc/ldap"
      - "ldap_data:/var/lib/ldap"

volumes:
  ldap_config_volume
  ldap_data

The LDAP utlities and deb-conf packages can then be used to configure the SLAPD instance.

About

This repository contains the OpenLDAP docker image (based off dinkel/openldap)

Resources

License

Stars

Watchers

Forks

Packages

No packages published