SlideShare a Scribd company logo
Everything you need to know
about Docker and storage.
Ryan
Wallner
Technical Evangelist,
ClusterHQ
Key Concepts
Stageful vs Stateless
Volumes
Plugins
Agenda
Volumes & UCP
UCP + Volumes
External Volumes
VolumeHub
Demo
Creating Volumes
Manage Volumes
Workloads
Key Concepts
Docker & Storage
Docker + Storage
"Stateful" Container
• Secrets - public/private keys,
password, etc
• Databases - databases, sharded,
clustered.
• Logs - to collect support bundles, run
analytics for data mining, etc.
• Other - CI repo data, transcoded
bits...
Stageful vs. Sateless
"Stateless" Container
• Nothing to Disk
• Web Front-End
• Can stop and start as many
containers as you’d like
• Like http is stateless
• Container is ephemeral
• What has happened or changed will
be lost.
Docker volumes help store state from
the application to locations outside the
docker image. They are logical
primitives for shared storage when
combined with plugins.
• Data is local to engine host only.
• Bind-mounts also local, bypass
UFS.
• Data is inflexible, prone to loss.
Docker Volumes
$ docker run 
--name my-special-container 
-v /container/dir busybox
[{e779eb1/var/lib/docker/volumes/e779eb1/_
data /container/dir local true }]
Enable external storage management
such as shared-storage for volumes.
• Data is external to engine host.
• Enables HA for data.
• Data can move with container.
Docker Volume
Plugins
Example
$ docker run --name my-container 
--volume-driver flocker 
-v vol:/data busybox
my-container
$ docker inspect -f “{{.Mounts}}” my-container
[{vol /flocker/71887326.. /data flocker rw true rprivate}]
Container Movement
Volumes & UCP
Docker & Storage
Volumes in UCP
• Create, Delete, Use from UI
• Takes advantage of volume
drivers.
• Limited view into volume
management
VolumeHub
• Clear visibility for volume
management.
• Current status of volumes and
their operations.
• Searchable name and metadata.
• How much storage in use by size
of volumes.
Everything You Need to Know About Docker and Storage by Ryan Wallner, ClusterHQ
Demo
Thank you!

More Related Content

PPTX
A New Centralized Volume Storage Solution for Docker and Container Cloud by W...
PDF
Proof of Concept: Serverless with Swarm by Nirmal Mehta, Booz Allen Hamilton
PPTX
Containers: Life Beyond Microservices? by Sushil Kumar, Robin Systems
PPTX
Structured Container Delivery by Oscar Renalias, Accenture
PDF
Microservices + Events + Docker = A Perfect Trio by Docker Captain Chris Rich...
PDF
On-the-Fly Containerization of Enterprise Java & .NET Apps by Amjad Afanah
PDF
Application Deployment and Management at Scale with 1&1 by Matt Baldwin
PPTX
The Mushroom Cloud Effect or What Happens When Containers Fail? by Alois Mayr...
A New Centralized Volume Storage Solution for Docker and Container Cloud by W...
Proof of Concept: Serverless with Swarm by Nirmal Mehta, Booz Allen Hamilton
Containers: Life Beyond Microservices? by Sushil Kumar, Robin Systems
Structured Container Delivery by Oscar Renalias, Accenture
Microservices + Events + Docker = A Perfect Trio by Docker Captain Chris Rich...
On-the-Fly Containerization of Enterprise Java & .NET Apps by Amjad Afanah
Application Deployment and Management at Scale with 1&1 by Matt Baldwin
The Mushroom Cloud Effect or What Happens When Containers Fail? by Alois Mayr...

What's hot (20)

ODP
Practical Container Security by Mrunal Patel and Thomas Cameron, Red Hat
PDF
A curtain-raiser to the container world Docker & Kubernetes
PPTX
Microcontainers and Tools for Hardcore Container Debugging
PPTX
Containers and VMs and Clouds: Oh My. by Mike Coleman
PPTX
Docker - A curtain raiser to the Container world
PPTX
Chugging Our Own "Craft Brew” – HPE’s Journey Towards Containers-as-a-Service...
PPTX
'Cloud-Native' Ecosystem - Aug 2015
PDF
DCEU 18: From Monolith to Microservices
PDF
Advanced dev ops governance with terraform
PPTX
Cost Control Across Cloud, On-Premise and VM Computers by Mark Lavi, Calm.io
PDF
Containers and Kubernetes
PPTX
Container Patterns
PPSX
Containers Docker Kind Kubernetes Istio
PPTX
Externalized Spring Boot App Configuration
PPTX
Oracle Code Keynote with Thomas Kurian
PPTX
Serverless and cloud computing
PPTX
20 mins to Faking the DevOps Unicorn by Matt williams, Datadog
PPTX
Ibm cloud nativenetflixossfinal
PDF
Mobycraft - Docker in 8-bit by Aditya Gupta
PDF
KURMA - A Containerized Container Platform - KubeCon 2016
Practical Container Security by Mrunal Patel and Thomas Cameron, Red Hat
A curtain-raiser to the container world Docker & Kubernetes
Microcontainers and Tools for Hardcore Container Debugging
Containers and VMs and Clouds: Oh My. by Mike Coleman
Docker - A curtain raiser to the Container world
Chugging Our Own "Craft Brew” – HPE’s Journey Towards Containers-as-a-Service...
'Cloud-Native' Ecosystem - Aug 2015
DCEU 18: From Monolith to Microservices
Advanced dev ops governance with terraform
Cost Control Across Cloud, On-Premise and VM Computers by Mark Lavi, Calm.io
Containers and Kubernetes
Container Patterns
Containers Docker Kind Kubernetes Istio
Externalized Spring Boot App Configuration
Oracle Code Keynote with Thomas Kurian
Serverless and cloud computing
20 mins to Faking the DevOps Unicorn by Matt williams, Datadog
Ibm cloud nativenetflixossfinal
Mobycraft - Docker in 8-bit by Aditya Gupta
KURMA - A Containerized Container Platform - KubeCon 2016
Ad

