configurable container running LDAP
Go to file
2025-09-12 09:26:42 -04:00
dockerfile base ldapdock dockerfile 2025-09-12 09:12:45 -04:00
README.md Update README.md 2025-09-12 09:26:42 -04:00

ldapdock

a configurable container running LDAP

most important steps to run the daemon server, some steps are NOT neccesary

build ldapdock

> docker build -t ldapdock /path/to/dockerfile

after build, check the docker image has been created properly with the given REPOSITORY name

> docker images
REPOSITORY    TAG       IMAGE ID       CREATED       SIZE
ldapdock      latest    0e4a1521b346   6 hours ago   138MB

run into the container for the first time to setup the LDAP server

> docker run -i -t ldapdock /bin/bash

Inside the ldapdock image

edit base configuration of openLDAP server

> vim /etc/ldap/ldap.conf

start the openLDAP daemon server

> service slapd start
 * Starting OpenLDAP slapd                        [ OK ]