Update INSTALL.md

This commit is contained in:
Marisa 2025-11-28 05:04:58 -05:00
parent 1d8503a3f4
commit ccd3ef1f44

View File

@ -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
```