In Docker for windows how does communication between linux and windows containers work?

0 votes
I’m using RabbitMq for .net core based and few full fx microservices communication. RabbitMq and .net core microservices are inside of a linux based docker container and they are connected to the same network in a docker-compose file.

.Net core microservices can easily connect to RabbitMq by using container name as a hostname.

Now, when it comes to windows-based containers the network is not shared between windows and linux docker engines, so I can't connect windows based microservices to the RabbitMq service by using container name.

Can someone help me out with this issue?
Nov 9, 2018 in Docker by Sophie may
• 9,530 points
92 views

1 answer to this question.

0 votes
You can create a host file in such a way that the IP of the RabbitMQ Docker container is set to a name. An example is, with Docker Toolbox you can put the this in host:

    192.168.99.100 docker

Now every developer can set the IP and the docker-compose could use the name.
answered Nov 9, 2018 by Sophie may
• 9,530 points

Related Questions In Docker

0 votes
1 answer
0 votes
1 answer

How does save and export command work in docker and how are they different from one another?

Export : Export is used to persist a ...READ MORE

answered Jul 2 in Docker by Sirajul
• 17,240 points

edited Jul 2 by Sirajul 19 views
0 votes
1 answer

How to install telnet in Docker for Windows 10?

If you are trying to telnet in ...READ MORE

answered Aug 27, 2018 in Docker by Tyrion anex
• 8,280 points
492 views
0 votes
1 answer

How to save a Dynamic port in Docker for Windows?

The mapped ports can be accessed via ...READ MORE

answered Sep 4, 2018 in Docker by Tyrion anex
• 8,280 points
37 views
0 votes
1 answer
0 votes
1 answer
0 votes
2 answers
0 votes
1 answer