Home>Courses>Docker for Rails Developers

Docker for Rails Developers

Gain insights into Docker architecture, images, and containers. Delve into Docker Compose, JS integration, and production readiness. Master deploying, clustering, and scaling Rails apps using Docker tools.

Beginner

104 Lessons

10h

Certificate of Completion

Gain insights into Docker architecture, images, and containers. Delve into Docker Compose, JS integration, and production readiness. Master deploying, clustering, and scaling Rails apps using Docker tools.
AI-POWERED

Explanations

AI-POWERED

Explanations

This course includes

3 Assessments
46 Playgrounds
18 Quizzes
Course Overview
What You'll Learn
Course Content
Apply Your Skills
Recommendations

Course Overview

This course is your field manual for building Rails applications with Docker. To kick things off, you’ll start by learning the basics of Docker like architecture, images, and containers. You will then be introduced to Docker Compose and use it to build up to a multiservice application with Redis. You will then work to get your Dockerized setup to play nice with JavaScript, using both the standard asset pipeline and webpacker, Rails’ newest approach for integrating modern JavaScript front ends. Lastly, y...Show More
This course is your field manual for building Rails applications with Docker. To kick things off, you’ll start by learning the...Show More

TAKEAWAY SKILLS

Docker

Docker Containers

Docker Architecture

Docker Images

Dockerfile

Docker Commands

Docker Compose

Adding Database using Compose

React frontend in Rails

Webpacker

Testing via Docker

Docker Compose Commands

Ruby Gem's Management

CaaS Platforms

docker-machine

Using docker-swarm

DB migration

Ops Explanation

Production Images

Docker Hub

Orchestrators

IaaS Platforms

Deployment on Cloud

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
Learn the Docker fundamentals you need to know to get you off the ground

Show more

Course Content

1.

Introduction

2 Lessons

Get familiar with Docker to streamline Rails development with containers and enhanced efficiency.

2.

A Brave New World

6 Lessons

Unpack the core of Docker's fundamental concepts, Ruby script execution, Rails app generation, and architecture.

3.

Running a Rails App in a Container

6 Lessons

Go hands-on with running and configuring Rails apps in Docker containers efficiently.

4.

Fine-Tuning Our Rails Image

6 Lessons

Enhance your skills in optimizing Docker images for Rails applications with caching and CMD improvements.

6.

Beyond the App: Adding Redis

6 Lessons

See how it works to integrate Redis with Rails using Docker for enhanced functionality.

8.

Adding a Database: Postgres

7 Lessons

Master the steps to integrate Postgres with Rails using Docker, ensuring secure, persistent configurations.

9.

Playing Nice with JavaScript

6 Lessons

Learn how to use Docker, Webpacker, React, and RSpec for Rails JavaScript integration.

11.

Advanced Gem Management

5 Lessons

Go hands-on with efficient gem management techniques using Docker for Rails projects.

12.

Some Minor Irritations

5 Lessons

Grasp the fundamentals of managing Rails server start-up and shutdown in Docker environments.

15.

Preparing for Production

5 Lessons

Follow the process of configuring, building, and distributing Docker images for Rails production.

17.

Deploying to the Cloud

8 Lessons

Step through Docker Swarm deployment on AWS and DigitalOcean, including scaling, visualizing, and resource cleanup.

19.

Closing Thoughts and Next Steps

3 Lessons

Discover the logic behind Docker's capabilities, continuous learning areas, and efficiency enhancements.

20.

APPENDIX

3 Lessons

Go hands-on with Docker installation, platform differences, and finding reliable Docker images.

Show License and Attributions

Trusted by 2.5 million developers working at companies

Hands-on Learning Powered by AI

See how Educative uses AI to make your learning more immersive than ever before.

Instant Code Feedback

Evaluate and debug your code with the click of a button. Get real-time feedback on test cases, including time and space complexity of your solutions.

AI-Powered Mock Interviews

Adaptive Learning

Explain with AI

AI Code Mentor

Free Resources

FOR TEAMS

Interested in this course for your business or team?

Unlock this course (and 1,000+ more) for your entire org with DevPath