3. Why Docker?!
(an incomplete list)
• Compatibility with Docker
images (if standardizing or
desiring cross-cloud compat.)
• Dockerfiles provide flexible,
repeatable image building
• Global, multi-cloud image
registry
• Layered images / builds
• Completeness of vision
4. Five major use cases
• Alternative form of virtualization for multi-tenant services!
• Continuous Integration/Continuous Delivery:!
• Go from developer’s laptop, through automated test, to production, and through
scaling without modification!
• Scale-out/Big Data:!
• Rapidly scale same application across hundreds or thousands of servers…and scale
down as rapidly!
• Cross Cloud Deployment!
• Move the same application across multiple clouds (public, private, or hybrid) without
modification or noticeable delay!
• Resource and Security Isolation:!
• Docker simplifies the separation of security concerns. Multiple processes of the same
“application” may run on a host, linked together, sharing resources but within separate
security contexts (SeLinux labels, Linux capabilities, Cgroups, etc)
5. Demo at OpenStack Summit HK
• Application Containerized from Source!
• Application Goes Through Development Testing!
• Push from laptop to Rackspace Cloud!
• No downtime or modification required!
• Push from Rackspace to Digital Ocean!
• No downtime or modification required!
• Push from Digital Ocean to OpenStack Cluster!
• No downtime or modification require!
• Provision via Horizon – Native Havana Nova Integration
http://bit.ly/
KQyIZC
Watch: Write Once and REALLY Run
Anywhere with OpenStack and Docker
6. Closer to the Docker workflow
Hybrid-cloud compatible
Scheduled by backing cloud
Integration with other services
Nova features (quota, auth, etc…)
Abstraction layer for other hypervisors
Integrated scheduling
Heat vs Nova!
Comparison
7. Project
SOLUM
“Convert code into a managed application running
on an OpenStack cloud at the push of a button.”
FROM CODE TO MANAGED APP
10. What?
Enables control of
Docker via OpenStack:
• Nova API
• Horizon UI
Supports:
• launch
• terminate
• reboot
• serial console
• snapshot
• glance
https://wiki.openstack.org/wiki/
HypervisorSupportMatrix
12. Image Management
docker-registry is a proxy
!
users can upload through docker-
registry or to glance directly
!
docker pulls images through the
docker-registry proxy
21. Where container == host; for all practical purposes
Host
VM
Linux
VM
Host
Container
Linux
VM
Vagrant
(or other VM devstack environment)
Dockenstack
22. Pre-cached resources
• Pre-installed all ‘pip’ requirements
• Checkout of all git repositories
• All required ubuntu packages installed, or downloaded
(in the case of non-prime packages)
• Each are ‘freshened’ on boot with updates so the pre-
caching has no negative effect.
The image arrives prepared…
23. Negatives of dockenstack…
• No RHEL / SuSe / Fedora support (yet)
• Only tested with LXC and Docker virt drivers,
but shouldn’t have problems with other drivers.