top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

Docker: I want to create producer consumer docker containers ?

0 votes
335 views

What should be the approach to create two containers in such way one container writes in shared resource and another container then consumes the content ? I want to achieve the same thing as we all did for producer consumer problem using the inter process communication.

posted Aug 14, 2017 by Vikram Singh

Looking for an answer?  Promote on:
Facebook Share Button Twitter Share Button LinkedIn Share Button

Similar Questions
+3 votes

I have one host machine and want to run multiple docker containers and each container I want to run different web servers.
How I can achieve this ? Sharing the steps would be good enough for me to proceed. Thanks in advance.

+1 vote

I know docker client is used to launch docker containers on docker host. Which protocol is used between docker client and docker host ? Is it necessary docker client run on the same host in which docker client run ?

+1 vote

There are multiple cases:
1. A number of containers have been launched in the same host. how these container communicate to each other
2. Out of "x" numbers of containers in the same host, I want to enable communication between two specific containers. How I can achieve this ?
3. Containers have been launched into different hosts machine and I want to enable communication between these containers. What are the options available ?

...