Sign inSign up

ancorasoftware/openldap

By ancorasoftware

•Updated almost 6 years ago

Custom openldap image

Image
0

218

ancorasoftware/openldap repository overview

⁠Ancora OpenLDAP: ancorasoftware/openldap

Docker Image Version (latest semver)

This is an alpine⁠-base OpenLDAP⁠ image used by Ancora DevOps.

⁠Using this image

This image can be launched as follows:

docker run --name <container-name> -d -p 389:389 ancorasoftware/openldap:<version>
⁠Volumes

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>
⁠Configuration

This image supports the following environment variables:

VariableRequiredDefaultDescription
SLAPD_DOMAIN✓-Domain components. dc=ldap,dc=example,dc=com.
SLAPD_FORCE_RECONFIGUREfalseForce reconfiguration of the service after the image has been initialized.
SLAPD_SECRETS_DIR/run/secretsSecrets mount point

TODO: Complete/update env-var table

⁠Secrets

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.

SecretRequiredDescription
SLAPD_PASSWORD✓Password for the admin user.

⁠Security

This container currently lacks TLS/SSL support.

⁠License

Please view license information⁠ for the software contained in this image.

⁠Acknowledgments

The image was inspired by the following:

Tag summary

Content type

Image

Digest

Size

4.6 MB

Last updated

almost 6 years ago

docker pull ancorasoftware/openldap