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
Introdução ao Docker
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
Gabriel Sobrinho
October 17, 2015
Programming
1
120
Introdução ao Docker
Gabriel Sobrinho
October 17, 2015
Tweet
Share
More Decks by Gabriel Sobrinho
See All by Gabriel Sobrinho
Arquiteturas Multi-Tenant RubyConf 2022
sobrinho
0
230
Introduction to Go
sobrinho
1
120
Casos de otimização em aplicações Ruby on Rails
sobrinho
0
310
Introduction to automated tests (Goiania)
sobrinho
0
150
Introduction to automated tests
sobrinho
3
240
Otimização de Aplicações RoR
sobrinho
1
280
Introdução ao React (Simplificado)
sobrinho
0
150
Algoritmos de pesquisa
sobrinho
0
680
Introdução ao React
sobrinho
0
340
Other Decks in Programming
See All in Programming
Fragmented Architectures
denyspoltorak
0
150
React 19でつくる「気持ちいいUI」- 楽観的UIのすすめ
himorishige
11
7.4k
生成AIを使ったコードレビューで定性的に品質カバー
chiilog
1
270
コマンドとリード間の連携に対する脅威分析フレームワーク
pandayumi
1
450
「ブロックテーマでは再現できない」は本当か?
inc2734
0
970
Data-Centric Kaggle
isax1015
2
770
360° Signals in Angular: Signal Forms with SignalStore & Resources @ngLondon 01/2026
manfredsteyer
PRO
0
120
Smart Handoff/Pickup ガイド - Claude Code セッション管理
yukiigarashi
0
130
Best-Practices-for-Cortex-Analyst-and-AI-Agent
ryotaroikeda
1
100
Architectural Extensions
denyspoltorak
0
280
CSC307 Lecture 02
javiergs
PRO
1
780
余白を設計しフロントエンド開発を 加速させる
tsukuha
7
2.1k
Featured
See All Featured
Agile Actions for Facilitating Distributed Teams - ADO2019
mkilby
0
110
Beyond borders and beyond the search box: How to win the global "messy middle" with AI-driven SEO
davidcarrasco
1
51
Leveraging Curiosity to Care for An Aging Population
cassininazir
1
160
WCS-LA-2024
lcolladotor
0
450
Dominate Local Search Results - an insider guide to GBP, reviews, and Local SEO
greggifford
PRO
0
77
Amusing Abliteration
ianozsvald
0
100
The Cost Of JavaScript in 2023
addyosmani
55
9.5k
Accessibility Awareness
sabderemane
0
51
Believing is Seeing
oripsolob
1
54
GitHub's CSS Performance
jonrohan
1032
470k
Crafting Experiences
bethany
1
48
Abbi's Birthday
coloredviolet
1
4.7k
Transcript
Introdução a conteinerização de aplicações
GABRIEL SOBRINHO gabrielsobrinho.com github.com/sobrinho twitter.com/sobrinho speakerdeck.com/sobrinho
hite.com.br
None
Docker
Docker • Projeto PaaS da dotcloud • Open source escrito
em Go • Facilita a criação de containers • Linux, OS X, Windows
None
Matrix from hell
Matrix from hell
Soluções
Docker
Docker
None
Instalação
OS X • Necessário rodar uma VM com Linux •
Preferencialmente o VMware Fusion
OS X brew install docker docker-machine docker-machine create --driver=virtualbox docker
eval $(docker-machine env docker)
None
Conceitos
Imagens • Template read-only • Contém os arquivos da sua
aplicação • Geradas a partir de um Dockerfile
Containers • Gerados a partir de uma imagem • Recursos
controlados (CPU, memória, I/O, etc) • Podem ser descartáveis ou persistentes
Dockerfile FROM ruby:2.2 RUN mkdir /usr/src/app WORKDIR /usr/src/app COPY .
/usr/src/app EXPOSE 9292 CMD ["bundle", "exec", "puma", "-t", "4:4"]
Compilando docker build -t app .
Executando docker run app
Volumes • Arquivos persistentes no container • Backups, aplicação, logs,
etc
Volumes
None
Live Demo Murphy pediu para avisar que não irá funcionar
como esperado
None
Brindes
Cupom 15% RAILS_BH_15
http://www.casadocodigo.com.br/products/livro-docker
None
Obrigado!
Dúvidas?
hite.com.br
Referências https://www.docker.com http://infoslack.com/docker/ http://www.casadocodigo.com.br/products/livro-docker