How to use a single URL to access an application on 4 different containers in docker

0 votes
Hello everyone...I need help with docker.

I have a microservice-based application with, a total of 4 microservices running on different ports, now how to get a single URL to access the application...I mean I want to give a URL to the users so when they hit that URL, it will open the application.
Oct 23, 2020 in Docker by anonymous
• 19,580 points
66 views

1 answer to this question.

0 votes
You need to decide which service will be the Client facing. (eg: in a Full-stack app, front end service is client-facing).

And the IP address:PortNo of the service is what you should give to users.
answered Oct 23, 2020 by anonymous

Related Questions In Docker

0 votes
1 answer

How to remove all docker containers in a single command?

Hi@akhtar, I don't think there are any pre ...READ MORE

answered Apr 27, 2020 in Docker by MD
• 95,060 points
239 views
+4 votes
4 answers

How To Access a Service on Host From a Docker Container?

Adding to kalgi's answer, You can also ...READ MORE

answered Oct 16, 2018 in Docker by lina
• 8,220 points

edited Oct 16, 2018 by lina 20,230 views
+1 vote
2 answers

How to run docker containers on different machines

You can use labels and selectors for ...READ MORE

answered Oct 23, 2018 in Docker by Laila
1,345 views
+2 votes
1 answer
+2 votes
1 answer

Deploy Docker Containers from Docker Cloud

To solve this problem, I followed advice ...READ MORE

answered Sep 3, 2018 in AWS by Priyaj
• 58,100 points
1,043 views