Docker for Rails Developers (Pragmatic Bookshelf)

PragmaticBookshelf
Docker does for DevOps what Rails did for web development---it gives you a new set of superpowers. Eliminate “works on my machine” woes and lengthy setup tasks. Instead, create a simple, consistent, Docker-based development environment that will have your team up and running in seconds. Gain hands-on, real-world experience with a tool that’s rapidly becoming fundamental to software development.

Rob Isenberg

edited by Adaobi Obi Tulton @aotulton

Docker does for DevOps what Rails did for web development—it gives you a new set of superpowers. Eliminate “works on my machine” woes and lengthy setup tasks. Instead, create a simple, consistent, Docker-based development environment that will have your team up and running in seconds. Gain hands-on, real-world experience with a tool that’s rapidly becoming fundamental to software development.

Easily spin up a new cluster to run your app, and scale it up or down at will. Dockerize a Rails application and run it using containers, including creating your own custom Docker images tailored for running Rails apps. Describe your app declaratively using Docker Compose and specify the software dependencies and everything needed to run the application. Set up continuous integration, as well as your deployment pipeline and infrastructure. Master the best practices for using Docker in development and start to experience what it’s like to run Docker in production.

Use Docker to transform your development environment and revolutionize how you deliver apps.


“With this book at my side, I was able to help my team move our largest, highest-revenue service into containers. This migration made disaster recovery much faster and more reliable, and made it possible to open a data center in a whole new market.”

–Erin Dees, Lead Software Engineer, New Relic


  • Full details: Search
  • View this book’s portal and details on how to post errata and suggestions here.

Don’t forget you can get 35% off with your Devtalk discount! Just use the coupon code “devtalk.com" at checkout :+1:

Latest Threads About This Book Top

redconfetti
Docker-Machine became part of the Docker Toolbox, which was deprecated in 2020, long after Docker Desktop supported Docker Engine nativel...
New
patbl
The second graf on page 15 says “We do this with the -i option—“i” for input.” But it actually stands for “interactive”: docker run --he...
New
patbl
The last sentence on page 27 says “Docker for Mac/Linux sets up port forwarding to achieve this,” but I think it should say “Mac/Windows,...
New
New
jan-gerritsen
On page 78, the book suggests to create a directory “.env” , but when build my docker file, it complains that .env is a directory (which ...
New
devpix
Question: Is there an update of the book planed? I think the book is in principal very good and explains a lot but at the moment (curre...
New
thomasbromehead
Hi, on page 361 the author says that we also need to rebuild the webpack image after adding the gem cache and bundling in the app contain...
New
edruder
As I was working through the book, I encountered a problem where the web container refused to start using docker-compose. I was startin...
New
edruder
I thought that there might be interest in using the book with Rails 6.1 and Ruby 2.7.2. I’ll note what I needed to do differently here. ...
New
jetsondavis
Environmental variables for production build not being exposed I am stuck following along with the book at the above reference page. Th...
New

Most Active This Week Top

Most Active This Month Top

Most Active This Year Top

Most Active Last Three Years Top

redconfetti
Docker-Machine became part of the Docker Toolbox, which was deprecated in 2020, long after Docker Desktop supported Docker Engine nativel...
New
patbl
The second graf on page 15 says “We do this with the -i option—“i” for input.” But it actually stands for “interactive”: docker run --he...
New
patbl
The last sentence on page 27 says “Docker for Mac/Linux sets up port forwarding to achieve this,” but I think it should say “Mac/Windows,...
New

Most Active Over Three Years Top

PragmaticBookshelf
Docker does for DevOps what Rails did for web development---it gives you a new set of superpowers. Eliminate “works on my machine” woes a...
New
Travis
Yarn installation has changed since this book has been written. We no longer need to specify the setup scripts or address the dependency ...
New
jetsondavis
Environmental variables for production build not being exposed I am stuck following along with the book at the above reference page. Th...
New
Big-Gray-Al
It seems to me that the default Rails 6 install with webpacker presents a problem. Within my Dockerfile, I have the line: COPY . /usr/s...
New
edruder
I thought that there might be interest in using the book with Rails 6.1 and Ruby 2.7.2. I’ll note what I needed to do differently here. ...
New
thomasbromehead
Hi, on page 361 the author says that we also need to rebuild the webpack image after adding the gem cache and bundling in the app contain...
New
devpix
Question: Is there an update of the book planed? I think the book is in principal very good and explains a lot but at the moment (curre...
New
New
Travis
Dockerfile: FROM ruby:2.6 RUN apt-get update -yqq RUN apt-get install -yqq --no-install-recommends nodejs COPY . /usr/src/app/ WORKDI...
New
jan-gerritsen
On page 78, the book suggests to create a directory “.env” , but when build my docker file, it complains that .env is a directory (which ...
New
rpool
Rack 2.2+ has a problem with the webpack dev server name used in the book. The workaround is to change the service name webpack_dev_serv...
New
edruder
As I was working through the book, I encountered a problem where the web container refused to start using docker-compose. I was startin...
New

Get money off!

The Pragmatic Bookshelf

35% off any eBook

Simply use coupon code "devtalk.com" at checkout. See full details here.