Created a Docker container image for an OpenLDAP server based on Fedora

What is this?

Set up an OpenLDAP server with Docker.

How to do

Although it is my work, please use Image on Docker Hub.

python


docker pull sengokyu/openldap

Specify the base DN and start. This time, it is set to dc = example, dc = com.

python


docker run -d -p 389:389 -e SUFFIX=dc=example,dc=com sengokyu/openldap

Connect from Apache Directory Studio

Start Apache Directory Studio.

Select the LDAP> New Connection ... menu.

image.png

Enter localhost for the Hostname and click Next.

image.png

Enter the Bind DN or user and password and click Finish.

Enter the Root DN for Bind DN. If the Root DN and password are not specified, it will start with the following values.

DN
cn = root, (specified SUFFIX) (In the above example, it will be `cn = root, dc = example, dc = com`)
password
slappasswd

image.png

I was able to connect.

About Docker images

It is created based on Fedora.

As of October 2020, the versions are as follows.

Recommended Posts

Created a Docker container image for an OpenLDAP server based on Fedora
I created a Docker image of a container for learning OpenAI Gym
Create a Docker container for your development web server in Ansible on MacOS
Build a docker container for a python simple web server
Run React on a Docker container
Run PureScript on a Docker container
Create a Docker Image for redoc-cli and register it on Docker Hub
Build a container for Docker x Laravel phpMyAdmin
Update container image with KUSANAGI Runs on Docker
I tried running Ansible on a Docker container
left4dead2 I made a Docker image for the server and tried running it on GCE # 3 (I had a hard time building the server)
I made a Docker image of SDAPS for Japanese
[Docker] Build an Apache container on EC2 using dockerfile
Build an Android image for Orange Pi 4 with Docker
How to connect a container created later to an existing network
How to create a lightweight container image for Java apps
A story about speeding up unittest on Docker for Mac
I tried running a Docker container on AWS IoT Greengrass 2.0
Try Hello World using plain Java on a Docker container
Create a Kibana container image for ARM64 (Raspberry Pi/Mac M1)
Install Docker on Ubuntu Server 20.04
I tried deploying a Docker container on Lambda with Serverless Framework
How to create a web server on an EC2 instance on AWS
Run (provisionally) a Docker image with ShellCommandActivity on AWS Data Pipeline
We have created a ranking site for business books and practical books based on information such as notebooks.
Push the Docker Image distributed by Docker Hub to Google Container Registry and start the VM based on that Image