Docker Community Forums

Share and learn in the Docker community.

Docker network communication


(Federicoyusteenappar) #1

Can i communicate between two docker container which are in different network’s type?

host1 in network bridge
host2 in network macvlan


(Fsejoseph) #2

They cannot communicate if they are not on the same network. Just create another network for the two containers to communicate with each other.

Container1 in c1 network - bridge
Container2 in c2 network - macvlan
Then create
Container1&Conainter2 in c3 network - overlay

There are many different type of situations but that is the easiest!