Comments (9)
Seems to me that this is only an external tool issuing commands using the remote api. And using some health-checking mechanisms as well as a discovery tool to add new slaves which is connected to the Docker Hub (for now and after some time will allow a cli way to add Slaves).
Concerning the second point, I agree that this would be useful to have of way to link containers across machines. But swarm could surely be composed with a networking stand-alone tool (using Weave for example) to connect containers across machines.
from classicswarm.
@lukemarsden I saw that you had a meet up during DockerCon regarding this. Has this become more clear? Would you be able to add some information to this ticket (asking, out off interest).
from classicswarm.
Once a container goes up on a host, how should we be routing to it?
from classicswarm.
@rgbkrk see #146, routing is out of scope for Swarm.
from classicswarm.
Well, I'm asking about how. It's clear linking doesn't work. I assume tools around it need to pull back the IP and port directly?
from classicswarm.
@rgbkrk To answer the "How?" on container linking, support for explicit links (with environment variables for the discovery) assumes modifications on the docker core project to be aware of multiple hosts and pull informations (IP and port) from another host through the remote api. But Swarm clearly seems to be an orthogonal tool built on top of Docker, and such a modification will bring some questioning about this orthogonality. Unless this feature is proposed as an extension using the upcoming plugin system
For now you can use Weave to link containers across hosts using virtual network interfaces. Fortunately, Weave is about to be integrated to Docker as a plugin in order to have native support for advanced networking. So this should not be a long-term issue for Swarm.
Hope this answers your question but tell me if I missed your main concern :)
from classicswarm.
Re @abronan there is also the Ambassador pattern.
from classicswarm.
@robhaswell Yes, +1 for the Ambassador pattern
from classicswarm.
This is being worked on with the clustering API. We are still missing the "plugin" part, but we are getting the extensible side.
Closing this in favor of #213 to track the underlying efforts.
from classicswarm.
Related Issues (20)
- wrong ip to node HOT 1
- How to set the unique environments for tasks on every node in docker swarm? HOT 1
- Concerns about future HOT 15
- Docker: Unable to ping another host from inside of container running in swarm HOT 3
- Help: Network Alias HOT 1
- Feature Suggestion: docker swarm <stack-name> logs should provide aggregated logs from all services HOT 1
- Ingress routing broke after service update with start first HOT 1
- Pull request validation fails, https://jenkins.dockerproject.org not available HOT 1
- Bind Volumes mess up with users and groups... HOT 8
- Please help me ....................................What is alternative method to get discover token for docker-machine swarm ????? HOT 1
- CI: replace custom "dockerswarm/dind" image with official docker:dind image
- Plans on IPv6 support in swarm HOT 1
- docker swarm manager doesn't join on proper ip:port HOT 1
- Port redirection not working with docker swarm HOT 1
- How to access private repos of docker hub? HOT 1
- max_replicas_per_node in paused/drained nodes drives to -> no suitable node when updating service HOT 9
- Grafana v6.6.3 does not work on dockerswarm HOT 1
- service creation failing HOT 1
- Can nodes in a swarm have different versions of docker-ce ? HOT 1
- Why have all issues been closed? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from classicswarm.