Docker Community Forums

Share and learn in the Docker community.

Detecting network failure and start communicating with other network

(Prakashmirji) #1

Hello, question on docker networking. My host has two networks ( interfaces ), I would like to add two networks ( of type macvlan ) to each container running on the host. basically my app (container) now has two networks to communicate. When one of the network is down, i want container to continue to communicate with other network. Is it possible, does container detects the 1st network failure and continue to interact with 2nd network? is it default behavior? if not - how to achieve this? Any pointers would be helpful.