-
Notifications
You must be signed in to change notification settings - Fork 18.6k
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
Error from daemon: Cannot start container ... container already joined endpoint #14169
Comments
Hi! Please read this important information about creating issues. If you are reporting a new issue, make sure that we do not have any duplicates already open. You can ensure this by searching the issue list for this repository. If there is a duplicate, please close your issue and add a comment to the existing issue instead. If you suspect your issue is a bug, please edit your issue description to include the BUG REPORT INFORMATION shown below. If you fail to provide this information within 7 days, we cannot debug your issue and will close it. We will, however, reopen it if you later provide the information. This is an automated, informational response. Thank you. For more information about reporting issues, see https://github.com/docker/docker/blob/master/CONTRIBUTING.md#reporting-other-issues BUG REPORT INFORMATIONUse the commands below to provide key information from your environment:
Provide additional environment details (AWS, VirtualBox, physical, etc.): List the steps to reproduce the issue: Describe the results you received: Describe the results you expected: Provide additional info you think is important: ----------END REPORT --------- #ENEEDMOREINFO |
@Stellaverse this is as per design. A service can be backed by only 1 container. Hence if you try to create multiple containers with the sane service |
Well, that sucks. Guess I go back to Weave. My use case (and I believe everyone's use case) is that I want to run multiple containers under the same service name (domain) and have my overlay/bridge network automatically balance load across all available containers at that endpoint, across my cluster. If I have to supply a unique service endpoint for all containers I may as well stick with my |
@Stellaverse We are trying to get user feedback for these experimental feature under #14083. Can you please add your comment in that PR ? In general, the reason we designed for 1-1 service-backend mapping is to provide the flexibility for the user to choose their own favorite load-balancing solution (instead of docker platform prescribing one by default). As an example, you could have published a HAProxy container via |
I see your point, and I appreciate the composability, but I've already got the setup you describe without using On each instance in my cluster I've got one container called Proxy (node http-proxy) listening on 80/443. All requests from the outside internet (my ELB) hit Proxy and then are routed to the appropriate internal endpoint (10.0.0.1:3001, 10.0.0.2:3002, 10.0.0.3:3003, for example) using a bunch of glue that pulls the ip/port from the env vars created in the Proxy container upon launch using I'm not seeing the advantage to using |
@Stellaverse I understand your point as well. But the difference here is that |
Ah, so I can have multiple containers publishing the same service domain (e.g. hello.srv), but there can only be 1 per host? |
Hi folks,
I realize this issue has been reported using
--net=host
, but I'm having the same issue otherwise as well.Install experimental version:
Docker Version:
Docker info:
uname -a
Create a network and run a container:
And then another:
And this is the resutant error:
Hope that helps narrow things down.
The text was updated successfully, but these errors were encountered: