Running Docker in Production
Running Docker in Production
• Introduction
• Application Management
• Networking with Calico
• Demonstration
• Roadmap
• Questions
Copyright 2015 by Cloudsoft Corporation Limited @grkvlt
Clocker
Introduc.on
Clocker Developers
• 15 KLOC
• 26 Releases
http://www.redotheweb.com/CodeFlower/
@grkvlt
Apache jclouds
• Java Cloud Library
• API Agnostic
• SoftLayer, OpenStack, AWS EC2, GCE…
• Create Virtual Machines
• Return SSH Endpoint
• Create Containers
• Docker REST API
• Containers
• Isolation
• Performance
• Composable
• Huge Ecosystem
• Compute Abstraction
• Process Wrapper
@grkvlt
Docker Extras
• So0ware-‐Defined
Networking
• Calico
• Weave
• Storage
and
Volume
Management
• Flocker
• More
Being
Developed…
• Na.ve
Plugins
@grkvlt
Apache Mesos ...
• Distributed Systems Kernel
• Cluster Management
• Resource Sharing and Placement
• Calico SDN Support
• Frameworks
• Aurora and Marathon
• Riak, Spark, Hadoop, Storm et al
• Brooklyn Scheduler
Copyright 2015 by Cloudsoft Corporation Limited @grkvlt
What does it do?
id:
redis-‐service
name:
"Docker
Hub
Redis
Service"
origin:
"https://registry.hub.docker.com/_/redis/"
locations:
-‐
my-‐docker-‐cloud
services:
-‐
type:
docker:redis:3
id:
redis
openPorts:
-‐
6379
id:
redis-‐cluster
name:
"Redis
Cluster"
locations:
-‐ jclouds:aws-‐ec2:
region:
eu-‐central-‐1
services:
-‐
type:
org.apache.brooklyn.entity.nosql.redis.RedisCluster
initialSize:
3
1. On-demand
2. Multi-Tenant
3. Hardware Independent
4. Application Level
Copyright 2015 by Cloudsoft Corporation Limited @grkvlt
Clocker Features
Cloud Virtual
Brooklyn
Provider Machine
Docker
Container
Engine
SDN Network
Clocker
Provider Segment
SDN SDN
Internet Gateway Bridge
Clocker Solves:
– Docker Cloud Networking
– Container Placement and Provisioning
– Composite Application Management
Ques.ons?
Nyan Whale
Resources
http://clocker.io/
http://brooklyn.io/
https://github.com/brooklyncentral/clocker/
https://github.com/apache/incubator-‐brooklyn/
https://github.com/Metaswitch/calico-‐docker/
https://github.com/weaveworks/weave/
http://blog.abstractvisitorpattern.co.uk/
@grkvlt