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
160
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
25
Love and agony: containers in government
aidanfeldman
0
270
Compliance Masonry QuickStart
aidanfeldman
0
560
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
600
Git, Graphically
aidanfeldman
0
310
Teaching Software to Tango
aidanfeldman
0
45
Other Decks in Technology
See All in Technology
RALGO : AIを組織に組み込む方法 -アルゴリズム中心組織設計- #RSGT2026 / RALGO: How to Integrate AI into an Organization – Algorithm-Centric Organizational Design
kyonmm
PRO
3
1.4k
ソフトとハード両方いけるデータ人材の育て方
waiwai2111
1
360
AI アクセラレータチップ AWS Trainium/Inferentia に 今こそ入門
yoshimi0227
1
220
「違う現場で格闘する二人」——社内コミュニティがつないだトヨタ流アジャイルの実践とその先
shinichitakeuchi
0
410
First-Principles-of-Scrum
hiranabe
4
2.2k
Node vs Deno vs Bun 〜推しランタイムを見つけよう〜
kamekyame
1
500
名刺メーカーDevグループ 紹介資料
sansan33
PRO
0
1k
#22 CA × atmaCup 3rd 1st Place Solution
yumizu
1
220
研究開発部メンバーの働き⽅ / Sansan R&D Profile
sansan33
PRO
4
22k
みんなでAI上手ピーポーになろう! / Let’s All Get AI-Savvy!
kaminashi
0
130
プロンプトエンジニアリングを超えて:自由と統制のあいだでつくる Platform × Context Engineering
yuriemori
0
450
All About Sansan – for New Global Engineers
sansan33
PRO
1
1.3k
Featured
See All Featured
The MySQL Ecosystem @ GitHub 2015
samlambert
251
13k
The AI Search Optimization Roadmap by Aleyda Solis
aleyda
1
5.1k
Embracing the Ebb and Flow
colly
88
4.9k
The Illustrated Children's Guide to Kubernetes
chrisshort
51
51k
We Are The Robots
honzajavorek
0
130
Getting science done with accelerated Python computing platforms
jacobtomlinson
1
98
The Anti-SEO Checklist Checklist. Pubcon Cyber Week
ryanjones
0
39
Bash Introduction
62gerente
615
210k
How To Speak Unicorn (iThemes Webinar)
marktimemedia
1
360
HDC tutorial
michielstock
1
320
Un-Boring Meetings
codingconduct
0
180
Build The Right Thing And Hit Your Dates
maggiecrowley
38
3k
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