-
Notifications
You must be signed in to change notification settings - Fork 59
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
39 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
# Docker ldap-server image | ||
|
||
Distroless Java Docker image with Apache DS based LDAP server | ||
|
||
Use the `latest` tag to have up-to-date version. | ||
|
||
## How to run it | ||
|
||
### Default LDIF | ||
|
||
```bash | ||
docker run -it --rm -p 10389:10389 -p 10636:10636 kwart/ldap-server | ||
``` | ||
|
||
### Custom LDIF | ||
|
||
If the LDIF is located in the current directory and named `custom.ldif` | ||
|
||
```bash | ||
docker run -it --rm \ | ||
-p 10389:10389 \ | ||
-v `pwd`:/mnt \ | ||
kwart/ldap-server \ | ||
/mnt/custom.ldif | ||
``` |