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
Gabriel Sobrinho
October 17, 2015
Programming
1
110
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
220
Introduction to Go
sobrinho
1
110
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
230
Otimização de Aplicações RoR
sobrinho
1
270
Introdução ao React (Simplificado)
sobrinho
0
150
Algoritmos de pesquisa
sobrinho
0
660
Introdução ao React
sobrinho
0
340
Other Decks in Programming
See All in Programming
Webinar: AI-Powered Development: Transformiere deinen Workflow mit Coding Tools und MCP Servern
danielsogl
0
110
技術的負債で信頼性が限界だったWordPress運用をShifterで完全復活させた話
rvirus0817
1
1.5k
decksh - a little language for decks
ajstarks
4
21k
AIコーディングエージェント全社導入とセキュリティ対策
hikaruegashira
16
9.7k
JetBrainsのAI機能の紹介 #jjug
yusuke
0
200
CEDEC2025 長期運営ゲームをあと10年続けるための0から始める自動テスト ~4000項目を50%自動化し、月1→毎日実行にした3年間~
akatsukigames_tech
0
120
それ CLI フレームワークがなくてもできるよ / Building CLI Tools Without Frameworks
orgachem
PRO
17
3.8k
202507_ADKで始めるエージェント開発の基本 〜デモを通じて紹介〜(奥田りさ)The Basics of Agent Development with ADK — A Demo-Focused Introduction
risatube
PRO
6
1.4k
Constant integer division faster than compiler-generated code
herumi
2
590
LLMOpsのパフォーマンスを支える技術と現場で実践した改善
po3rin
8
800
管你要 trace 什麼、bpftrace 用下去就對了 — COSCUP 2025
shunghsiyu
0
390
The State of Fluid (2025)
s2b
0
130
Featured
See All Featured
The MySQL Ecosystem @ GitHub 2015
samlambert
251
13k
Building Flexible Design Systems
yeseniaperezcruz
328
39k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
34
3.1k
Git: the NoSQL Database
bkeepers
PRO
431
65k
StorybookのUI Testing Handbookを読んだ
zakiyama
30
6k
Rebuilding a faster, lazier Slack
samanthasiow
83
9.1k
Practical Orchestrator
shlominoach
190
11k
Into the Great Unknown - MozCon
thekraken
40
2k
Why Our Code Smells
bkeepers
PRO
337
57k
Bootstrapping a Software Product
garrettdimon
PRO
307
110k
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
PRO
23
1.4k
Fashionably flexible responsive web design (full day workshop)
malarkey
407
66k
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