Update README.md
This commit is contained in:
parent
5c7631a297
commit
7bcf8e97af
@ -27,7 +27,7 @@ If you wish (and it is recommended in development) to save the configuration and
|
|||||||
```
|
```
|
||||||
> docker run -h example.com -i -t -v ldap_data:/var/lib/ldap -v ldap_config:/etc/ldap/slapd.d ldapdock /bin/bash
|
> docker run -h example.com -i -t -v ldap_data:/var/lib/ldap -v ldap_config:/etc/ldap/slapd.d ldapdock /bin/bash
|
||||||
```
|
```
|
||||||
`Parameters explanation:`with -h we are specifying the name of the host, we are using example.com, this is very important. -i tells docker to run in an interactive way instead of running the container in the background. -t goes in hand with -i, and allocates a tty (terminal) so we can run commands. -v mounts a volume to save information (we use one to save the data and another one to save the configuration).
|
`Parameters explanation:`with -h we are specifying the name of the host, we are using example.com, this is very important. -i tells docker to run in an interactive way instead of running the container in the background. -t goes in hand with -i, and allocates a tty (terminal) so we can run commands. -v mounts a volume to save miscellaneous data in general, and config, content such as directories, databases and users.
|
||||||
|
|
||||||
## _Explaining DN, parentDN, CN, and DC_
|
## _Explaining DN, parentDN, CN, and DC_
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user