Docker for Rails Developers

Rob Isenberg

  • 出版商: Pragmatic Bookshelf
  • 出版日期: 2019-03-26
  • 定價: $1,258
  • 售價: 9.0$1,132
  • 語言: 英文
  • 頁數: 240
  • 裝訂: Paperback
  • ISBN: 1680502735
  • ISBN-13: 9781680502732
  • 相關分類: DockerRuby
  • 立即出貨 (庫存 < 3)

買這商品的人也買了...

商品描述

Docker does for DevOps what Rails did for web development--it gives you a new set of superpowers. Gone are "works on my machine" woes and lengthy setup tasks, replaced instead by a simple, consistent, Docker-based development environment that will have your team up and running in seconds. Gain hands-on, real-world experience with a tool that's rapidly becoming fundamental to software development. Go from zero all the way to production as Docker transforms the massive leap of deploying your app in the cloud into a baby step.

Docker makes life as a Ruby and Rails developer easier. It helps build, ship, and run your applications, solving major problems you face every day. It allows you to run applications at scale, adding new resources as needed. Docker provides a reliable, consistent environment that's guaranteed to work the same everywhere.

Docker lets you do all things DevOps without needing a PhD in infrastructure and operations. Want to spin up a cluster to run your app? No problem. Scale it up or down at will? You bet. Start by running a Ruby script without having Ruby installed on the local machine. Then Dockerize a Rails application and run it using containers, including creating your own custom Docker images tailored for running Rails apps. Describe your app declaratively using Docker Compose, specifying the software dependencies along with everything needed to run the application. Then set up continuous integration, as well as your deployment pipeline and infrastructure. Along the way, find out the best practices for using Docker in development and production environments.

This book gives you a solid foundation on using Docker and fitting it into your development workflow and deployment process.

What You Need:

All you need is a Windows, Mac OS X or Linux machine to do development on. This book guides you through the process of installing Docker. Some basic familiarity with Linux/Unix is recommended even if you're using a Windows machine.

商品描述(中文翻譯)

Docker對於DevOps的作用就像Rails對於網頁開發的作用一樣-它給予你一套新的超能力。不再有「在我的機器上運作」的困擾和冗長的設定任務,取而代之的是一個簡單、一致的基於Docker的開發環境,讓你的團隊在幾秒鐘內啟動並運行。通過使用這個工具,獲得實際的、真實世界的經驗,這對於軟體開發來說正在迅速成為基礎。Docker將在雲端部署應用程式這一巨大的飛躍轉化為一個小步驟。

Docker使作為Ruby和Rails開發人員的生活更輕鬆。它幫助構建、發佈和運行應用程式,解決了你每天面臨的主要問題。它允許你按需運行應用程式,根據需要添加新的資源。Docker提供了一個可靠、一致的環境,保證在任何地方都能正常運作。

Docker讓你能夠在不需要基礎設施和運營學位的情況下進行所有DevOps工作。想要啟動一個集群來運行你的應用程式?沒問題。想要根據需要隨意擴展或縮小?當然可以。從在本地機器上運行一個Ruby腳本開始。然後使用容器來Dockerize一個Rails應用程式並運行它,包括創建專為運行Rails應用程式而定制的自定義Docker映像。使用Docker Compose以聲明方式描述你的應用程式,指定軟體依賴以及運行應用程式所需的一切。然後設置持續集成,以及你的部署流程和基礎設施。在此過程中,了解在開發和生產環境中使用Docker的最佳實踐。

本書為你提供了使用Docker並將其融入你的開發工作流程和部署過程的堅實基礎。

你所需要的是一台Windows、Mac OS X或Linux機器進行開發。本書將引導你完成安裝Docker的過程。即使你使用的是Windows機器,建議你對Linux/Unix有一些基本的熟悉。