Ping Identity DevOps Docker Image - ldap-sdk-tools
This docker image provides an alpine image with the LDAP Client SDK tools to be used against other PingDirectory instances.
Environment Variables
The following environment ENV variables can be used with this image, in addition to any inherited from parent images.
| ENV Variable | Default | Description |
|---|---|---|
SHIM |
${SHIM} |
|
IMAGE_VERSION |
${IMAGE_VERSION} |
|
IMAGE_GIT_REV |
${IMAGE_GIT_REV} |
|
DATE |
${DATE} |
|
PING_PRODUCT_VERSION |
${VERSION} |
|
PATH |
/opt/tools:${PATH} |
|
PING_PRODUCT |
ldap-sdk-tools |
Ping product name |
Simple search
docker run -it --rm pingidentity/ldap-sdk-tools:edge \
ldapsearch \
-b dc=example,dc=com \
-p 1389 "(objectClass=*)"
Save output to host file
docker run -it --rm \
-v /tmp:/opt/out \
pingidentity/ldap-sdk-tools:edge \
ldapsearch \
--baseDN dc=example,dc=com \
--port 1389 \
--outputFormat json "(objectClass=*)" >/tmp/search-result.json
trusting certificates
PWD=2FederateM0re
mkdir -p /tmp/hibp
docker run -it --rm \
-v /tmp/hibp:/opt/out \
pingidentity/ldap-sdk-tools:edge \
manage-certificates trust-server-certificate \
--hostname haveibeenpwned.com \
--port 1443 \
--keystore /opt/out/hibp-2019.jks \
--keystore-password ${PWD}
ls -all /tmp/hibp
keytool -list \
-keystore /tmp/hibp/hibp-2019.jks \
-storepass ${PWD}
Docker Container Hook Scripts
Please go here for details on all ldap-sdk-tools hook scripts
This document is auto-generated from ldap-sdk-tools/Dockerfile
Copyright © 2026 Ping Identity Corporation