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 Volumes and Networking
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
ehazlett
September 30, 2015
Technology
0
53
Docker Volumes and Networking
Presentation from Docker Indianapolis:
http://www.meetup.com/Docker-Indianapolis/events/225508133/
ehazlett
September 30, 2015
Tweet
Share
Other Decks in Technology
See All in Technology
仕様書駆動AI開発の実践: Issue→Skill→PRテンプレで 再現性を作る
knishioka
2
670
Oracle Base Database Service 技術詳細
oracle4engineer
PRO
15
93k
Kiro IDEのドキュメントを全部読んだので地味だけどちょっと嬉しい機能を紹介する
khmoryz
0
200
SREじゃなかった僕らがenablingを通じて「SRE実践者」になるまでのリアル / SRE Kaigi 2026
aeonpeople
6
2.5k
外部キー制約の知っておいて欲しいこと - RDBMSを正しく使うために必要なこと / FOREIGN KEY Night
soudai
PRO
12
5.6k
Red Hat OpenStack Services on OpenShift
tamemiya
0
120
Embedded SREの終わりを設計する 「なんとなく」から計画的な自立支援へ
sansantech
PRO
3
2.5k
Agile Leadership Summit Keynote 2026
m_seki
1
640
セキュリティについて学ぶ会 / 2026 01 25 Takamatsu WordPress Meetup
rocketmartue
1
310
Frontier Agents (Kiro autonomous agent / AWS Security Agent / AWS DevOps Agent) の紹介
msysh
3
180
Amazon S3 Vectorsを使って資格勉強用AIエージェントを構築してみた
usanchuu
3
450
20260208_第66回 コンピュータビジョン勉強会
keiichiito1978
0
160
Featured
See All Featured
Mobile First: as difficult as doing things right
swwweet
225
10k
The Illustrated Guide to Node.js - THAT Conference 2024
reverentgeek
0
260
Typedesign – Prime Four
hannesfritz
42
2.9k
Leo the Paperboy
mayatellez
4
1.4k
Writing Fast Ruby
sferik
630
62k
The MySQL Ecosystem @ GitHub 2015
samlambert
251
13k
Winning Ecommerce Organic Search in an AI Era - #searchnstuff2025
aleyda
1
1.9k
Between Models and Reality
mayunak
1
190
Collaborative Software Design: How to facilitate domain modelling decisions
baasie
0
140
Imperfection Machines: The Place of Print at Facebook
scottboms
269
14k
How to build an LLM SEO readiness audit: a practical framework
nmsamuel
1
650
AI Search: Where Are We & What Can We Do About It?
aleyda
0
7k
Transcript
Docker Volumes and Networking @ehazlett
Volumes
What are Docker Volumes? • Storage outside of the container
• Data persistence • Can be shared between containers • Support for plugins
Container Storage • Volumes provide storage outside of the container
• For example: • docker volume create --name foo • Inspect: • docker volume inspect foo • Creates a volume with storage path: • /mnt/docker/volumes/foo/_data
Persistence • Volumes are outside of the container • For
example (using the previous example volume): • docker run -ti -v foo:/data alpine ash • Data will persist in this volume when container exits • New container can re-use this persistent volume
Sharing • Data can be shared with volumes • docker
run -ti -v foo:/data alpine ash • docker run -ti -v foo:/data busybox sh
Volume Plugins • Plugins allow custom volume storage • For
example: s3, ebs, key-whiz, vault, etc • Simple interface for writing your own • For example, Vault to share keys between containers
Networking
What’s Coming? • Overlay network • Creates multi-host network across
machines • Containers share network
Networking • Create a network • docker network create -d
overlay prod
Services • Create a service on first host • docker
service publish app1.prod • Create a service on second host • docker service publish app2.prod
Services (cont) • Run a container on first host •
cid=$(docker run -d -ti -p 80:80 nginx) • Attach container to service • docker service attach $cid app1.prod
Services (cont) • Run a container on second host •
cid=$(docker run -d -ti -p 80:80 nginx) • Attach container to service • docker service attach $cid app2.prod
Docker Networking
Thank you! • Vault Volume Driver: https://github.com/calavera/docker-volume-vault • Network: https://github.com/docker/libnetwork/blob/master/docs/overlay.md
• Docker Experimental: https://github.com/docker/docker/tree/master/experimental