weave - containers across clouds - edinburgh docker meetup, july 2015
TRANSCRIPT
Containers!
• Easy to use !• Single Purpose environment!!
• But: non trivial once you move beyond a single host and applications need networking and other tooling!
Weave!• What? Portable application clusters made easy!
• How? Service discovery & address automation via a secure, application orientated virtual container network!
• Write the application and get the networking to do what you need not vice versa!
• Minimum configuration, it just works !
• Containers do not require specialist knowledge of other containers to connect to each other!
Weave Info!• Launched Sept 2014!
• Founders previously founded RabbitMQ!
• Current release (1.0.1) launched in June 2015!
• Cumulative 140K Downloads of github releases!
• 300K Weavetools containers / 1M+ since launch!
• ~3550 Stars on Github!
https://github.com/weaveworks/weave!
!
!
Weave!
• Connect services across hosts!
• Across data centres!
• Across clouds!
With the same interface and !
no application changes!
Weave Run!• Service Discovery, Automatic IP Address Allocation
and Management, Load Balancing and DNS for containers!
• All part of Weave!
• nothing to configure!
• nothing to maintain!
• no change request to submit when you need a new name…. !
Weave Run!• Just launch your containers with a hostname using
regular docker commands!
• Weaves functionality will do the rest!
• Application is addressable by a known hostname!
• Weave can do simple round robin load balancing efficiently as you are in a constrained network!
• Easy to query via dig for information that load balancers or other tools may need!
In Practice?!
• Install Weave!
sudo curl -L git.io/weave -o /usr/local/bin/weave sudo chmod a+x /usr/local/bin/weave!
• Launch Weave!
"weave launch [-initpeercount x] !
In Practice?!
"eval $(weave proxy-env) "!
"docker run –d –h foo.weave.local your/container !
"docker run –d –h bar.weave.local my/container!
Upcoming!• Fast Data Path 1.0!
• In kernel data path!
• Weave Scope!
• Further work on Docker Plugins!
• …. your suggestions? pull requests?!
!
!Thank You!!
!Questions?!
@weaveworks / @fintanr!!
Get Involved!https://github.com/weaveworks/weave!
!Talk to Us!
[email protected]!@weaveworks!
#weaveworks on Freenode!!!