万本电子书0元读

万本电子书0元读

顶部广告

Beginning DevOps with Docker电子书

售       价:¥

3人正在读 | 0人评论 9.8

作       者:Joseph Muli

出  版  社:Packt Publishing

出版时间:2018-05-29

字       数:72.4万

所属分类: 进口书 > 外文原版书 > 电脑/网络

温馨提示:数字商品不支持退换货,不提供源文件,不支持导出打印

为你推荐

  • 读书简介
  • 目录
  • 累计评论(0条)
  • 读书简介
  • 目录
  • 累计评论(0条)
Automate the deployment of your environment with the power of the Docker toolchain About This Book ? Written and reviewed by expert Docker developers ? The book precisely covers all the essential topics such as building images and managing container swarms required in day to day use for Docker ? The book includes activities on the docker CLI and exercises such as writing Dockerfiles for Python which will allow you to reinforce the concepts covered Who This Book Is For The book is crafted for developers, system architects, junior and mid-level site reliability engineers interested in adapting a docker workflow. They are also required to have a basic knowledge of UNIX concepts such as ssh, ports and logs What You Will Learn ? Understand how to effectively design and build containers for different applications ? Setup an environment for testing, avoiding environment mismatch that is breaking production ? Setup and manage a multi-tier environment ? Run, debug, and experiment with applications in a container In Detail DevOps with Docker outlines the power of containerization and the influence this innovation has on development teams and general operations. We also get to understand what DevOps really is, the principles involved and how the process contributes to product health, by implementing a Docker workflow. We will learn to interpret Dockerfile syntax, build images and setup containers and images. In addition, we will deploy a Docker image to the Docker Hub.Docker is an open source containerization tool, that makes it easier to streamline product delivery. It helps reduce the time taken to get from a whiteboard sketch of the business to a money-back implementation. This fast-paced book is a perfect amalgamation of theory and hands-on exercises. The book will take you through the basics of Docker and DevOps and why and how they integrate. You will then understand what containers are, and how to create and manage them. Next, we will work on the docker-compose file and CLI. Then we will move to set up a network with the docker-compose tool. Gradually you will learn how to scale a delivery pipeline and multiple deployments with Docker. Lastly, you will grasp the concept of orchestration and learn to implement the delivery of containerized applications. Style and approach This is a fast-paced, practical hands-on book aimed at experienced developers and system architects. As you progress you’ll find helpful tips and tricks, as well as useful self-assessment material, exercises and activities to help benchmark your progress and reinforce what you’ve learned. The activities are devised to simulate the real-world conditions in order to equip you with the necessary skills to accelerate software deployment while still retaining security, portability and saving on costs.
目录展开

Beginning DevOps with Docker

Why subscribe?

PacktPub.com

Contributors

About the author

About the reviewer

Packt is searching for authors like you

Preface

Hardware

Software

Who This Book is for

Conventions

Note

Tip

Reader Feedback

Customer Support

Downloading the Example Code

Installation

Errata

Piracy

Questions

Chapter 1. Images and Containers

Lesson Objectives

Virtualization versus Containerization

How Docker Improves a DevOps Workflow

Note

Recap of the Docker Environment

Basic Docker Terminal Commands

Note

Activity 1 — Utilizing the docker pull Command

Activity 2 — Analyzing the Docker CLI

Dockerfile Syntax

Note

Writing Dockerfiles for Python and JavaScript examples

Note

Python

Note

JavaScript

Activity 3 — Building the Dockerfile

Building Images

docker build

Note

Note

Note

Note

Removing Docker Images

Activity 4 — Utilizing the Docker Image

Running Containers From Images

Note

Note

Note

Python

Note

Versioning Images and Docker Hub

Deploying a Docker Image to Docker Hub

Summary

Chapter 2. Application Container Management

Lesson Objectives

The docker-compose Tool

Note

Installing docker-compose

Note

Overview of a Multi-Container Application Setup

The Frontend

The Backend

Note

Note

The Database

Note

Note

Using docker-compose

Note

Note

docker-compose first run

Activity 1 — Running WordPress Using docker-compose

Note

Note

Note

The docker-compose file: docker-compose.yml

Note

Note

Note

The docker-compose CLI

Note

Note

Note

Activity 2 — Analyzing the docker- compose CLI

Managing Multiple Containers and Distributed Application Bundles

Note

Improve a Docker Workflow

Note

The Django Compose File Broken Down

Endure Data Using Volumes

Note

Note

Ports

Note

Activity 3 — Running the docker-compose File

Networking with docker-compose

Note

Note

Run the WordPress Containers

Summary

Chapter 3. Orchestration and Delivery

Lesson Objectives

Orchestration

Note

An Overview of Docker Swarm

Note

Note

Note

Using Docker Engine to Create a Swarm

Note

Creating Docker Machines

Note

Listing Created Machines

Note

Worker Machine Creation

Note

Initializing our Swarm

Note

Connecting to a Machine

Note

Initializing Swarm Mode

Note

Note

Note

Adding Workers to our Swarm

Note

Viewing a Cluster's Status

Activity 1 — Adding Nodes to a Cluster

Managing Services and Applications in a Swarm

Note

Creating a Service

Note

Listing Services

Service Status

Note

How Do We Know Our Site is Running?

Note

Activity 2 — Running Services on a Swarm

Scaling Services Up and Down

Note

Scaling Our Database Service

Note

How Does Swarm Know Where to Schedule a Service?

Note

How Does Swarm Load Balance Requests between Replicas?

Activity 3 — Scaling Services on a Swarm

Summary

Index

A

B

C

D

G

L

M

N

O

P

S

T

V

W

累计评论(0条) 0个书友正在讨论这本书 发表评论

发表评论

发表评论,分享你的想法吧!

买过这本书的人还买过

读了这本书的人还在读

回顶部