Docker Community Forums

Share and learn in the Docker community.

Unable to access hosts or links (like LDAP) from the Docker container

I am trying to deploy my Spring Boot application into Docker. Followed the below steps,built and ran the application in the container with port mapping as (8065:8065)

In the application, it will access LDAP URLs for validations and these requests will work only in the comapany’s network(in the local, we are connecting to environment through cisco any connect) or the networks in the company domain.

How can we access same network inside container for these requests to work?

Tried accessing them inside container, it is giving an error that Unresolved host or DNS address