Ruby in containers
summary
Containers give portability and the ingredients for scale while keeping Ruby apps bootfast and smaller if built carefully. Use Dockerfile → build an image → run containers with Docker, push to Docker Hub and orchestrate with Kubernetes. Prefer a minimal base (notably Alpine base image for tiny images), install only needed packages, chain RUN commands and clean up to cut image size and attack surface. Test images by running commands, asserting files and metadata; large images slow pushes/pulls and increase vulnerabilities.
AI-written summary · about
chapters (10)
- 0:00Intro
- 5:52Container architecture
- 8:10Benefits of containers
- 10:17Containers in Ruby
- 12:55Summary
- 13:52Performance Security
- 15:39Security
- 17:26Size comparison
- 19:04Other tips
- 21:36Container testing
related talks
01h 01mShipping Ruby Apps with Docker
47mContainerized Ruby Applications with Docker
40mDeveloping Ruby Applications with Docker
40mContainerized Ruby Applications with Docker
39mReal World Docker for the Rubyist
26mmruby: a Packaging Story Filled with Freedom
27mScaling Ruby Applications with Mesos and Docker
34mBuilding Ruby Head for your Rails App
