diff --git a/README.md b/READMEnew.md similarity index 90% rename from README.md rename to READMEnew.md index 17c3525..2a59501 100644 --- a/README.md +++ b/READMEnew.md @@ -17,6 +17,18 @@ REPOSITORY TAG IMAGE ID CREATED SIZE ldapdock latest 0e4a1521b346 6 hours ago 138MB ``` +run into the container to setup openLDAP +``` +> docker run -h example.com -i -t ldapdock /bin/bash +``` + +make sure to use the following command to start openLDAP +``` +slapd -h "ldap:/// ldapi:///" -g openldap -u openldap -F /etc/ldap/slapd.d +``` + +################################################### + run into the container setting up the LDAP server and the hostname ``` > docker run -h example.com -i -t ldapdock /bin/bash