Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Docker Networking with Clocker and Weave
Search
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
Andrew Kennedy
November 27, 2014
Technology
120
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Docker Networking with Clocker and Weave
Talk given at Edinburgh Docker Meetup, November 2014.
Andrew Kennedy
November 27, 2014
More Decks by Andrew Kennedy
See All by Andrew Kennedy
Building a Blockchain Platform with Hyperledger Sawtooth and Seth
grkvlt
1
320
Building a Blockchain
grkvlt
1
120
Blockchain and Brooklyn
grkvlt
0
200
Hyperledger in Action
grkvlt
1
140
Keeping OpenShift Evergreen
grkvlt
0
150
Orchestrating the Blockchain Using Containers
grkvlt
0
190
Introducing Cloudsoft Container Service
grkvlt
0
72
Managing Blockchain Applications with Hyperledger and Docker on Cloudsoft AMP
grkvlt
0
330
Multi-Container Applications Spanning Docker, Mesos and OpenStack
grkvlt
2
870
Other Decks in Technology
See All in Technology
React Nativeでの OTA Updateって、 どう説明する?
ichiki1023
0
130
AI駆動開発で仕様はどこまで書くべきか? ― 人とAIの責務境界から考える開発プロセスの実践
takahiromatsui
1
300
AI 時代の Azure エンジニアリング ~ 私たちは何を磨き、何を任せるのか ~
chack411
1
360
10年欲しかった音楽管理アプリを、AIと一緒に作りはじめた
judau
1
200
AI駆動開発、viviONの1年 ── うまくいったこと・いかなかったこと
vivion
0
140
FinTech 1-2 : Overview of FinTech
ks91
PRO
0
130
インバスケット試験対策アプリを 作って見えたAIエージェント構築 ナレッジ2選
shichijoyuhi
1
110
VS Code × GitHub Copilot での Fabric 開発
ryomaru0825
1
220
The kernel report
ennael
PRO
1
200
AI Native Platform Engineering 〜PlatformとAgileで“作る速さ”を“価値”へ〜
uya116
0
600
個別開発で終わらせない。 現場の課題をプロダクトの強さに変える StockmarkのFDE
ktkrhr
0
540
組み立てて楽しむ AWS Blocks 入門
kmiya84377
0
130
Featured
See All Featured
Thoughts on Productivity
jonyablonski
76
5.4k
Fireside Chat
paigeccino
43
4k
AI in Enterprises - Java and Open Source to the Rescue
ivargrimstad
0
1.5k
技術選定の審美眼(2025年版) / Understanding the Spiral of Technologies 2025 edition
twada
PRO
120
120k
WCS-LA-2024
lcolladotor
0
840
Beyond borders and beyond the search box: How to win the global "messy middle" with AI-driven SEO
davidcarrasco
3
270
Navigating the Design Leadership Dip - Product Design Week Design Leaders+ Conference 2024
apolaine
2
450
The SEO Collaboration Effect
kristinabergwall1
1
580
Designing Dashboards & Data Visualisations in Web Apps
destraynor
232
55k
Scaling GitHub
holman
464
140k
How to audit for AI Accessibility on your Front & Back End
davetheseo
0
560
Accessibility Awareness
sabderemane
1
230
Transcript
Docker Networking with Clocker and Weave Andrew
Kennedy @grkvlt Edinburgh Docker Meetup, November 2014
Introduc)on • Andrew Kennedy – So1ware Engineer
– Open Source – github.com/grkvlt • Cloudso1 Corpora)on – Local (CodeBase) Company – We’re Hiring…
Introduc)on • Moving Parts • Docker •
Weave • Clocker • Brooklyn • Demonstra)on
Clocker Project • What does it do? – Manages
Docker Infrastructure – Deploys Blueprints to Docker • What is it? – Brooklyn Applica)on – Brooklyn Loca)on
Docker • Popular – Huge Ecosystem – Growing
– Complex • Containers – Isola)on – Performance – Composable
Docker
LimitaEons… Docker LimitaEons…
Docker Limita)ons • Mul)ple Hosts • Networking
– Same Issue – Communica)on Between Services • Orchestra)on and Clustering – Control of Containers – Container Management
Docker Limita)ons • Plugin API will Help •
Not standardized yet • Working on it… • Need to avoid lock-‐in • One size fits all is never good enough
Docker Networking • Separate Container Network • RFC
1918 Private Addresses • Non Routable • Bridged to Host • Port Forwarding • Mul)ple Endpoints for Services
Docker Topology
So1ware Defined Networking • Overlay Networks • Kernel
or User Space • Many Op)ons – Pipework – SocketPlane – Flannel – Open vSwitch – Weave
Weave • Ethernet Switch – User Space
– Docker Container • Mesh Topology • Routes TCP Traffic – Sniffs on Host – Forwards over TCP
Weave
Clocker Project
Clocker Project • Open Source • GitHub
• Apache 2.0 Licensed • Java • Recently Developed • S)ll Beta Status • 0.7.0-‐SNAPSHOT
Why Clocker • Docker Popularity – Solve Some
Limita)ons • Best of Breed – Configura)on – Components • Brooklyn Integra)on – Container to En)ty Mapping
Apache Brooklyn • Apache Brooklyn – Cloudso1 Product
– Open Source Java – Donated to the ASF – Incubator Status
Apache Brooklyn • Applica)on Management Placorm • Deploy,
Manage and Monitor Blueprints • Provisioning, Installa)on and Customiza)on • Management • AutoScaling, Resilience, Performance, Access
Apache Jclouds • Java Cloud Library • API
Agnos)c – CloudStack, OpenStack, AWS EC2, GCE… • Create Virtual Machines – Return SSH Endpoint – Manage Proper)es
Apache Jclouds • Drivers for REST APIs •
Docker Driver – Wrifen by @turlinux • Virtual Container – Using SSH Daemon – Same Endpoint Type as VM – Composi)on on any Image or Dockerfile
Clocker Features • Applica)on Deployment – Oasis CAMP
YAML Blueprint – TOSCA in Development – Same as Core Brooklyn • Mixed Des)na)ons – Some Virtual Machines – Some Bare Metal – Some Containers
Container Management • Sources – Docker Image Defini)on
– Docker Hub – Dockerfile – Brooklyn En)ty Defini)on • Create Image Automa)cally – Commit or Push for Reuse
Container Placement • Placement Strategies – Random, Depth
or Breadth First – CPU or Memory Usage – Memory, CPU or Container Limits – Geographic Constraints • User Defined – Java Predicate
Networking • Shared Weave LAN – Common to All
Containers – Private (Link Local) Addresses • Clocker Controls IP Alloca)on – Applica)ons Segmented by CIDR • Docker Port Forwarding Access
Networking • S)ll First Steps… • Name Resolu)on
– BIND and DNSmasq – Needed for JMX et al • Enables Many More En))es • But Needs Tested!
DemonstraEon
None
None
None
Roadmap • Networking – DNS and DNSmasq Integra)on
– Rancher Integra)on – Open vSwictch Integra)on • Gelng Started – Clocker Dockerfile
Roadmap • Repositories – Docker Repository – Bintray, Ar)factory,
Quay.io – Private Repositories • Applica)on Defini)on – TOSCA
Summary • Clocker – Brooklyn + Docker + Jclouds
+ Weave • Solves – Docker Networking – Container Placement – Applica)on Defini)on
Audience Ques)ons? 1. Typical Docker use cases? 2.
What networking features would make these easier? 3. What other features would be most useful to enhance Docker usability?
Thanks! Ques)ons?
Web Resources http://clocker.io/ http://brooklyn.io/ http://docker.io/ http://github.com/zettio/weave/
http://abstractvisitorpattern.co.uk/