From 71b76edfef35a20837cb76b6697913d5fa27038e Mon Sep 17 00:00:00 2001 From: Marisa Date: Thu, 25 Sep 2025 10:40:42 -0400 Subject: [PATCH] Update README.md --- README.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index b17a429..d30d6ae 100644 --- a/README.md +++ b/README.md @@ -23,7 +23,12 @@ You can run into the container in an interactive way already with this command: ``` > docker run -h example.com -i -t ldapdock /bin/bash ``` -With -h we are specifying the name of the host, we are using example.com, this is very important. +With -h we are specifying the name of the host, we are using example.com, this is very important.\ + +If you wish (and it is recommended in development) to save the configuration and LDAP directory structure (also called LDAP database) outside of the container, run this command instead: +``` +> docker run -h example.com -i -t -v ldap_data:/var/lib/ldap -v ldap_config:/etc/ldap/slapd.d ldapdock /bin/bash +``` ## _Explaining DN, parentDN, CN, and DC as parameters_