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
The Docker Platform
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Bence Dányi
April 15, 2015
Programming
0
46
The Docker Platform
Bence Dányi
April 15, 2015
Tweet
Share
More Decks by Bence Dányi
See All by Bence Dányi
Spacegame
madbence
0
37
About the Docker platform
madbence
0
58
Spacegame
madbence
0
37
Szoftverarchitektúrák
madbence
1
65
Scrum a gyakorlatban
madbence
0
680
StratOnAut 2014
madbence
0
95
Other Decks in Programming
See All in Programming
登壇資料を作る時に意識していること #登壇資料_findy
konifar
4
980
AWS re:Invent 2025参加 直前 Seattle-Tacoma Airport(SEA)におけるハードウェア紛失インシデントLT
tetutetu214
2
110
CSC307 Lecture 03
javiergs
PRO
1
490
Patterns of Patterns
denyspoltorak
0
1.4k
【卒業研究】会話ログ分析によるユーザーごとの関心に応じた話題提案手法
momok47
0
190
QAフローを最適化し、品質水準を満たしながらリリースまでの期間を最短化する #RSGT2026
shibayu36
2
4.3k
フロントエンド開発の勘所 -複数事業を経験して見えた判断軸の違い-
heimusu
7
2.8k
Vibe Coding - AI 驅動的軟體開發
mickyp100
0
170
Architectural Extensions
denyspoltorak
0
280
副作用をどこに置くか問題:オブジェクト指向で整理する設計判断ツリー
koxya
1
590
CSC307 Lecture 01
javiergs
PRO
0
690
責任感のあるCloudWatchアラームを設計しよう
akihisaikeda
3
160
Featured
See All Featured
Navigating the moral maze — ethical principles for Al-driven product design
skipperchong
2
240
Collaborative Software Design: How to facilitate domain modelling decisions
baasie
0
140
A Guide to Academic Writing Using Generative AI - A Workshop
ks91
PRO
0
190
Building the Perfect Custom Keyboard
takai
2
680
The Cult of Friendly URLs
andyhume
79
6.8k
Utilizing Notion as your number one productivity tool
mfonobong
3
220
The Power of CSS Pseudo Elements
geoffreycrofte
80
6.1k
<Decoding/> the Language of Devs - We Love SEO 2024
nikkihalliwell
1
120
Paper Plane (Part 1)
katiecoart
PRO
0
4k
Efficient Content Optimization with Google Search Console & Apps Script
katarinadahlin
PRO
0
310
Automating Front-end Workflow
addyosmani
1371
200k
Facilitating Awesome Meetings
lara
57
6.7k
Transcript
Docker platform Bence Dányi
[email protected]
github.com/madbence April 15, 2015
Topics Docker engine Docker hub Docker machine Docker compose Docker
swarm
Short history Solomon Hykes dotCloud (PaaS) internal project Open sourced
in March, 2013 2015: 20000+ github stars, 900 contributors
Docker containers Like a VM instance Drivers LXC libcontainer (default
from version 0.9) other drivers (kvm, etc.) Isolation: cgroups Memory Network CPU $ docker run --rm -p 8080:8080 -m 512m busybox nc -l -p 8080
Linking images Network Data --link name:alias --volumes-from name or -v
host-path:path
Docker images
Docker images Read-only layers Read-write top layer Backends AUFS (file
level) devicemapper (block level) btrfs (snapshot based) vfs (fallback) Images git commits
Dockerfiles Simple commands (ADD, RUN, CMD, etc.) $ docker build
-t image-name . FROM debian:jessie RUN apt-get update && \ apt-get install htop CMD htop
Docker Hub hub.docker.com image registry official docker images anyone can
publish (hub.docker.com/u/lennon/) automated image builds open source (you can host your own registry)
Docker machine Provision VMs (set up docker runtime) Drivers VirtualBox
Amazon, Azure, DigitalOcean, Google Compute Engine, Softlayer, OpenStack, RackSpace, VMware IK Cloud? :) $ docker-machine create --driver virtualbox felho $ docker-machine ls $ docker-machine env felho
Docker compose Fig Start & link containers from .yml configuration
$ docker-compose up web: build: . command: python app.py ports: - "5000:5000" volumes: - .:/code links: - redis redis: image: redis
Docker swarm Docker host pool -> one virtual docker host
Service discovery (etcd, consul, zookeeper, static ips, etc) Strategies (random, binpack, roll your own) Filters Constraints (storage driver, execution driver, os, custom labels) Affinity (container, image, dependency, etc)
Demo!
Questions :) ?