This is an alpine-base OpenLDAP image used by Ancora DevOps.
This image can be launched as follows:
docker run --name <container-name> -d -p 389:389 ancorasoftware/openldap:<version>
This image stores data in the /var/lib/openldap/openldap-data directory. That should be made an explicit volume so that it can be managed and attached to another container for backup and upgrades:
docker run --name <your-container-name> -d -v $(pwd)/openldap-data:/var/lib/openldap/openldap-data -p 8081:8081 ancorasoftware/openldap:<version>
This image supports the following environment variables:
| Variable | Required | Default | Description |
|---|---|---|---|
| SLAPD_DOMAIN | ✓ | - | Domain components. dc=ldap,dc=example,dc=com. |
| SLAPD_FORCE_RECONFIGURE | false | Force reconfiguration of the service after the image has been initialized. | |
| SLAPD_SECRETS_DIR | /run/secrets | Secrets mount point |
TODO: Complete/update env-var table
In an effort to maximize security and conform to best practices, this image assumes sensitive data (e.g. passwords, certs, and keys) are specified using Kubernetes or Docker secrets. All secrets are exposed to the conainer using the mount point specified by the SECRETS_DIR environment variable.
| Secret | Required | Description |
|---|---|---|
| SLAPD_PASSWORD | ✓ | Password for the admin user. |
This container currently lacks TLS/SSL support.
Please view license information for the software contained in this image.
The image was inspired by the following:
Content type
Image
Digest
Size
4.6 MB
Last updated
almost 6 years ago
docker pull ancorasoftware/openldap