Upgrade to PRO for Only $50/Year—Limited-Time Offer! 🔥
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
150
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
21
Love and agony: containers in government
aidanfeldman
0
260
Compliance Masonry QuickStart
aidanfeldman
0
550
Search for Static Sites
aidanfeldman
2
660
Everything I think I understand about IT compliance
aidanfeldman
1
220
DevOps at Large: Modernizing apps and infrastructure in the federal government
aidanfeldman
0
600
Git, Graphically
aidanfeldman
0
290
Teaching Software to Tango
aidanfeldman
0
42
Other Decks in Technology
See All in Technology
私のRails開発環境
yahonda
0
150
プロダクト負債と歩む持続可能なサービスを育てるための挑戦
sansantech
PRO
1
1.2k
useEffectってなんで非推奨みたいなこと言われてるの?
maguroalternative
8
5k
AI開発の定着を推進するために揃えるべき前提
suguruooki
1
450
GitHub を組織的に使いこなすために ソニーが実践した全社展開のプラクティス
sony
18
9.2k
命名から始めるSpec Driven
kuruwic
3
720
なぜフロントエンド技術を追うのか?なぜカンファレンスに参加するのか?
sakito
6
1.5k
How native lazy objects will change Doctrine and Symfony forever
beberlei
1
250
その意思決定、まだ続けるんですか? ~痛みを超えて未来を作る、AI時代の撤退とピボットの技術~
applism118
45
25k
生成AIシステムとAIエージェントに関する性能や安全性の評価
shibuiwilliam
2
280
ブラウザ拡張のセキュリティの話 / Browser Extension Security
flatt_security
0
220
事業部のプロジェクト進行と開発チームの改善の “時間軸" のすり合わせ
konifar
9
1.8k
Featured
See All Featured
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.6k
Large-scale JavaScript Application Architecture
addyosmani
514
110k
How GitHub (no longer) Works
holman
316
140k
Become a Pro
speakerdeck
PRO
30
5.7k
VelocityConf: Rendering Performance Case Studies
addyosmani
333
24k
Building Adaptive Systems
keathley
44
2.8k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
48
9.8k
The MySQL Ecosystem @ GitHub 2015
samlambert
251
13k
A better future with KSS
kneath
239
18k
Build your cross-platform service in a week with App Engine
jlugia
234
18k
Mobile First: as difficult as doing things right
swwweet
225
10k
Building Better People: How to give real-time feedback that sticks.
wjessup
370
20k
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