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
Aidan Feldman
January 25, 2016
Technology
0
120
Dabbling in Docker
Aidan Feldman
January 25, 2016
Tweet
Share
More Decks by Aidan Feldman
See All by Aidan Feldman
Human-Centered DevOps
aidanfeldman
0
14
Love and agony: containers in government
aidanfeldman
0
240
Compliance Masonry QuickStart
aidanfeldman
0
500
Search for Static Sites
aidanfeldman
2
650
Everything I think I understand about IT compliance
aidanfeldman
1
220
DevOps at Large: Modernizing apps and infrastructure in the federal government
aidanfeldman
0
570
Git, Graphically
aidanfeldman
0
250
Teaching Software to Tango
aidanfeldman
0
33
Other Decks in Technology
See All in Technology
データベースの負荷を紐解く/untangle-the-database-load
emiki
2
530
AIエージェント入門
minorun365
PRO
32
18k
Cracking the Coding Interview 6th Edition
gdplabs
14
28k
LINE NEWSにおけるバックエンド開発
lycorptech_jp
PRO
0
280
AIエージェント元年@日本生成AIユーザ会
shukob
1
230
AI Agent時代なのでAWSのLLMs.txtが欲しい!
watany
2
240
Oracle Database Technology Night #87-1 : Exadata Database Service on Exascale Infrastructure(ExaDB-XS)サービス詳細
oracle4engineer
PRO
1
190
JavaにおけるNull非許容性
skrb
2
2.6k
PHPで印刷所に入稿できる名札データを作る / Generating Print-Ready Name Tag Data with PHP
tomzoh
0
190
大規模アジャイルフレームワークから学ぶエンジニアマネジメントの本質
staka121
PRO
3
1.2k
Share my, our lessons from the road to re:Invent
naospon
0
150
ウォンテッドリーのデータパイプラインを支える ETL のための analytics, rds-exporter / analytics, rds-exporter for ETL to support Wantedly's data pipeline
unblee
0
130
Featured
See All Featured
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
10
510
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
46
2.3k
How GitHub (no longer) Works
holman
314
140k
Done Done
chrislema
182
16k
4 Signs Your Business is Dying
shpigford
182
22k
Statistics for Hackers
jakevdp
797
220k
YesSQL, Process and Tooling at Scale
rocio
172
14k
Building Adaptive Systems
keathley
40
2.4k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
133
33k
Embracing the Ebb and Flow
colly
84
4.6k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
33
2.1k
How to train your dragon (web standard)
notwaldorf
91
5.9k
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