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
110
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
460
Search for Static Sites
aidanfeldman
2
640
Everything I think I understand about IT compliance
aidanfeldman
1
160
DevOps at Large: Modernizing apps and infrastructure in the federal government
aidanfeldman
0
540
Git, Graphically
aidanfeldman
0
210
Teaching Software to Tango
aidanfeldman
0
24
Other Decks in Technology
See All in Technology
2024春 注目のWeb系 OSS & SaaS 3選
makies
0
190
リテール金融(キャッシュレス・ネット銀行・ネット証券)の競争環境と経済圏
8maki
0
1.7k
require(ESM)とECMAScript仕様
uhyo
4
1k
Gradle Build Scanを使ってビルドのことを知ろう potatotips #87
tomorrowkey
2
160
Introduction to SwiftUI V2
pohjus
0
100
さらばあのボタンとは言わせない SORACOM LTE-M Button powerd by AWSをまだ使えるようにした(前編?)
miura55
0
100
成長をサポートするピープルマネジメントのやり方
sioncojp
9
1.3k
自己改善からチームを動かす! 「セルフエンジニアリングマネージャー」のすゝめ
shoota
6
1.1k
LLM開発・活用の舞台裏@2024.04.25
yushin_n
3
1.3k
MLOpsの「壁」を乗り越える、LINEヤフーの Data Quality as Code
lycorptech_jp
PRO
8
650
生産性向上チームの紹介
cybozuinsideout
PRO
1
950
Cracking the KubeCon CfP
inductor
2
270
Featured
See All Featured
Web Components: a chance to create the future
zenorocha
306
41k
Side Projects
sachag
451
41k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
352
28k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
245
20k
Embracing the Ebb and Flow
colly
80
4.2k
For a Future-Friendly Web
brad_frost
172
9k
Intergalactic Javascript Robots from Outer Space
tanoku
266
26k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
275
13k
BBQ
matthewcrist
80
8.8k
Building a Scalable Design System with Sketch
lauravandoore
457
32k
RailsConf 2023
tenderlove
9
560
Typedesign – Prime Four
hannesfritz
36
2.1k
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