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
44
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
35
About the Docker platform
madbence
0
56
Spacegame
madbence
0
35
Szoftverarchitektúrák
madbence
1
63
Scrum a gyakorlatban
madbence
0
670
StratOnAut 2014
madbence
0
93
Other Decks in Programming
See All in Programming
Amazon RDS 向けに提供されている MCP Server と仕組みを調べてみた/jawsug-okayama-2025-aurora-mcp
takahashiikki
1
130
2025 年のコーディングエージェントの現在地とエンジニアの仕事の変化について
azukiazusa1
24
12k
Namespace and Its Future
tagomoris
6
710
個人軟體時代
ethanhuang13
0
330
CloudflareのChat Agent Starter Kitで簡単!AIチャットボット構築
syumai
2
530
概念モデル→論理モデルで気をつけていること
sunnyone
3
310
Platformに“ちょうどいい”責務ってどこ? 関心の熱さにあわせて考える、責務分担のプラクティス
estie
1
260
アプリの "かわいい" を支えるアニメーションツールRiveについて
uetyo
0
280
請來的 AI Agent 同事們在寫程式時,怎麼用 pytest 去除各種幻想與盲點
keitheis
0
130
FindyにおけるTakumi活用と脆弱性管理のこれから
rvirus0817
0
550
Introducing FrankenPHP gRPC
dunglas
1
370
さようなら Date。 ようこそTemporal! 3年間先行利用して得られた知見の共有
8beeeaaat
3
1.5k
Featured
See All Featured
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
46
7.6k
Large-scale JavaScript Application Architecture
addyosmani
513
110k
Designing Experiences People Love
moore
142
24k
Optimising Largest Contentful Paint
csswizardry
37
3.4k
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
7
850
Bash Introduction
62gerente
615
210k
Keith and Marios Guide to Fast Websites
keithpitt
411
22k
How STYLIGHT went responsive
nonsquared
100
5.8k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
333
22k
Six Lessons from altMBA
skipperchong
28
4k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.5k
Learning to Love Humans: Emotional Interface Design
aarron
273
40k
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 :) ?