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
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
KIKI_MBSD Cybersecurity Challenges 2025
ikema
0
1.3k
AgentCoreとHuman in the Loop
har1101
5
230
「ブロックテーマでは再現できない」は本当か?
inc2734
0
980
OSSとなったswift-buildで Xcodeのビルドを差し替えられるため 自分でXcodeを直せる時代になっている ダイアモンド問題編
yimajo
3
620
疑似コードによるプロンプト記述、どのくらい正確に実行される?
kokuyouwind
0
380
責任感のあるCloudWatchアラームを設計しよう
akihisaikeda
3
170
0→1 フロントエンド開発 Tips🚀 #レバテックMeetup
bengo4com
0
560
Vibe Coding - AI 驅動的軟體開發
mickyp100
0
170
React 19でつくる「気持ちいいUI」- 楽観的UIのすすめ
himorishige
11
7.4k
CSC307 Lecture 01
javiergs
PRO
0
690
AI前提で考えるiOSアプリのモダナイズ設計
yuukiw00w
0
230
CSC307 Lecture 06
javiergs
PRO
0
680
Featured
See All Featured
A better future with KSS
kneath
240
18k
Java REST API Framework Comparison - PWX 2021
mraible
34
9.1k
A brief & incomplete history of UX Design for the World Wide Web: 1989–2019
jct
1
300
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
12
1k
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
10
1.1k
30 Presentation Tips
portentint
PRO
1
210
Leading Effective Engineering Teams in the AI Era
addyosmani
9
1.6k
How to Think Like a Performance Engineer
csswizardry
28
2.4k
SERP Conf. Vienna - Web Accessibility: Optimizing for Inclusivity and SEO
sarafernandez
1
1.3k
Mobile First: as difficult as doing things right
swwweet
225
10k
My Coaching Mixtape
mlcsv
0
48
Paper Plane (Part 1)
katiecoart
PRO
0
4.2k
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 :) ?