diff --git a/INSTALL.md b/INSTALL.md index 2593824..9b727c7 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -10,7 +10,10 @@ build ldapdock from the dockerfile and run into it, creating the proper volumes ``` > docker build -t ldapdock --build-arg LDAP_HOST=example.com . ``` - +do a "nuclear clean" of our volumes (except the export cert) since we are building again +``` +> sudo rm -rf ldap_data/* ldap_config/* ldap_certs/* +``` ``` > docker run -i -t -p 389:389 -p 636:636 -p 80:80 -p 443:443 -h ${LDAP_HOST:-example.com} -v ldap_data:/var/lib/ldap -v ldap_config:/etc/ldap/slapd.d -v ldap_certs:/etc/ldap/certs -v $(pwd)/host-certs:/export-certs ldapdock ```