/docker-test-openldap

Docker OpenLDAP Server for testing LDAP applications

Primary LanguageShellMIT LicenseMIT

OpenLDAP Docker Image for testing

Docker Build Status Docker Stars Docker Pulls

This image provides an OpenLDAP Server for testing LDAP applications, i.e. unit tests. The server is initialized with the example domain thesimpsons.com with data from the The Simpsons Wiki.

Parts of the image are based on the work from Nick Stenning docker-slapd and Bertrand Gouny docker-openldap.

The Flask extension flask-ldapconn use this image for unit tests.

Features

  • Support for TLS (snake oil cert on build)
  • Initialized with data from Futurama
  • ~124MB images size (~40MB compressed)

Usage

docker pull marceloalmeida/docker-test-openldap
docker run --privileged -d -p 389:389 marceloalmeida/docker-test-openldap

Exposed ports

  • 389
  • 636

Exposed volumes

  • /etc/ldap/slapd.d
  • /etc/ldap/ssl
  • /var/lib/ldap
  • /run/slapd