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
【卒業研究】会話ログ分析によるユーザーごとの関心に応じた話題提案手法
momok47
0
190
KIKI_MBSD Cybersecurity Challenges 2025
ikema
0
1.3k
Spinner 軸ズレ現象を調べたらレンダリング深淵に飲まれた #レバテックMeetup
bengo4com
1
230
MUSUBIXとは
nahisaho
0
130
humanlayerのブログから学ぶ、良いCLAUDE.mdの書き方
tsukamoto1783
0
190
AIと一緒にレガシーに向き合ってみた
nyafunta9858
0
180
HTTPプロトコル正しく理解していますか? 〜かわいい猫と共に学ぼう。ฅ^•ω•^ฅ ニャ〜
hekuchan
2
680
CSC307 Lecture 08
javiergs
PRO
0
670
SourceGeneratorのススメ
htkym
0
190
AI Schema Enrichment for your Oracle AI Database
thatjeffsmith
0
250
そのAIレビュー、レビューしてますか? / Are you reviewing those AI reviews?
rkaga
6
4.5k
余白を設計しフロントエンド開発を 加速させる
tsukuha
7
2.1k
Featured
See All Featured
State of Search Keynote: SEO is Dead Long Live SEO
ryanjones
0
110
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
10
1.1k
Site-Speed That Sticks
csswizardry
13
1.1k
Sam Torres - BigQuery for SEOs
techseoconnect
PRO
0
180
Jess Joyce - The Pitfalls of Following Frameworks
techseoconnect
PRO
1
63
The agentic SEO stack - context over prompts
schlessera
0
630
SEO Brein meetup: CTRL+C is not how to scale international SEO
lindahogenes
0
2.3k
Conquering PDFs: document understanding beyond plain text
inesmontani
PRO
4
2.3k
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
25
1.7k
Darren the Foodie - Storyboard
khoart
PRO
2
2.4k
A better future with KSS
kneath
240
18k
Redefining SEO in the New Era of Traffic Generation
szymonslowik
1
210
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 :) ?