Lock in $30 Savings on PRO—Offer Ends Soon! ⏳
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
Love and agony: containers in government
aidanfeldman
0
230
Compliance Masonry QuickStart
aidanfeldman
0
480
Search for Static Sites
aidanfeldman
2
650
Everything I think I understand about IT compliance
aidanfeldman
1
210
DevOps at Large: Modernizing apps and infrastructure in the federal government
aidanfeldman
0
560
Git, Graphically
aidanfeldman
0
230
Teaching Software to Tango
aidanfeldman
0
31
Other Decks in Technology
See All in Technology
Microsoft 365と開発者ツールの素敵な関係
kkamegawa
1
1.1k
GPUと画像生成AIが拓くマーケティングとビジネスの未来:次世代の可能性
iotcomjpadmin
0
180
Will multimodal language processing change the world?
keio_smilab
PRO
2
240
OpenLLMetry-Hands-On 生成AIアプリを観測してみよう!OpenLLMetryハンズオン編
tkhresk
1
140
Kubernetes だけじゃない!Amazon ECS で実現するクラウドネイティブな GitHub Actions セルフホストランナー / CNDW2024
ponkio_o
PRO
6
400
Oracle Cloud Infrastructureデータベース・クラウド:各バージョンのサポート期間
oracle4engineer
PRO
30
15k
LLMの気持ちになってRAGのことを考えてみよう
john_smith
0
190
iOS 18 から追加された SwiftUI の傾向について調べてみる
swiftty
2
100
生成AIを活用したIT運用高度化への挑戦
iotcomjpadmin
0
170
クルマのサブスクを Next.jsで内製化した経験とその1年後
kintotechdev
2
400
セキュリティ運用って包括的にできていますか?SaaSを使って次のステップへ / Comprehensive Cyber Security Operations for Cloud Services Using SaaS
sakaitakeshi
0
270
ONNX推論クレートの比較と実装奮闘記
emergent
0
250
Featured
See All Featured
Embracing the Ebb and Flow
colly
84
4.5k
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
1
210
Imperfection Machines: The Place of Print at Facebook
scottboms
266
13k
YesSQL, Process and Tooling at Scale
rocio
169
14k
GraphQLとの向き合い方2022年版
quramy
44
13k
How GitHub (no longer) Works
holman
310
140k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
159
15k
Code Review Best Practice
trishagee
64
17k
Building Your Own Lightsaber
phodgson
103
6.1k
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
0
49
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
16
2.2k
It's Worth the Effort
3n
183
27k
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