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
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
64
Managing Blockchain Applications with Hyperledger and Docker on Cloudsoft AMP
grkvlt
0
330
Multi-Container Applications Spanning Docker, Mesos and OpenStack
grkvlt
2
820
Other Decks in Technology
See All in Technology
[Keynote] What do you need to know about DevEx in 2025
salaboy
0
150
Modern_Data_Stack最新動向クイズ_買収_AI_激動の2025年_.pdf
sagara
0
240
業務効率化をさらに加速させる、ノーコードツールとStep Functionsのハイブリッド化
smt7174
2
110
PLaMoの事後学習を支える技術 / PFN LLMセミナー
pfn
PRO
9
4k
自動テストのコストと向き合ってみた
qa
0
210
from Sakichi Toyoda to Agile
kawaguti
PRO
1
110
「れきちず」のこれまでとこれから - 誰にでもわかりやすい歴史地図を目指して / FOSS4G 2025 Japan
hjmkth
1
200
Oracle Base Database Service 技術詳細
oracle4engineer
PRO
11
78k
ガバメントクラウド(AWS)へのデータ移行戦略の立て方【虎の巻】 / 20251011 Mitsutosi Matsuo
shift_evolve
PRO
2
180
Uncle Bobの「プロフェッショナリズムへの期待」から学ぶプロの覚悟
nakasho
2
110
How to achieve interoperable digital identity across Asian countries
fujie
0
140
E2Eテスト設計_自動化のリアル___Playwrightでの実践とMCPの試み__AIによるテスト観点作成_.pdf
findy_eventslides
1
570
Featured
See All Featured
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
7
900
Building Applications with DynamoDB
mza
96
6.7k
What's in a price? How to price your products and services
michaelherold
246
12k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
52
5.6k
Speed Design
sergeychernyshev
32
1.2k
StorybookのUI Testing Handbookを読んだ
zakiyama
31
6.2k
Statistics for Hackers
jakevdp
799
220k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
34
6.1k
A better future with KSS
kneath
239
18k
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
PRO
189
55k
Being A Developer After 40
akosma
91
590k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
45
2.5k
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/