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
Docker 101 - Mario Loriedo
Search
SingaSUG
September 09, 2015
Technology
0
250
Docker 101 - Mario Loriedo
SingaSUG
September 09, 2015
Tweet
Share
More Decks by SingaSUG
See All by SingaSUG
Java/Spring and Node.JS side by side
singasug
0
190
Migrating to microservices (Carlos Queiroz)
singasug
0
210
Docker for Java/Spring developers
singasug
0
69
Cloud Foundry and Docker
singasug
0
180
Multi dimensional scaling with CouchBase
singasug
1
110
NoSql presentation from Clarence Tauro
singasug
2
180
Rx Java introduction
singasug
0
110
Spring Websockets
singasug
0
180
migrating from JSP to AngularJS
singasug
0
2.5k
Other Decks in Technology
See All in Technology
Claude Codeが働くAI中心の業務システム構築の挑戦―AIエージェント中心の働き方を目指して
os1ma
9
2.4k
LTに影響を受けてテンプレリポジトリを作った話
hol1kgmg
0
350
Oracle Cloud Infrastructure:2025年7月度サービス・アップデート
oracle4engineer
PRO
1
170
JAWS AI/ML #30 AI コーディング IDE "Kiro" を触ってみよう
inariku
3
350
【CEDEC2025】『Shadowverse: Worlds Beyond』二度目のDCG開発でゲームをリデザインする~遊びやすさと競技性の両立~
cygames
PRO
1
340
AIに目を奪われすぎて、周りの困っている人間が見えなくなっていませんか?
cap120
1
540
反脆弱性(アンチフラジャイル)とデータ基盤構築
cuebic9bic
3
170
AIのグローバルトレンド 2025 / ai global trend 2025
kyonmm
PRO
1
130
LLMでAI-OCR、実際どうなの? / llm_ai_ocr_layerx_bet_ai_day_lt
sbrf248
0
450
プロダクトエンジニアリングで開発の楽しさを拡張する話
barometrica
0
130
React Server ComponentsでAPI不要の開発体験
polidog
PRO
0
150
大規模イベントに向けた ABEMA アーキテクチャの遍歴 ~ Platform Strategy 詳細解説 ~
nagapad
0
210
Featured
See All Featured
Understanding Cognitive Biases in Performance Measurement
bluesmoon
29
1.8k
Bash Introduction
62gerente
614
210k
A better future with KSS
kneath
239
17k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
31
1.3k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
357
30k
Why You Should Never Use an ORM
jnunemaker
PRO
58
9.5k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
34
3.1k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
248
1.3M
Imperfection Machines: The Place of Print at Facebook
scottboms
267
13k
Fantastic passwords and where to find them - at NoRuKo
philnash
51
3.4k
[RailsConf 2023] Rails as a piece of cake
palkan
56
5.7k
Building Flexible Design Systems
yeseniaperezcruz
328
39k
Transcript
Docker 101 Introduction to Docker and Lightweight Containers
Hi I'm Mario Italian based in Paris Software Engineer @
Zenika (ex IBMer) Docker official trainer and contributor I've developped sublime docker and doclipser mariolet l0rd
Some well known problems Steve, the (un)believer developer: "It works
on my machine!" Bill, an (im)patient developer: "It took me one week to setup the development environment"
One solution: Traditional Virtual Machines • Consistent environments • Repeatable
wherever you want • Versioning • Automated setup
A better solution: Lightweight Containers
Why Docker? Lightweight containers is a 15yrs old technology. With
Docker it has become: • Easy to use • Widely adopted • Defined a standard
Easy to run a container docker run -ti ubuntu
Easy to run a container What happened here? • Generated
an Linux container • Allocated a new file system • Mounted a read/write layer • Allocated a network interface • Set an IP for it • Run a process inside the container • Captured the output and returned to the client
DockerHub and official images
Easy to create a custom image Dockerfile FROM ubuntu RUN
apt-get install -y curl CMD curl ipinfo.io/ip $ docker build -t mycustomimage . $ docker run mycustomimage
Volumes to persist data This cattle vs pets thing docker
run -ti ubuntu docker run -ti ubuntu Volumes and the state of an application docker run -ti -v ~/data/:/data/ ubuntu
Links to let containers talk securely # Run tomcat in
a container docker run -d --name myserver tomcat # Access to tomcat from another container docker run --link myserver \ fedora \ curl myserver:8080
Multi-containers configurations db: image: postgres web: build: . command: python
manage.py runserver 0.0.0.0:8000 volumes: - .:/code ports: - "8000:8000" links: - db Docker Compose YML file