Docker Community Forums

Share and learn in the Docker community.

How to bind to a specific network interface

(Michelemarcon) #1

I’m trying to use this script to create a ldap service with the following image and example script:

The problem is that the two docker images bind to the docker0 network interface, instead of bridging with the host. As a consequence, I cannot access the containers from other hosts.

How should I do? Thanks