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 + DockerCompose
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
Ruben Espinosa
June 12, 2015
Programming
150
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Docker + DockerCompose
Ruben Espinosa
June 12, 2015
More Decks by Ruben Espinosa
See All by Ruben Espinosa
RealTime APPS with Rails + Socket.io + Redis
rderoldan1
0
280
Segunda sesión
rderoldan1
0
54
Presentación
rderoldan1
0
72
Primera Sesión
rderoldan1
0
64
Other Decks in Programming
See All in Programming
MIZARU@SPAJAM2026 第二回予選
1901drama
0
110
個人開発基盤をまるごとCloudflareに引っ越して爆速で総合的体験を向上させた話
tinykitten
0
140
【高い買い物LT会】初任給で話題の国産フィジカルAIを買った話
akagami
PRO
0
120
Building an Out-of-Order CPU
latte72
1
740
go-spidermonkeyでAIエージェントのCode Modeを実装する
syumai
3
1.5k
WebMCP Challenge に星空観察アプリで参加した話
okajun35
0
120
まだ間に合う!今年の夏こそSchemeのマクロ展開器を完全理解!
omasanori
0
640
iOS開発×AI駆動開発 〜最近使って便利だったスキルの話〜
nogu66
0
140
Laravelのアプリケーションをどこにデプロイするか #ツナギメオフライン.9
akase244
0
120
型解析で実現する Go の言語内 DSL / Conference に Go! タイムテーブルの歩き方 for Gophers
mazrean
0
130
Claude Codeを組織的に動かして月400PRを実現した話
happy_ryo
0
260
モバイル交通系ICへのチャージ実例から考える、クロスプラットフォーム開発におけるiOS実機テスト設計とCI運用
yusuga
1
190
Featured
See All Featured
Test your architecture with Archunit
thirion
2
2.4k
The innovator’s Mindset - Leading Through an Era of Exponential Change - McGill University 2025
jdejongh
PRO
1
320
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
194
17k
Building an army of robots
kneath
306
46k
Why You Should Never Use an ORM
jnunemaker
PRO
61
10k
The agentic SEO stack - context over prompts
schlessera
0
910
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.9k
A brief & incomplete history of UX Design for the World Wide Web: 1989–2019
jct
2
500
How Fast Is Fast Enough? [PerfNow 2025]
tammyeverts
3
880
Faster Mobile Websites
deanohume
310
32k
BBQ
matthewcrist
89
10k
We Have a Design System, Now What?
morganepeng
55
8.3k
Transcript
Rails + Docker Compose Rubén Espinosa
@rderoldan1 GitHub Twitter Gmail Skype ETC
Docker - Historia LXC LinuX Containers
Docker - Matrix from Hell
Docker - Matrix from Hell
Docker - Matrix from Hell
Docker • Portable. • Orientado a las aplicaciones. • Builds
automáticos. • Versionamiento. • Reusabilidad. • Colaborativo. • Ecosistema de herramientas.
Docker - vs VM
Docker - Historia Inicio del proyecto Open Source Adquiere Orchard
$40.000.000 Microsoft IBM 2014 2013 Adquiere Kitematic Machine + Swarm + Compose 2015
Docker - Quien lo usa
Sistemas Operativos Soportados Boot2Docker
Docker - Docker Hub
Docker - Dockerfile FROM ruby:latest RUN apt-get update && apt-get
install -y libpq-dev nodejs-dev RUN mkdir /myapp WORKDIR /myapp ADD Gemfile /myapp/Gemfile ENV BUNDLE_PATH=/bundle RUN bundle install --path /bundle Add . /myapp
FIG.sh COMPOSE Compose - FIG
Compose - Ventajas #!/bin/bash # Postgres container docker run -d
-v /var/docker/postgresql:/data --name=postgres -e USER='root' \ -e PASS='amazing_pass' -e DB='my_db' paintedfox/postgresql # Rabbit container docker run -d -v /var/docker/rabbit:/data -p 0.0.0.0:15672:15672 \ -p 0.0.0.0:5672:5672 -e RABBITMQ_PASS="amazing_pass" \ --name=rabbitmq tutum/rabbitmq # Web server container docker run -i -t -e INSTANCE_TYPE="web-server" --name='my-web' -p 0.0.0.0:8000:8000 \ -v /home/my/app:/home/my/app --link=postgres:postgres --link=redis:redis --link=rabbitmq:rabbit my_docker_image "$@" run_docker_containers.sh
Compose - Ventajas web: build: . command: bundle exec thin
start -a 0.0.0.0 -p 3000 links: - db volumes: - .:/myapp ports: - "3000" db: image: postgres:latest ports: - 5432 redis: image: redis:latest docker-compose up
Compose - Comandos docker-compose build docker-compose start docker-compose build docker-compose
ps docker-compose scale <service>=<n>
DEMO
BenchMark Ejemplos Rails on Docker - Advanced Rails On Docker
- Simple
Reflexión http://blog.circleci.com/its-the-future/
Patrocinador
¡Gracias!