Similar to Everything You Need to Know About Docker and Storage by Ryan Wallner, ClusterHQ (20)

PDF
DockerCon 2016 Ecosystem - Everything You Need to Know About Docker and Stora...
PPTX
Lessons learned from running Spark on Docker
PDF
Solving k8s persistent workloads using k8s DevOps style
PDF
Scalability, Availability & Stability Patterns
PPTX
Using Docker in production: Get started today!
PDF
Container Attached Storage with OpenEBS - CNCF Paris Meetup
PPTX
State of the Container Ecosystem
PPTX
Robust Applications in Mesos using External Storage
PDF
OpenStack Cinder, Implementation Today and New Trends for Tomorrow
PPTX
Lessons Learned Running Hadoop and Spark in Docker Containers
PPTX
Webinar: Sizing Up Object Storage for the Enterprise
PDF
NAVER Ceph Storage on ssd for Container
PDF
Ozone: Evolution of HDFS scalability & built-in GDPR compliance
PDF
Ozone: Evolution of HDFS
PPTX
Share on LinkedIn Share on Twitter Share on Facebook Share on Google+ Share b...
PDF
Speed Up Your Queries with Hive LLAP Engine on Hadoop or in the Cloud
PDF
Webinar - DreamObjects/Ceph Case Study
PDF
Docking postgres
PPTX
Architecting a datalake
PDF
P.Maharajothi,II-M.sc(computer science),Bon secours college for women,thanjavur.
DockerCon 2016 Ecosystem - Everything You Need to Know About Docker and Stora...
Lessons learned from running Spark on Docker
Solving k8s persistent workloads using k8s DevOps style
Scalability, Availability & Stability Patterns
Using Docker in production: Get started today!
Container Attached Storage with OpenEBS - CNCF Paris Meetup
State of the Container Ecosystem
Robust Applications in Mesos using External Storage
OpenStack Cinder, Implementation Today and New Trends for Tomorrow
Lessons Learned Running Hadoop and Spark in Docker Containers
Webinar: Sizing Up Object Storage for the Enterprise
NAVER Ceph Storage on ssd for Container
Ozone: Evolution of HDFS scalability & built-in GDPR compliance
Ozone: Evolution of HDFS
Share on LinkedIn Share on Twitter Share on Facebook Share on Google+ Share b...
Speed Up Your Queries with Hive LLAP Engine on Hadoop or in the Cloud
Webinar - DreamObjects/Ceph Case Study
Docking postgres
Architecting a datalake
P.Maharajothi,II-M.sc(computer science),Bon secours college for women,thanjavur.
Ad

More from Docker, Inc. (20)

