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
99
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
280
Building a Blockchain
grkvlt
1
110
Blockchain and Brooklyn
grkvlt
0
160
Hyperledger in Action
grkvlt
1
130
Keeping OpenShift Evergreen
grkvlt
0
120
Orchestrating the Blockchain Using Containers
grkvlt
0
180
Introducing Cloudsoft Container Service
grkvlt
0
63
Managing Blockchain Applications with Hyperledger and Docker on Cloudsoft AMP
grkvlt
0
330
Multi-Container Applications Spanning Docker, Mesos and OpenStack
grkvlt
2
810
Other Decks in Technology
See All in Technology
あなたの知らない OneDrive
murachiakira
0
170
薬屋のひとりごとにみるトラブルシューティング
tomokusaba
0
410
GISエンジニアよ 現場に行け!
sudataka
1
140
Amazon Inspector コードセキュリティで手軽に実現するシフトレフト
maimyyym
0
150
20250807 Applied Engineer Open House
sakana_ai
PRO
2
650
どこで動かすか、誰が動かすか 〜 kintoneのインフラ基盤刷新と運用体制のシフト 〜
ueokande
0
120
ウォンテッドリーのアラート設計と Datadog 移行での知見
donkomura
0
230
結局QUICで通信は速くなるの?
kota_yata
9
7.5k
工業高校で学習したとあるエンジニアのキャリアの話
shirayanagiryuji
0
120
LLM時代の検索とコンテキストエンジニアリング
shibuiwilliam
2
960
20250818_KGX・One Hokkaidoコラボイベント
tohgeyukihiro
0
120
自治体職員がガバクラの AWS 閉域ネットワークを理解するのにやって良かった個人検証環境
takeda_h
2
350
Featured
See All Featured
Making Projects Easy
brettharned
117
6.3k
Scaling GitHub
holman
462
140k
Designing Experiences People Love
moore
142
24k
Building a Scalable Design System with Sketch
lauravandoore
462
33k
YesSQL, Process and Tooling at Scale
rocio
173
14k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
131
19k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
44
2.4k
GraphQLの誤解/rethinking-graphql
sonatard
71
11k
Agile that works and the tools we love
rasmusluckow
329
21k
Automating Front-end Workflow
addyosmani
1370
200k
Optimising Largest Contentful Paint
csswizardry
37
3.4k
[RailsConf 2023] Rails as a piece of cake
palkan
56
5.8k
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/