Behind the scenes with
Docker volume plugins
Luke Marsden
CTO, ClusterHQ
@lmarsden @clusterhq
Summer 2014
… trying to solve data problems for
Docker…
Docker Docker Docker Docker
Orchestration +
scheduling
Docker API
Docker Docker Docker Docker
Orchestration +
scheduling
Docker API
Networking extensions
Storage extensions
???
Wrapping sucks :(
December 2014:
CoreOS launched a rocket

Pressure on Docker to demonstrate
composability
December 2014: DockerCon EU
Docker Docker Docker Docker
Orchestration +
scheduling
Docker API
N S N S N S N S
Plugin mechanism
Late-bound
Composable
Optional
Healthy ecosystem
Lots of innovation
Powerstrip is was a prototyping tool for Docker extensions
Feb 2015: Launch Powerstrip
@crosbymichael@icecrime @progrium
@solomonstre@squaremobius@ chanezon@calavera
@binocarlos
The day before DockerCon June 2015
Docker 1.7 Experimental
Volume plugins in 1.8
Network plugins in 1.9
Here are some cool
things you can do with
docker volume plugins
dvol
github.com/clusterhq/dvol
Use case: git for data
storageb1
compute
dev’s
laptop c1
- commit_1
Use case: git for data
storageb1
compute
dev’s
laptop c1
b2
- commit_1- commit_1
Use case: git for data
storageb1
compute
dev’s
laptop c1
b2
- commit_1
- commit_2
- commit_1
Use case: git for data
storageb1
compute
dev’s
laptop c1
b2
- commit_1
- commit_2
- commit_1
Use case: git for data
storageb1
compute
dev’s
laptop c1
b2
- commit_1
- commit_2
- commit_1
b3
- commit_1
Use case: git for data
storageb1
compute
dev’s
laptop c1
b2
- commit_1
- commit_2
- commit_1
b3
- commit_1
- commit_2’
Demo 1
“git for data”
Flocker (+ Volume Hub)
Network attached block storages1 s2
+
ClusterHQ
ClusterHQ
Use case: relocate app
storagev1
compute
container
host
(VM or
bare metal)
c1 c2
container composition
v2
ClusterHQ
Use case: relocate app
storagev1
compute
container
host
(VM or
bare metal)
c1 c2
ClusterHQ
v2
container composition
Demo 2
relocate app
docs.clusterhq.com
Flocker + Swarm
ClusterHQ
Use case: HA when node fails
storagev1
compute
container
host
(VM or
bare metal)
c1
ClusterHQ
container composer + scheduler + SD
ClusterHQ
Use case: HA when node fails
storagev1
compute
container
host
(VM or
bare metal)
ClusterHQ
container composer + scheduler + SD
ClusterHQ
Use case: HA when node fails
storagev1
compute
container
host
(VM or
bare metal)
ClusterHQ
c1
container composer + scheduler + SD
Demo 3
Swarm will soon have HA support…

(Flocker also integrates with Mesos &
Kubernetes)
Summary
Docker plugins allow you to do some cool
stuff with volumes and networks
Write your own…
https://docs.docker.com/engine/extend/plugins/
… or use ours
Container data
management in dev
+
engine,
compose
+
+ +
Container data
management in prod
Email me now!
luke@clusterhq.com
Try dvol + Flocker today for stateful
microservices
@lmarsden @clusterhq

clusterhq.com
We are hiring in Bristol + SF Bay Area

clusterhq.com/careers

Behind the scenes with Docker volume plugins