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
Docker in Production (Docker Austin March 2015)
Search
Josh Butts
March 05, 2015
Technology
160
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Docker in Production (Docker Austin March 2015)
Josh Butts
March 05, 2015
More Decks by Josh Butts
See All by Josh Butts
Supercharged_Search_-_Longhorn_PHP_2025.pdf
jimbojsb
0
39
I Didn't Know Laravel Could Do That!
jimbojsb
4
890
Make It Searchable (Midwest PHP 2018)
jimbojsb
1
430
High Availability PHP (Nomad PHP January 2018)
jimbojsb
1
170
Things Your Application Does When You're Not Looking (PHP Serbia 2017)
jimbojsb
0
290
Containerizing PHP Applications (Lone Star PHP 2017)
jimbojsb
2
330
Composing PHP Applications with Middleware (PHP World 2016)
jimbojsb
0
190
Containerizing PHP Applications (PHP World 2016)
jimbojsb
0
220
Just-In-Time Software Manufacturing (True North PHP 2016)
jimbojsb
1
260
Other Decks in Technology
See All in Technology
Rancherの紹介&Update情報(RancherJP Online Meetup #09)
yoshiyuki_kono
0
110
サイバーセキュリティ概論 / Introduction to Cybersecurity
ks91
PRO
0
160
ルールやカスタム機能、どう使う?理想の出力を引き出すために今知りたいIBM Bob 5つの機能
muehara
1
340
Claude Code×Terraform IaC テンプレート駆動開発
itouhi
1
360
SIer20年! 培ったスキルがスタートアップで輝く時
shucho0103
0
440
【5分でわかる】セーフィー エンジニア向け会社紹介
safie_recruit
0
50k
地元にいないローカルオーガナイザーの立ち回り
uvb_76
1
480
形式手法特論:公平性制約の位相的特徴づけ #kernelvm / Kernel VM Study Kansai 12th
ytaka23
1
760
Databricks 月刊サービスアップデート 2026年05月号
tyosi1212
0
210
JJUG CCC 2026 Spring AI時代の開発こそ標準化を武器に! ― 方式・プロセス・プラットフォームの標準化
s27watanabe
2
720
AI駆動開発が変える、大規模開発の前提 ーHuman in the Loop から Human on the Loop へ / AIE2026
visional_engineering_and_design
16
8.5k
そのPoC、何を検証したつもりでしたか? AIプロダクトの価値検証で陥った落とし穴
techtekt
PRO
0
150
Featured
See All Featured
WENDY [Excerpt]
tessaabrams
11
38k
Technical Leadership for Architectural Decision Making
baasie
3
400
Lessons Learnt from Crawling 1000+ Websites
charlesmeaden
PRO
1
1.3k
Avoiding the “Bad Training, Faster” Trap in the Age of AI
tmiket
0
170
HTML-Aware ERB: The Path to Reactive Rendering @ RubyCon 2026, Rimini, Italy
marcoroth
1
150
Being A Developer After 40
akosma
91
590k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
35
3.5k
The Director’s Chair: Orchestrating AI for Truly Effective Learning
tmiket
1
190
Site-Speed That Sticks
csswizardry
13
1.2k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
38
2.9k
[RailsConf 2023] Rails as a piece of cake
palkan
59
6.7k
What’s in a name? Adding method to the madness
productmarketing
PRO
24
4.1k
Transcript
Docker in Production Josh Butts VP of Engineering
About Me • VP of Engineering, offers.com • Austin
PHP Organizer • NOT A DOCKER EXPERT • Play competitive Skee Ball • github.com/jimbojsb @jimbojsb 2
About Offers.com • We help people save money •
Launched in 2009 • 100k+ line PHP app • Millions of Uniques / Month • 1 DevOps engineer 3
A BRIEF HISTORY Before we start… 4
Production Infrastructure in 2009 5
Production Infrastructure in 2011 6 • 3x m1.large PHP/Nginx
• 3x m1.xlarge MySQL • 1x m1.large “worker” • Route 53 DNS • Cloudfront CDN
Production Infrastructure in 2013 • 5x c3.large PHP/Nginx •
3x 2XL RDS Mysql Multi-‐AZ • 1x m3.xlarge “worker” • 1x m3.4XL “mailer” • Route53 • Cloudfront 7
DOCKER And then we moved to 8
Why Docker? • It’s cool and trendy • Optimize
software/hardware density • Pink sombrero problem • Transient nature of AWS resources • We like the bleeding edge 9
Our Stack 10
Pretty Pictures 11
Some Details • Dockerfiles based on phusion/baseimage • Runit
/ multiprocess • Little to no Fleet or Etcd • Chronos for scheduling • Known-‐port service discovery 12
Issues We’ve Had • Fleet and Etcd are VERY sensitive
to DNS problems • PHP memory_limit vs Marathon limits / cgroups • Containers that need persistence (elastic search) • Sometimes we need to ssh into production 13
What’s Next • Docker for development & CI (currently
vagrant) • Increase usage of Chronos • True auto-‐scaling • Improve metrics / reporting 14
QUESTIONS? Anyone have 15
Links • Mesosphere Digital Ocean cluster create tool https:// digitalocean.mesosphere.com
• Sample PHP app used for Marathon demo https://github.com/jimbojsb/dockeraustin • Quay.io Enterprise Docker Registry https://quay.io/repository/jimbojsb/dockeraustin 16