Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Docker 101 - Mario Loriedo
Search
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
SingaSUG
September 09, 2015
Technology
320
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Docker 101 - Mario Loriedo
SingaSUG
September 09, 2015
More Decks by SingaSUG
See All by SingaSUG
Java/Spring and Node.JS side by side
singasug
0
250
Migrating to microservices (Carlos Queiroz)
singasug
0
260
Docker for Java/Spring developers
singasug
0
110
Cloud Foundry and Docker
singasug
0
260
Multi dimensional scaling with CouchBase
singasug
1
170
NoSql presentation from Clarence Tauro
singasug
2
230
Rx Java introduction
singasug
0
150
Spring Websockets
singasug
0
260
migrating from JSP to AngularJS
singasug
0
2.7k
Other Decks in Technology
See All in Technology
CTO Night|NotionのAIエージェントとFDE
kzkhykw1991
0
300
ウォンテッドリーの最近のプロダクトと技術の紹介
stomk
0
330
FinOps Agentが生んだ技術負債:コスト自動調査の落とし穴と解消までの道のり
oasis1994liveforever
3
250
[EMNLP26] RIGEL: Self-Distilled Score Adaptation for Image and Video Captioning Evaluation
keio_smilab
PRO
0
110
React改造してみた
tsukina_7mochi
0
150
コンテナ運用におけるネットワーク・コンテナコストの削減方法/How to Reduce Network and Container Costs in Container Operations
masakiokuda
2
370
Refining Active Record
shugo
0
190
Browser Spec: Testing Hotwire with Ruby
takahashim
1
160
アウトプット初心者、半年間のふりかえり
4o1sobblue
0
470
AI駆動開発におけるハーネスエンジニアリングの勘所
tsukuboshi
1
460
Codex を使った障害対応机上演習の実際
orgachem
PRO
0
250
LLM-as-a-Judgeは本当に信頼できるのか――評価器を評価する話
taka_aki
3
1k
Featured
See All Featured
Practical Orchestrator
shlominoach
192
12k
Taking LLMs out of the black box: A practical guide to human-in-the-loop distillation
inesmontani
PRO
3
2.5k
The Illustrated Children's Guide to Kubernetes
chrisshort
51
53k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
232
55k
A Modern Web Designer's Workflow
chriscoyier
699
190k
Collaborative Software Design: How to facilitate domain modelling decisions
baasie
1
350
Groundhog Day: Seeking Process in Gaming for Health
codingconduct
0
430
My Coaching Mixtape
mlcsv
0
360
Building a A Zero-Code AI SEO Workflow
portentint
PRO
0
790
Darren the Foodie - Storyboard
khoart
PRO
4
4k
Are puppies a ranking factor?
jonoalderson
2
4.1k
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
4.6k
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