DevOps Sample Rails App To Build Image using Gemfile: docker-compose build To run an app: docker-compose up To create db using another terminal docker-compose run web rake db:create output: