per example :
ourside of the container : docker exec -it <container_name"ldapsearch -H ldapi:/// ldap_sasl_interactive_bind: Can't contact LDAP server (-1)
inside the container: ldapsearch -H ldapi:/// ldap_sasl_interactive_bind: Can't contact LDAP server (-1)