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 24, 2020 in Docker by anonymous
• 19,620 points

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 24, 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,300 points
+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 24,558 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
+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,140 points