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
180
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
37
Love and agony: containers in government
aidanfeldman
0
300
Compliance Masonry QuickStart
aidanfeldman
0
580
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
340
Teaching Software to Tango
aidanfeldman
0
51
Other Decks in Technology
See All in Technology
アプリブロック機能のつくりかたと、AIとHTMLの不合理な相性の良さについて
kumamotone
1
210
AI 時代の Platform Engineering
recruitengineers
PRO
1
120
Every Conversation Counts
kawaguti
PRO
0
170
色を視る
yuzneri
0
330
AIが盛んな時代に 技術記事を書き始めて起きた私の中での小さな変化
peintangos
0
360
なぜ、私がCommunity Builderに?〜活動期間1か月半でも選出されたワケ〜
yama3133
0
110
React 19×Rustツール 進化の「ズレ」を設計で埋める
remrem0090
1
110
雑談は、センサーだった
bitkey
PRO
2
220
「背中を見て育て」からの卒業 〜専門技術としてのテスト設計を軸に、品質保証のバトンを繋ぐ〜
nihonbuson
PRO
0
130
Agents CLI と Gemini Enterprise Agent Platform で マルチエージェント開発が楽しくなる!
kaz1437
0
260
多角的な視点から見たAGI
terisuke
0
130
ボトムアップの改善の火を灯し続けろ!〜支援現場で学んだ、消えないための3つの打ち手〜 / 20260509 Kazuki Mori
shift_evolve
PRO
2
600
Featured
See All Featured
Git: the NoSQL Database
bkeepers
PRO
432
67k
Docker and Python
trallard
47
3.8k
A designer walks into a library…
pauljervisheath
211
24k
Automating Front-end Workflow
addyosmani
1370
200k
Large-scale JavaScript Application Architecture
addyosmani
515
110k
How to Talk to Developers About Accessibility
jct
2
190
Building a Modern Day E-commerce SEO Strategy
aleyda
45
9k
The Cult of Friendly URLs
andyhume
79
6.9k
The Spectacular Lies of Maps
axbom
PRO
1
740
16th Malabo Montpellier Forum Presentation
akademiya2063
PRO
0
110
Gemini Prompt Engineering: Practical Techniques for Tangible AI Outcomes
mfonobong
2
390
Hiding What from Whom? A Critical Review of the History of Programming languages for Music
tomoyanonymous
2
800
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