Docker for Rails Developers: Build, Ship, and Run Your Applications Everywhere
By 作者: Rob Isenberg
ISBN-10 书号: 1680502735
ISBN-13 书号: 9781680502732
Edition 版本: 1
Release Finelybook 出版日期: 2019-02-24
pages 页数: (240 )
Book Description to Finelybook sorting
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 Is Docker?
Why Use Docker?
Who Should Read This Book?
What’s in This Book?
How to Read This Book
Which Operating Systems Are Supported?
Part I. Development
1. ABrave 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
P8. Testing in a Dockerized Environment
9. Advanced Gem Management
10. Some Minor Irritations
Part II. Toward Production
11. The Production Landscape
12. Preparing for Production
13. AProduction-Like Playground
14. Deploying to the Cloud
15. Closing Thoughts and Next Steps
A1. Platform Differences
File Ownership and Permissions
A2. Finding Images to Use
Using Docker Hub
Using the Docker CLT
Docker for Rails Developers 9781680502732.zip