Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Running YARP in Docker Container #7

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

NaincyKumariKnoldus
Copy link

Hey! I have fixed the port for this.

@amroczeK
Copy link

You can't have multiple containers using the same port. This will not work, this is the result:

ERROR: for demoaddressapi Cannot start service demoaddressapi: driver failed programming external connectivity on endpoint addressesapi (b556459fd13caf83cf5f41de2c38ed54f8ed6fd6aa2c8fce086a59804578386e): Bind for 0.0.0.0:5002 failed: port is already allocated

Did you even test your PR before raising it?

Copy link

@amroczeK amroczeK left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Revert port change

@@ -9,7 +9,7 @@ services:
context: .
dockerfile: DemoProxy/Dockerfile
ports:
- "5000:80"
- "5002:80"

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can't run multiple containers on the same listening port.

@cecilphillip
Copy link
Owner

@NaincyKumariKnoldus 1st, my apologies for taking so long before seeing this. 2nd I don't think this is still any issue but if it is, please let me know

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants