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 in Docker by anonymous
• 19,570 points
33 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 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 in Docker by MD
• 77,580 points
167 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 17,871 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
983 views
0 votes
1 answer

How to configure my docker container to use a different logging driver?

When you start a docker container, you ...READ MORE

answered Jul 4, 2019 in Docker by Sirajul
• 58,210 points
352 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
• 57,700 points
908 views