Rails on Containers eBook

Rails on Containers eBook

Introduction to the eBook

This book is designed to introduce you to using containers and Kubernetes for full-stack development. You’ll learn how to develop a full-stack application using Ruby on Rails and PostgreSQL with Sidekiq, and how to manage them all — first with Docker, then with Docker Compose, and finally with Kubernetes.

This book is based on the Rails on Containers tutorial series found on DigitalOcean Community. The topics that it covers include how to:

  1. Get started developing an application about sharks using the Ruby on Rails framework

  2. Extend the application’s data model to incorporate user submitted information about sharks

  3. Add the Stimulus JavaScript and Bootstrap CSS frameworks to your application to create visually appealing, interactive pages

  4. Integrate Sidekiq into your application to handle asynchronous data processing

  5. Containerize your application and streamline your development workflow using Docker Compose

  6. Migrate your Docker Compose development workflow to Kubernetes, finishing with a completely cloud-native application

Each chapter is is designed to build progressively from the first. However, if you’re familiar with a topic, or are more interested in a particular section, feel free to jump to the chapter that best suits your purpose.

Download the eBook

You can download the eBook in either the EPUB or PDF format by following the links below.

If you’d like to learn more about app development using Rails visit the DigitalOcean Community’s [Ruby on Rails section] ( Or if you want to continue learning about containers, Docker, and Kubernetes, you might be interested in the Kubernetes for Full-Stack Developers self-guided course.

Thanks for learning with the DigitalOcean Community. Check out our offerings for compute, storage, networking, and managed databases.

Learn more about our products

About the authors

Still looking for an answer?

Ask a questionSearch for more help

Was this helpful?

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Thank for your help me

Try DigitalOcean for free

Click below to sign up and get $200 of credit to try our products over 60 days!

Sign up

Join the Tech Talk
Success! Thank you! Please check your email for further details.

Please complete your information!

Featured on Community

Get our biweekly newsletter

Sign up for Infrastructure as a Newsletter.

Hollie's Hub for Good

Working on improving health and education, reducing inequality, and spurring economic growth? We'd like to help.

Become a contributor

Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.

Welcome to the developer cloud

DigitalOcean makes it simple to launch in the cloud and scale up as you grow — whether you're running one virtual machine or ten thousand.

Learn more
DigitalOcean Cloud Control Panel