Openldap based on official debian images.
1.1K
This Docker image provides a lightweight OpenLDAP server based on Debian 12 (Bookworm), offering customizable configuration, data storage, and automatic log rotation. It is designed for easy setup and integration into a variety of environments.
To run the LDAP server with custom configuration, data, and log directories, use the following command:
docker run -d \
-v /path/to/config:/etc/ldap/slapd.d \
-v /path/to/data:/var/lib/ldap \
-v /path/to/logs:/logs \
ldap-server
By default, the container creates an admin user with full privileges:
Admin DN: cn=admin,dc=nodomain
Password: admin
This can be customized by providing your own configuration during initialization.
OpenLDAP logs are stored in /logs/slapd.log and automatically rotated daily using logrotate. You can customize the log directory and manage logs externally by remounting /logs to an external location. Example
To start the container with custom volumes:
docker run -d \
-v /my/config:/etc/ldap/slapd.d \
-v /my/data:/var/lib/ldap \
-v /my/logs:/logs \
ldap-server
This setup ensures that your configuration, data, and logs are managed independently of the container lifecycle.
Content type
Image
Digest
sha256:d6ee3aa55…
Size
52.7 MB
Last updated
about 1 month ago
docker pull vrajnys/openldap-debian