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
Dabbling in Docker
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Aidan Feldman
January 25, 2016
Technology
170
0
Share
Dabbling in Docker
Aidan Feldman
January 25, 2016
More Decks by Aidan Feldman
See All by Aidan Feldman
Human-Centered DevOps
aidanfeldman
0
32
Love and agony: containers in government
aidanfeldman
0
280
Compliance Masonry QuickStart
aidanfeldman
0
570
Search for Static Sites
aidanfeldman
2
660
Everything I think I understand about IT compliance
aidanfeldman
1
230
DevOps at Large: Modernizing apps and infrastructure in the federal government
aidanfeldman
0
610
Git, Graphically
aidanfeldman
0
330
Teaching Software to Tango
aidanfeldman
0
48
Other Decks in Technology
See All in Technology
今年60歳のおっさんCBになる
kentapapa
2
380
ログ基盤・プラグイン・ダッシュボード、全部整えた。でも最後は人だった。
makikub
5
1.9k
3つのボトルネックを解消し、リリースエンジニアリングを再定義した話
nealle
0
430
20260410 - CNTUG meetup #72 - DiskImage Builder 介紹:以 Kubespray CI 打造 RockyLinux 10 Cloud Image 為例
tico88612
0
120
AgentCore RuntimeからS3 Filesをマウントしてみる
har1101
4
430
インフラを Excel 管理していた組織が 3 ヶ月で IaC 化されるまで
geekplus_tech
3
190
DIPS2.0データに基づく森林管理における無人航空機の利用状況
naokimuroki
1
210
ある製造業の会社全体のAI化に1エンジニアが挑んだ話
kitami
2
950
幾億の壁を超えて/Beyond Countless Walls(JP)
ikuodanaka
0
120
プロンプトエンジニアリングを超えて:自由と統制のあいだでつくる Platform × Context Engineering
yuriemori
0
190
"SQLは書けません"から始まる データドリブン
kubell_hr
2
400
AI時代に新卒採用、はじめました/junior-engineer-never-die
dmnlk
0
250
Featured
See All Featured
How to Align SEO within the Product Triangle To Get Buy-In & Support - #RIMC
aleyda
1
1.5k
The Impact of AI in SEO - AI Overviews June 2024 Edition
aleyda
5
790
Self-Hosted WebAssembly Runtime for Runtime-Neutral Checkpoint/Restore in Edge–Cloud Continuum
chikuwait
0
460
AI: The stuff that nobody shows you
jnunemaker
PRO
5
540
First, design no harm
axbom
PRO
2
1.2k
Believing is Seeing
oripsolob
1
110
Redefining SEO in the New Era of Traffic Generation
szymonslowik
1
270
Conquering PDFs: document understanding beyond plain text
inesmontani
PRO
4
2.6k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
32
2.8k
Statistics for Hackers
jakevdp
799
230k
How to make the Groovebox
asonas
2
2.1k
Keith and Marios Guide to Fast Websites
keithpitt
413
23k
Transcript
Dabbling in Docker Aidan Feldman January 25, 2016
Dabbling in Docker Agenda 1 What Docker does 2 Why
it’s useful 3 How to use it 4 Challenges
Dabbling in Docker Agenda 1 What Docker does 2 Why
it’s useful 3 How to use it 4 Challenges
kinda like Vagrant/AMIs 4
How it works code 5 docker build Dockerfile image docker
run container
Dabbling in Docker Agenda 1 What Docker does 2 Why
it’s useful 3 How to use it 4 Challenges
why it’s useful • specific dependency versions • sandboxing…without a
full VM per app • dev-prod parity • “works on my machine” • complex architectures 7
Dabbling in Docker Agenda 1 What Docker does 2 Why
it’s useful 3 How to use it 4 Challenges
How it works code 9 docker build Dockerfile image docker
run container
Dockerfiles FROM <base image> COPY <source> <destination> ENV <key> <value>
WORKDIR <path> RUN <command> EXPOSE <port> CMD <start> 10
Building 1. Open Docker Quickstart Terminal 1. `docker-machine ls` 2.
`cd <dir>` 3. `docker build -t <imagename> .` 4. `docker images` 11
Running • `docker run -p <external>:<internal> <imagename>` • `docker-machine ip
default` • `docker ps` 12
Examples • JSONP • Node onbuild • Node • C2
(pull request) 13
Multiple components • apps • databases • queues • microservices
14
JSONProxy example 15
Dabbling in Docker Agenda 1 What Docker does 2 Why
it’s useful 3 How to use it 4 Challenges
Challenges • Development workflow • Compose not production-ready yet •
Another Thing • Persistence • Secrets 17
Thanks! Aidan Feldman