Answer the question
In order to leave comments, you need to log in
How to share 2 network interfaces between Docker containers?
Good day.
There is a VPS. Projects are spinning on it in two docker containers, hosting also has 2 white ip.
Task: Allocate IP addresses to each container.
Tell me how this is implemented?
Answer the question
In order to leave comments, you need to log in
To breed incoming connections, it is enough to forward ports with an external address.
For complete isolation of containers across host interfaces, there is a network driver macvlan .
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question