Docker for Rails Developers
Gain insights into Docker architecture, images, and containers. Learn Docker Compose, JS integration, and production readiness. Master deploying, clustering, and scaling Rails apps using Docker tools.
Andy Hunt and Dave Thomas founded The Pragmatic Programmers, LLC., with a simple goal: to improve the lives of professional developers. We create timely, practical books and other learning resources on classic and cutting-edge topics to help you learn and practice your craft and accelerate your career. We are not a giant, faceless, greed-soaked corporation. We’re a small group of experienced professionals committed to helping make corporate software development—and your life—easier.
Join 3.1 million developers at
What You'll Learn
- Learn the Docker fundamentals you need to know to get you off the ground
- Get your hands dirty making and running the real Rails app
- Learn how Compose allows adding multiple services
- Learn to integrate a frontend option with your Rails app
- Use Docker to deploy the Rails app to Cloud
Learning Roadmap
1.
Introduction
Introduction
2.
A Brave New World
A Brave New World
3.
Running a Rails App in a Container
Running a Rails App in a Container
6 Lessons
6 Lessons
4.
Fine-Tuning Our Rails Image
Fine-Tuning Our Rails Image
6 Lessons
6 Lessons
5.
Describing Our App Declaratively with Docker Compose
Describing Our App Declaratively with Docker Compose
8 Lessons
8 Lessons
6.
Beyond the App: Adding Redis
Beyond the App: Adding Redis
6 Lessons
6 Lessons
7.
Adding a Database: Postgres
Adding a Database: Postgres
7 Lessons
7 Lessons
8.
Playing Nice with JavaScript
Playing Nice with JavaScript
6 Lessons
6 Lessons
9.
Testing in a Dockerized Environment
Testing in a Dockerized Environment
8 Lessons
8 Lessons
10.
Advanced Gem Management
Advanced Gem Management
5 Lessons
5 Lessons
11.
Some Minor Irritations
Some Minor Irritations
5 Lessons
5 Lessons
12.
The Production Landscape
The Production Landscape
10 Lessons
10 Lessons
13.
Preparing for Production
Preparing for Production
5 Lessons
5 Lessons
14.
A Production-Like Playground
A Production-Like Playground
10 Lessons
10 Lessons
15.
Deploying to the Cloud
Deploying to the Cloud
8 Lessons
8 Lessons
16.
Closing Thoughts and Next Steps
Closing Thoughts and Next Steps
3 Lessons
3 Lessons
17.
APPENDIX
APPENDIX
3 Lessons
3 Lessons
Show License and Attributions
The Pragmatic Programmers
We create timely, practical books and learning resources on classic and cutting-edge topics to help you practice your craft and accelerate your career.
Trusted by 3.1 million developers working at companies
Anthony Walker
@_webarchitect_
Evan Dunbar
ML Engineer
Software Developer
Carlos Matias La Borde
Souvik Kundu
Front-end Developer
Vinay Krishnaiah
Software Developer
Built for 10x Developers












Free Resources