For a project I need to have a constant name for the network id of the network which is created by Docker. Whenever I run the containers, for accessing to one of them from the host computer, I need to find the new Network Id that is created, so it creates some problems for automating my project.
If anyone has a solution for the mentioned problem, I will appreciate it if let me know.
For specifying the problem more, In the response to the comments that @DavidMaze and @NicoHaase expressed, I have tried to give more information. I will appreciate if you refer to the mentioned comments in order to give me a practical solution.