PDF
Containerize Your Game Server for the Best Multiplayer Experience
PDF
How to Improve Your Image Builds Using Advance Docker Build
PDF
Build & Deploy Multi-Container Applications to AWS
PDF
Securing Your Containerized Applications with NGINX
PDF
How To Build and Run Node Apps with Docker and Compose
PDF
Hands-on Helm
PDF
Distributed Deep Learning with Docker at Salesforce
PDF
The First 10M Pulls: Building The Official Curl Image for Docker Hub
PDF
Monitoring in a Microservices World
PDF
COVID-19 in Italy: How Docker is Helping the Biggest Italian IT Company Conti...
PDF
Predicting Space Weather with Docker
PDF
Become a Docker Power User With Microsoft Visual Studio Code
PDF
How to Use Mirroring and Caching to Optimize your Container Registry
PDF
Monolithic to Microservices + Docker = SDLC on Steroids!
PDF
Kubernetes at Datadog Scale
PDF
Labels, Labels, Labels
PDF
Using Docker Hub at Scale to Support Micro Focus' Delivery and Deployment Model
PDF
Build & Deploy Multi-Container Applications to AWS
PDF
From Fortran on the Desktop to Kubernetes in the Cloud: A Windows Migration S...
PDF
Developing with Docker for the Arm Architecture
Containerize Your Game Server for the Best Multiplayer Experience
How to Improve Your Image Builds Using Advance Docker Build
Build & Deploy Multi-Container Applications to AWS
Securing Your Containerized Applications with NGINX
How To Build and Run Node Apps with Docker and Compose
Hands-on Helm
Distributed Deep Learning with Docker at Salesforce
The First 10M Pulls: Building The Official Curl Image for Docker Hub
Monitoring in a Microservices World
COVID-19 in Italy: How Docker is Helping the Biggest Italian IT Company Conti...
Predicting Space Weather with Docker
Become a Docker Power User With Microsoft Visual Studio Code
How to Use Mirroring and Caching to Optimize your Container Registry
Monolithic to Microservices + Docker = SDLC on Steroids!
Kubernetes at Datadog Scale
Labels, Labels, Labels
Using Docker Hub at Scale to Support Micro Focus' Delivery and Deployment Model
Build & Deploy Multi-Container Applications to AWS
From Fortran on the Desktop to Kubernetes in the Cloud: A Windows Migration S...
Developing with Docker for the Arm Architecture

Recently uploaded (20)

PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PPTX
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
PDF
Network Security Unit 5.pdf for BCA BBA.
PDF
Modernizing your data center with Dell and AMD
PDF
KodekX | Application Modernization Development
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PDF
GamePlan Trading System Review: Professional Trader's Honest Take
PDF
Machine learning based COVID-19 study performance prediction
PDF
cuic standard and advanced reporting.pdf
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PDF
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PDF
Review of recent advances in non-invasive hemoglobin estimation
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
PDF
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
PDF
Electronic commerce courselecture one. Pdf
PDF
Shreyas Phanse Resume: Experienced Backend Engineer | Java • Spring Boot • Ka...
PPTX
Understanding_Digital_Forensics_Presentation.pptx
PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
Network Security Unit 5.pdf for BCA BBA.
Modernizing your data center with Dell and AMD
KodekX | Application Modernization Development
Reach Out and Touch Someone: Haptics and Empathic Computing
GamePlan Trading System Review: Professional Trader's Honest Take
Machine learning based COVID-19 study performance prediction
cuic standard and advanced reporting.pdf
Mobile App Security Testing_ A Comprehensive Guide.pdf
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
Review of recent advances in non-invasive hemoglobin estimation
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
The Rise and Fall of 3GPP – Time for a Sabbatical?
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
Electronic commerce courselecture one. Pdf
Shreyas Phanse Resume: Experienced Backend Engineer | Java • Spring Boot • Ka...
Understanding_Digital_Forensics_Presentation.pptx
Dropbox Q2 2025 Financial Results & Investor Presentation

Everything You Need to Know About Docker and Storage by Ryan Wallner, ClusterHQ

  • 1. Everything you need to know about Docker and storage. Ryan Wallner Technical Evangelist, ClusterHQ
  • 2. Key Concepts Stageful vs Stateless Volumes Plugins Agenda Volumes & UCP UCP + Volumes External Volumes VolumeHub Demo Creating Volumes Manage Volumes Workloads
  • 5. "Stateful" Container • Secrets - public/private keys, password, etc • Databases - databases, sharded, clustered. • Logs - to collect support bundles, run analytics for data mining, etc. • Other - CI repo data, transcoded bits... Stageful vs. Sateless "Stateless" Container • Nothing to Disk • Web Front-End • Can stop and start as many containers as you’d like • Like http is stateless • Container is ephemeral • What has happened or changed will be lost.
  • 6. Docker volumes help store state from the application to locations outside the docker image. They are logical primitives for shared storage when combined with plugins. • Data is local to engine host only. • Bind-mounts also local, bypass UFS. • Data is inflexible, prone to loss. Docker Volumes $ docker run --name my-special-container -v /container/dir busybox [{e779eb1/var/lib/docker/volumes/e779eb1/_ data /container/dir local true }]
  • 7. Enable external storage management such as shared-storage for volumes. • Data is external to engine host. • Enables HA for data. • Data can move with container. Docker Volume Plugins
  • 8. Example $ docker run --name my-container --volume-driver flocker -v vol:/data busybox my-container $ docker inspect -f “{{.Mounts}}” my-container [{vol /flocker/71887326.. /data flocker rw true rprivate}]
  • 10. Volumes & UCP Docker & Storage
  • 11. Volumes in UCP • Create, Delete, Use from UI • Takes advantage of volume drivers. • Limited view into volume management
  • 12. VolumeHub • Clear visibility for volume management. • Current status of volumes and their operations. • Searchable name and metadata. • How much storage in use by size of volumes.
  • 14. Demo