CNI for Docker Containers with Weave and Calico
1–10 of 20 posts
Re: CNI for Docker Containers with Weave and Calico
#2Re: CNI for Docker Containers with Weave and Calico
#3Am I the only one wondering who Calico is? (I'm not finding an obvious candidate with a quick Google search ...)
Re: CNI for Docker Containers with Weave and Calico
#4Re: CNI for Docker Containers with Weave and Calico
#5[1] https://blog.docker.com/2015/11/docker-multi-host-networking...
Re: CNI for Docker Containers with Weave and Calico
#6Re: CNI for Docker Containers with Weave and Calico
#7What's the new thing here? If I understood correctly, it seems that you can connect your Docker host to an overlay network, so your containers can access other containers and resources through it. Am I correct to think this facilitates orchestration of the containers' network?
Disclosure: I am behind https://wormhole.network which could be seen as some sort of Weave competitor, but it's not. It covers other use cases, even though there's some overlapping e.g. overlay multi-host networking for containers https://github.com/pjperez/docker-wormhole - it doesn't require changes on the host itself, but can't be orchestrated.
Re: CNI for Docker Containers with Weave and Calico
#8Am I the only one wondering who Calico is? (I'm not finding an obvious candidate with a quick Google search ...)
Occasionally it makes me feel left behind.
Then I remember most of these "new hotness" technologies get abandoned as quickly as they get adopted, so I'm not missing much.
Re: CNI for Docker Containers with Weave and Calico
#9Re: CNI for Docker Containers with Weave and Calico
#10I haven't looked at this in detail, but does this work with the standard networking features introduced in Docker 1.9 [1] and 1.10 [2]? Can I still use 'docker network create/connect' and the DNS service discovery features of Docker? Can containers interoperate regardless of the choice of Docker plugin, or will they only work on a plugin based on the weave proxy? The wording in the post leaves that ambiguous. [1] htt…
What they've done now if I've understood it correctly, is that they've effectively leveraged that to allow them to intercept Docker API calls, and if that call requests a network provided by a CNI plugin, they call CNI "on behalf of Docker" and then pass on a modified API call to Docker, so you can have Docker/Kubernetes/Rocket on the same overlay network.
> Can containers interoperate regardless of the choice of Docker plugin, or will they only work on a plugin based on the weave proxy?
Containers don't care what network you configure. Basically Docker will just use a bridge interface, assign IP addresses for a container on that bridge, and optionally expose ports on the host. The Docker networking support lets Docker query an external plugin API to obtain the details to use for a container. Kubernetes and Rocket implements a different plugin API for the same purpose. But in both all of this happens before a container is started.
Once it's started, the container just sees a an interface bound to a suitable IP, so your containers should not need to care.