Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Docker Networking with Clocker and Weave
Search
Andrew Kennedy
November 27, 2014
Technology
0
100
Docker Networking with Clocker and Weave
Talk given at Edinburgh Docker Meetup, November 2014.
Andrew Kennedy
November 27, 2014
Tweet
Share
More Decks by Andrew Kennedy
See All by Andrew Kennedy
Building a Blockchain Platform with Hyperledger Sawtooth and Seth
grkvlt
1
300
Building a Blockchain
grkvlt
1
110
Blockchain and Brooklyn
grkvlt
0
170
Hyperledger in Action
grkvlt
1
140
Keeping OpenShift Evergreen
grkvlt
0
130
Orchestrating the Blockchain Using Containers
grkvlt
0
180
Introducing Cloudsoft Container Service
grkvlt
0
65
Managing Blockchain Applications with Hyperledger and Docker on Cloudsoft AMP
grkvlt
0
330
Multi-Container Applications Spanning Docker, Mesos and OpenStack
grkvlt
2
830
Other Decks in Technology
See All in Technology
SREのプラクティスを用いた3領域同時 マネジメントへの挑戦 〜SRE・情シス・セキュリティを統合した チーム運営術〜
coconala_engineer
2
660
~Everything as Codeを諦めない~ 後からCDK
mu7889yoon
3
400
10Xにおける品質保証活動の全体像と改善 #no_more_wait_for_test
nihonbuson
PRO
2
300
登壇駆動学習のすすめ — CfPのネタの見つけ方と書くときに意識していること
bicstone
3
110
GitHub Issue Templates + Coding Agentで簡単みんなでIaC/Easy IaC for Everyone with GitHub Issue Templates + Coding Agent
aeonpeople
1
240
20260208_第66回 コンピュータビジョン勉強会
keiichiito1978
0
150
Kiro IDEのドキュメントを全部読んだので地味だけどちょっと嬉しい機能を紹介する
khmoryz
0
200
仕様書駆動AI開発の実践: Issue→Skill→PRテンプレで 再現性を作る
knishioka
2
670
Data Hubグループ 紹介資料
sansan33
PRO
0
2.7k
顧客の言葉を、そのまま信じない勇気
yamatai1212
1
360
SRE Enabling戦記 - 急成長する組織にSREを浸透させる戦いの歴史
markie1009
0
120
インフラエンジニア必見!Kubernetesを用いたクラウドネイティブ設計ポイント大全
daitak
1
370
Featured
See All Featured
Tell your own story through comics
letsgokoyo
1
810
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
49
3.3k
Mind Mapping
helmedeiros
PRO
0
87
Game over? The fight for quality and originality in the time of robots
wayneb77
1
120
Imperfection Machines: The Place of Print at Facebook
scottboms
269
14k
Jamie Indigo - Trashchat’s Guide to Black Boxes: Technical SEO Tactics for LLMs
techseoconnect
PRO
0
62
Breaking role norms: Why Content Design is so much more than writing copy - Taylor Woolridge
uxyall
0
170
For a Future-Friendly Web
brad_frost
182
10k
Why Our Code Smells
bkeepers
PRO
340
58k
State of Search Keynote: SEO is Dead Long Live SEO
ryanjones
0
120
Exploring the relationship between traditional SERPs and Gen AI search
raygrieselhuber
PRO
2
3.6k
Believing is Seeing
oripsolob
1
55
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/