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, you will learn how to prepare your Rails app for production. Once ready, using Docker’s own tools, you will provision machines, create a cluster, deploy the app, and scale the app’s resources to meet its changing needs.
By the end of the course, you will be able to confidently use Docker in any of your further projects.
This course is your field manual for building Rails applications with Docker.
To kick things off, you’ll start by learning the...Show More
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
TAKEAWAY SKILLS
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.
5.
Describing Our App Declaratively with Docker Compose
8 Lessons
Take a closer look at managing Rails apps with Docker Compose for efficient development.
6.
Beyond the App: Adding Redis
6 Lessons
See how it works to integrate Redis with Rails using Docker for enhanced functionality.
7.
Adding a Database: Postgres
7 Lessons
Master the steps to integrate Postgres with Rails using Docker, ensuring secure, persistent configurations.
8.
Playing Nice with JavaScript
6 Lessons
Learn how to use Docker, Webpacker, React, and RSpec for Rails JavaScript integration.
9.
Testing in a Dockerized Environment
8 Lessons
Get started with integrating RSpec, system tests, and JavaScript support in Dockerized Rails.
10.
Advanced Gem Management
5 Lessons
Go hands-on with efficient gem management techniques using Docker for Rails projects.
11.
Some Minor Irritations
5 Lessons
Grasp the fundamentals of managing Rails server start-up and shutdown in Docker environments.
12.
The Production Landscape
10 Lessons
Gain insights into Docker's impact on operations, orchestration tools, and deployment strategies.
13.
Preparing for Production
5 Lessons
Follow the process of configuring, building, and distributing Docker images for Rails production.
14.
A Production-Like Playground
10 Lessons
Master the steps to simulate, configure, deploy, and scale Docker environments for Rails apps.
15.
Deploying to the Cloud
8 Lessons
Step through Docker Swarm deployment on AWS and DigitalOcean, including scaling, visualizing, and resource cleanup.
16.
Closing Thoughts and Next Steps
3 Lessons
Discover the logic behind Docker's capabilities, continuous learning areas, and efficiency enhancements.
17.
APPENDIX
3 Lessons
Go hands-on with Docker installation, platform differences, and finding reliable Docker images.
Certificate of Completion
Showcase your accomplishment by sharing your certificate of completion.
Course Author:
Show License and Attributions
Developed by MAANG Engineers
Trusted by 2.8 million developers working at companies
"These are high-quality courses. Trust me the price is worth it for the content quality. Educative came at the right time in my career. I'm understanding topics better than with any book or online video tutorial I've done. Truly made for developers. Thanks"
Anthony Walker
@_webarchitect_
"Just finished my first full #ML course: Machine learning for Software Engineers from Educative, Inc. ... Highly recommend!"
Evan Dunbar
ML Engineer
"You guys are the gold standard of crash-courses... Narrow enough that it doesn't need years of study or a full blown book to get the gist, but broad enough that an afternoon of Googling doesn't cut it."
Software Developer
Carlos Matias La Borde
"I spend my days and nights on Educative. It is indispensable. It is such a unique and reader-friendly site"
Souvik Kundu
Front-end Developer
"Your courses are simply awesome, the depth they go into and the breadth of coverage is so good that I don't have to refer to 10 different websites looking for interview topics and content."
Vinay Krishnaiah
Software Developer
Hands-on Learning Powered by AI
See how Educative uses AI to make your learning more immersive than ever before.
AI Prompt
Code Feedback
Explain with AI
AI Code Mentor
Free Resources