This container is meant to be able to quickly run a small LDAP system. No benchmarks have been performed, so I really don't know how well it would scale. I assume with more resources it would run fairly well. The goal is to be able to be up and running with a basic, yet secure, OpenLDAP system quickly and effeciently. This container supports unencrypted LDAP communications as well as STARTTLS and also LDAP/S.
This image is based off of the LinuxServer.io teams' lsiobase-alpine image and as such is a really small image.
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
This image is still in testing. I have released v0.1.0, as a beta quality release. Please use at your own risk. I take no responsibility for anything that may go wrong or right for you.
To get started, download the code, build the container and run it. See below for an example method I use for building the container.
Really all that should be needed is a recent version of Docker (I have been testing with Docker version 18.09.6).
A step by step series of examples that tell you how to get a development env running
Download the code and all
git clone https://github.com/teknofile/tkf-docker-openldap
Build the docker container. Some things to note below:
docker create \
--name=my-contianer \
--hostname something.that.matches.your.certs.com \
-e PUID=$(id -u) \
-e PGID=$(id -g) \
-e TZ=US/Mountain \
-e LDAP_CA_CERT="fullchain.pem" \
-e LDAP_CERT_KEY="privkey.pem" \
-e LDAP_CERT="cert.pem" \
-p 389:389 \
-p 636:636 \
--network your-docker-net \
-v /path/to/localconfigdir:/config \
--restart unless-stopped \
--detach teknofile/tkf-docker-openldap:latest
Start the container
docker start my-container
Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.
We (will) use SemVer for versioning. For the versions available, see the tags on this repository.
See also the list of contributors who participated in this project.
This project is licensed under the MIT License - see the LICENSE.md file for details
Content type
Image
Digest
sha256:eabbc1bcc…
Size
13.5 MB
Last updated
over 3 years ago
docker pull teknofile/tkf-docker-openldap