Use Docker Image https://github.com/osixia/docker-openldap
docker run -p 389:389 -p 636:636 --name openldap-container \
--env LDAP_ORGANISATION="My LADP Company" \
--env LDAP_DOMAIN="ladp.domain" \
--env LDAP_ADMIN_PASSWORD="Password" \
--volume /data/ldap/database:/var/lib/ldap \
--volume /data/ldap/config:/etc/ldap/slapd.d \
--detach osixia/openldap:1.4.0
phpLDAPadmin https://github.com/osixia/docker-phpLDAPadmin
docker run \
-p 6443:443 \
--env PHPLDAPADMIN_LDAP_HOSTS=ldap.domain \
--volume /data/phpldapadmin:/container/service/phpldapadmin/assets/config \
--volume /data/phpldapadmin/environment:/container/environment/01-custom \
--hostname phpldapadmin.domain \
--name phpldapadmin\
--detach osixia/phpldapadmin:0.9.0