To secure an LDAP container named directory:
docker run -itd --name ldaps --link directory:ldap \
-e STUNNEL_SERVICE=ldaps \
-e STUNNEL_ACCEPT=636 \
-e STUNNEL_CONNECT=ldap:389 \
-p 636:636 \
# -v /etc/ssl/private/server.key:/etc/stunnel/stunnel.key:ro \
# -v /etc/ssl/private/server.crt:/etc/stunnel/stunnel.crt:ro \
dweomer/stunnel
Content type
Image
Digest
Size
4.5 MB
Last updated
over 10 years ago
docker pull ianneub/stunnel