Dockerizing Rails

Episode #506 by Teacher's Avatar David Kimura

Summary

In this episode, we look at using Docker for our Rails environment. We'll explore some of the common problems and solutions with this development environment approach.
rails docker development 23:18

Chapters

  • Introduction (0:00)
  • Setting up the Dockerfile.dev (2:21)
  • Building the Image (4:57)
  • docker-compose.yml (5:46)
  • Updating the database.yml (10:34)
  • Using foreman (10:55)
  • bin/dev (12:35)
  • Fixing some problems (13:42)
  • Fixing another problem (14:43)
  • Fixing port and bindings (15:26)
  • Fixing server is already running (16:41)
  • Adding a gem (17:21)
  • Final thoughts (19:36)
Student & Teacher
$ 9 /mo

Valid School Email Required

Same Access as Pro

Subscribe Now
Pro Monthly
$ 19 /mo

Access to Pro Episodes

Invite to Slack Channel

Priority Suggestions

Ad Free

Subscribe Now
Pro Annual
$ 190 /yr

Access to Pro Episodes

Invite to Slack Channel

Priority Suggestions

Ad Free

Subscribe Now
Teams
$ 57 /mo

3 Users Minimum

$19.00 / user / month

Same Access as Pro

Subscribe to Teams