Skip to content
Discussion options

You must be logged in to vote

Maybe some of the subprocesses try to connect to 127.0.0.1:25 - and will then get the host's exim4 server instead.

  • Each container has an IP assigned to it from private address (unless you use host mode networking). This should be unique to the container, no overlap to worry about and you can set an explicit IP within that subnet for reliability if you need to.
  • Likewise each container has its own loopback 127.0.0.1, unrelated to the host (unless you use host mode networking).

You should be fine by choosing to restrict the interfaces your container binds ports to. The default is 0.0.0.0 (all) for convenience. If you do not need to reach the container via localhost / 127.0.0.1 on your Do…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Waldorf3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants