Docker Community Forums

Share and learn in the Docker community.

How to access an intranet service from inside docker container?

My company has a mail server which is only available to our local network, i.e => Because docker will create a private subnet for containers, even though can still be resolved to inside the container, that IP address can’t be reached.

I’m looking for a way to do this:

  • Using docker-compose configuration only if possible
  • Still using bridge network