Book description
Docker does for DevOps what Rails did for web development--it gives you a new set of superpowers. Gone are "works on my machine" woes and lengthy setup tasks, replaced instead by 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. Go from zero all the way to production as Docker transforms the massive leap of deploying your app in the cloud into a baby step.
Docker makes life as a Ruby and Rails developer easier. It helps build, ship, and run your applications, solving major problems you face every day. It allows you to run applications at scale, adding new resources as needed. Docker provides a reliable, consistent environment that's guaranteed to work the same everywhere.
Docker lets you do all things DevOps without needing a PhD in infrastructure and operations. Want to spin up a cluster to run your app? No problem. Scale it up or down at will? You bet. Start by running a Ruby script without having Ruby installed on the local machine. Then 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, specifying the software dependencies along with everything needed to run the application. Then set up continuous integration, as well as your deployment pipeline and infrastructure. Along the way, find out the best practices for using Docker in development and production environments.
This book gives you a solid foundation on using Docker and fitting it into your development workflow and deployment process.
What You Need:
All you need is a Windows, Mac OS X or Linux machine to do development on. This book guides you through the process of installing Docker. Some basic familiarity with Linux/Unix is recommended even if you're using a Windows machine.Publisher resources
Table of contents
- Acknowledgements
- Introduction
-
Part I. Development
- 1. A Brave New World
- 2. Running a Rails App in a Container
- 3. Fine-Tuning Our Rails Image
- 4. Describing Our App Declaratively with Docker Compose
- 5. Beyond the App: Adding Redis
- 6. Adding a Database: Postgres
- 7. Playing Nice with JavaScript
- 8. Testing in a Dockerized Environment
- 9. Advanced Gem Management
- 10. Some Minor Irritations
- Part II. Toward Production
- A1. Platform Differences
- A2. Finding Images to Use
Product information
- Title: Docker for Rails Developers
- Author(s):
- Release date: February 2019
- Publisher(s): Pragmatic Bookshelf
- ISBN: 9781680506754
You might also like
book
Modern Front-End Development for Rails
Improve the user experience for your Rails app with rich, engaging client-side interactions. Learn to use …
book
Learn Rails 6: Accelerated Web Development with Ruby on Rails
Effectively learn and apply software development and engineering techniques to web application development using Rails 6 …
book
Mastering Ruby Closures
The road to Ruby mastery is paved with blocks, procs, and lambdas. To be a truly …
book
Service-Oriented Design with Ruby and Rails
The Complete Guide to Building Highly Scalable, Services-Based Rails Applications Ruby on Rails deployments are growing, …