$30 off During Our Annual Pro Sale. View Details »
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
270
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
200
Migrating to microservices (Carlos Queiroz)
singasug
0
230
Docker for Java/Spring developers
singasug
0
82
Cloud Foundry and Docker
singasug
0
200
Multi dimensional scaling with CouchBase
singasug
1
120
NoSql presentation from Clarence Tauro
singasug
2
190
Rx Java introduction
singasug
0
120
Spring Websockets
singasug
0
200
migrating from JSP to AngularJS
singasug
0
2.6k
Other Decks in Technology
See All in Technology
安いGPUレンタルサービスについて
aratako
2
2.6k
Debugging Edge AI on Zephyr and Lessons Learned
iotengineer22
0
110
AWS Bedrock AgentCoreで作る 1on1支援AIエージェント 〜Memory × Evaluationsによる実践開発〜
yusukeshimizu
6
360
プロダクトマネジメントの分業が生む「デリバリーの渋滞」を解消するTPMの越境
recruitengineers
PRO
3
710
法人支出管理領域におけるソフトウェアアーキテクチャに基づいたテスト戦略の実践
ogugu9
1
210
世界最速級 memcached 互換サーバー作った
yasukata
0
330
Noを伝える技術2025: 爆速合意形成のためのNICOフレームワーク速習 #pmconf2025
aki_iinuma
2
2k
多様なデジタルアイデンティティを攻撃からどうやって守るのか / 20251212
ayokura
0
220
第4回 「メタデータ通り」 リアル開催
datayokocho
0
120
今からでも間に合う!速習Devin入門とその活用方法
ismk
1
420
ログ管理の新たな可能性?CloudWatchの新機能をご紹介
ikumi_ono
0
470
[JAWS-UG 横浜支部 #91]DevOps Agent vs CloudWatch Investigations -比較と実践-
sh_fk2
1
240
Featured
See All Featured
Statistics for Hackers
jakevdp
799
230k
Unsuck your backbone
ammeep
671
58k
YesSQL, Process and Tooling at Scale
rocio
174
15k
The Invisible Side of Design
smashingmag
302
51k
Building Adaptive Systems
keathley
44
2.9k
Building an army of robots
kneath
306
46k
ReactJS: Keep Simple. Everything can be a component!
pedronauck
666
130k
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
9
1.1k
Faster Mobile Websites
deanohume
310
31k
Rails Girls Zürich Keynote
gr2m
95
14k
Done Done
chrislema
186
16k
Fantastic passwords and where to find them - at NoRuKo
philnash
52
3.5k
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