Basic Installation of OpenLDAP per Quick Start Documentation
518
This repository is designed to host a basic installation of OpenLDAP to be used in testing instances, or for small projects.
docker run --rm \
-e SUFFIX="dc=example,dc=com" \
-e ROOTDN="cn=Manager,dc=example,dc=com" \
-e ROOTPW="secret" \
-e DEBUGLEVEL="0" \
-v /path/to/database/storage:/usr/local/var/openldap-data \
-v /path/to/config/storage:/usr/local/etc/slapd.d \
-p 389:389 \
patmconnolly/openldap:latest
| Variable | Default Value | Required (Y/N) | Link to Documentation |
|---|---|---|---|
| SUFFIX | dc=example,dc=com | Y | Quick Start Guide |
| ROOTDN | cn=Manager,dc=example,dc=com | Y | Quick Start Guide |
| ROOTPW | secret | Y | Quick Start Guide |
| DEBUGLEVEL | 0 | N | Running slapd |
You can find the dockerfiles in this directory: patmconnolly/DockerImages/OpenLDAP
Once you are running you will need to add your user in per official documentation.
docker exec -it <container_name> bashexit the running container.You should now be able to connect to your new database.
If any additions or changes are desired, you can create an issue or submit a Pull Request there.
Content type
Image
Digest
sha256:c0e1af0b9…
Size
280 MB
Last updated
2 months ago
docker pull patmconnolly/openldap