Portal:Container/Image/openldap

Jump to: navigation, search

openSUSE OpenLDAP Container Image

Description

This container image contains the latest OpenLDAP daemon from openSUSE Tumbleweed.

Location

  • registry.opensuse.org/opensuse/openldap

Configuration

This container image requires a local data directory, by default /srv/openldap. During the first start a new database will be created if none exists already.

A comprehensive description of all options can be found at https://github.com/thkukuk/containers-mailserver/blob/master/openldap/README.md

Run

 # podman run -d --rm --name openldap -p 389:389 -p 636:636 -e LDAP_ADMIN_PASSWORD="admin" -e LDAP_CONFIG_PASSWORD="config" registry.opensuse.org/opensuse/openldap

Systemd support

The package containers-systemd contains a service file and sysconfig file to configure and automatically start the openldap container with systemd.

 # systemctl start container-openldap