Skip to content
This repository has been archived by the owner on Jun 20, 2024. It is now read-only.

[dns] facilitate configuration of weavedns docker args #487

Closed
awh opened this issue Mar 25, 2015 · 5 comments
Closed

[dns] facilitate configuration of weavedns docker args #487

awh opened this issue Mar 25, 2015 · 5 comments
Assignees
Milestone

Comments

@awh
Copy link
Contributor

awh commented Mar 25, 2015

This will provide weave launch-dns with analogous behaviour to weave launch; the DNS specific -fallback option can then be retired.

@richtera
Copy link

I put a note into #484, but just so it doesn't get lost.
If you re-configure docker -d to use --dns to point to weave-dns so that docker run automatically selects this dns for new dockers, then it would be hard to make the generic mech work if it relied on /etc/resolv.conf. Not impossible, but hard.

@rade
Copy link
Member

rade commented Mar 25, 2015

@richtera why do you think this would be hard? Should simply be a matter of WEAVEDNS_DOCKER_ARGS="--dns=FallBackDNSIP".

@rade rade changed the title [dns] Introduce WEAVEDNS_DOCKER_ARGS, deprecate weave launch-dns -fallback [dns] facilitate configuration of weavedns docker args Mar 25, 2015
@richtera
Copy link

That's a great idea as long as there was a NON_WEAVEDNS_DOCKER_ARGS="--dns=weavednsIP --fixed-cidr=cidr" Maybe there could be a plugin in docker to automatically add the machine to DNS without requiring the weave run command?

The one thing that I am not sure how to reconcile is the fact that weave is an extra feature to docker; so when I want to deploy my marathon group on top of mesos using docker I'd have to specify: "Oh by the way make sure all your dockers are routed correctly using weave and weave-dns." But I know that's silly to expect at this point, but it does seems to be something we need to get beyond.

@rade
Copy link
Member

rade commented Mar 25, 2015

That's a great idea as long as there was a NON_WEAVEDNS_DOCKER_ARGS="--dns=weavednsIP --fixed-cidr=cidr" Maybe there could be a plugin in docker to automatically add the machine to DNS without requiring the weave run command?

Are you asking for a way to run containers and attach them to the weave network and name them in weaveDNS with just plain docker run instead of weave run? That would be a completely separate issue.

@richtera
Copy link

That would be great, but my statement was supposed to be more general thought: There are many different ways to build networks of dockers running across a cluster of machines; I believe this kind of network topology is much easier to manage than random port mappings.

But unless it's build into "most" of the clouds available for people to deploy application the application design kind of bleeds into the infrastructure requirements in weird ways.

I agree it's a completely separate issue, this got me thinking though :).

@rade rade self-assigned this Mar 31, 2015
@rade rade closed this as completed in de557a3 Mar 31, 2015
@rade rade modified the milestone: 0.10.0 Apr 18, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants