In just 5 minutes, you have your Rails app dockerized for local development

Hey there, I’m Pasha, and I used to have hated Docker for years! It was a long time ago. But you know what? Times change. Nowadays, I’m all about it and can’t even picture my workflow without Docker and its devtools environment. I’ve got it running locally, on CI, on staging, and production.

In just 5 minutes, you will be able to use it locally with your Rails application. Just use dip. Dip is the CLI and configuration framework that helps you manage Docker in development.

Wanna use dip with your application RIGHT NOW, use Ruby on Whales template. Run this command:

bundle exec rails app:template LOCATION='https://railsbytes.com/script/z5OsoB'

This template will configure your application to leverage dip. And if you’re looking for more details, dive into the Ruby on Whales article.

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

No responses yet

Write a response