HELP: Communication between containers connected to different docker networks

Hello everyone
I am a novice in the docker world and would like help to understand how to use docker technology for my project.

The project consists in creating two independent virtual networks, for example through docker networks, and to connect to these networks containers based on Alpine with bash interpreter.
Each alpine container has bash scripts and must be able to communicate with the other apline containers by sending them signals in broadcast, both to the containers connected to its own network and to those connected to the other network.

Can you tell me how to use dockers for a similar project and what are the best mechanisms to implement the message transmission system between the various containers?
I thank you all.

1 Like