Okay, an other try.
I found a "Full Description“, but I do not understand anything in the description:
https://hub.docker.com/r/dinkel/openldap/
––––––––––
STEP 1
First command:
docker run -d -p 389:389 -e SLAPD_PASSWORD=mysecretpassword -e SLAPD_DOMAIN=ldap.example.org dinkel/openldap
I want to use:
Password: testpassword01!
(only for test, I do not use this password off course.)
Domain: server.local
(I want to use this im my LAN)
So, I have to change the command:
docker run -d -p 389:389 -e SLAPD_PASSWORD=testpassword01! -e SLAPD_DOMAIN=server.local dinkel/openldap
Is this correct?
––––––––––
STEP 2, first command
The second command is:
docker run -d --volumes-from your-data-container [CONFIG] dinkel/openldap
For „your-data-container“ I would fill in ~/Documents/Docker/LDAP-Data/database/
But what do I have to fill in for [CONFIG]
?!? The name of a config file? The path to a config file? Where can I find the config file? Or have I write any other thing at this place? Where can I find a documentation for [CONFIG]
? Where can I find an example?
––––––––––
STEP 2, second comand
The third command is:
docker run -d --volume your-config-volume:/etc/ldap --volume your-data-volume:/var/lib/ldap [CONFIG] dinkel/openldap
Path to static data: ~/Documents/Docker/LDAP-Data/static/
Path to database ~/Documents/Docker/LDAP-Data/database/
I fill in my paths:
docker run -d --volume ~/Documents/Docker/LDAP-Data/static:/etc/ldap --volume ~/Documents/Docker/LDAP-Data/database:/var/lib/ldap [CONFIG] dinkel/openldap
Again: what do I have to fill in for [CONFIG]
? I do not know.
––––––––––
STEP 2, an alternative step 2
The third command is:
docker run -d --link openldap:openldap image-using-openldap
Do I have to replace anything on this command? Perhaps image-using-openldap
? Do I have to replace it with a path? And what kind of path?
––––––––––
Where can I find examples? Or can some one help me with an example?