openldap packaged with love by KubeLauncher
6.1K
Built by KubeLauncherā ā production-grade, open-source, community-first.
Production-ready, broadly compatible OpenLDAP directory service image based on Ubuntu 24.04. Includes slapd and ldap-utils. Automatic initialization with schema loading and base DN creation. Designed for Kubernetes, built for everyone.
2.6.12, 2.6, 2, latestTags follow semantic versioning. Each push also generates a sha-<commit> tag for pinning to exact builds.
docker run -d --name openldap \
-e LDAP_ADMIN_PASSWORD=admin \
-e LDAP_ROOT=dc=example,dc=org \
ghcr.io/kubelauncher/openldap:2.6.12
| Variable | Default | Description |
|---|---|---|
LDAP_PORT | 389 | Port slapd listens on |
LDAP_ADMIN_USERNAME | admin | Admin bind DN username (creates cn=admin,<LDAP_ROOT>) |
LDAP_ADMIN_PASSWORD | admin | Admin password |
LDAP_CONFIG_PASSWORD | (same as admin) | Config admin password (cn=admin,cn=config) |
LDAP_ROOT | dc=example,dc=org | LDAP root / base DN |
LDAP_ORGANISATION | Example Inc. | Organisation name for the base entry |
LDAP_DATA_DIR | /data/openldap/data | Path to the MDB data directory |
LDAP_CONFIG_DIR | /data/openldap/config | Path to the slapd config directory |
LDAP_EXTRA_ARGS | (none) | Additional arguments passed to slapd |
| Port | Description |
|---|---|
389 | LDAP |
636 | LDAPS (TLS) |
Data is stored in /data/openldap/. Mount a volume to persist data:
docker run -d -v openldap-data:/data/openldap ghcr.io/kubelauncher/openldap:2.6.12
Place .ldif or .sh files in /docker-entrypoint-initdb.d/ to load them on first initialization:
docker run -d \
-v ./users.ldif:/docker-entrypoint-initdb.d/users.ldif:ro \
ghcr.io/kubelauncher/openldap:2.6.12
A production-ready Helm chart is available:
helm install my-openldap oci://ghcr.io/kubelauncher/charts/openldap
Built by KubeLauncher ā production-grade, open-source, community-first.
Need a production Kubernetes platform? Let's talkā .
Apache-2.0
Content type
Image
Digest
sha256:aa9c7bf76ā¦
Size
55 MB
Last updated
1 day ago
docker pull kubelauncher/openldap