Git Product home page Git Product logo

docker_ruby_on_rails's Introduction

Dockerizing Ruby on Rails

Making Ruby on Rails and Docker play nice.

What is Docker?

Package an app or service with its dependencies - code, runtime, libraries, basically everything that you would need to install it on a server.

What's the difference between Docker & VMs?

Not much, they both do isolation but there are specific tradeoffs:

VMs:

  • Require a guest operating system for each isolated application
  • Longer startup time to boot VM
  • VMs can potentially be GBs in size

Docker:

  • Shares host's kernel
  • Isolation is done using linux kernel libraries (cgroups)
  • Lightweight, milliseconds for bootime, low storage overhead

Why should I use it?

  1. Encapsulates application, such that moving it between environments is simple. Build once, run anywhere mantra.

  2. No more pain setting up someone's dev environment, just plug and play a docker image.

  3. Docker makes microservices look easy.

  4. Scale up fast - images start up very fast, deployments are more predictable and resilient.

Source: https://semaphoreci.com/community/tutorials/dockerizing-a-ruby-on-rails-application

docker_ruby_on_rails's People

Contributors

sugataach avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.