Docker经典实例-(影印版)

本书特色

[

无论是在企业内部还是在云计算环境中部署应用程序,塞巴斯蒂安·戈阿冈编*的《Docker经典实例
(影印版)(英文版)》为开发人员、运维工程师和IT专业人员提供了130多个经过验证的Docker应用实例。
有了这些实用的解决方案,经验丰富的开发人员将能够在几个章节的学习后开始封装和部署分布式应用程序,即使你之前没有Docker的相关知识。如果你是一个IT专业人士,你将能够解决日常问题,创建、运行、共享和部署Docker镜像。如果你是一个运维工程师,你将很快能够采用这些工具改变你的工作方式。

]

目录

Preface
1. Getting Started with Docker1.0 Introduction1.1 Installing Docker on Ubuntu 14.041.2 Installing Docker on CentOS 6.51.3 Installing Docker on CentOS 71.4 Setting Up a Local Docker Host by Using Vagrant1.5 Installing Docker on a Raspberry Pi1.6 Installing Docker on OS X Using Docker Toolbox1.7 Using Boot2Docker to Get a Docker Host on OS X1.8 Running Boot2Docker on Windows 8.1 Desktop1.9 Starting a Docker Host in the Cloud by Using Docker Machine1.10 Using Docker Experimental Binaries1.11 Running Hello World in Docker1.12 Running a Docker Container in Detached Mode1.13 Creating, Starting, Stopping, and Removing Containers1.14 Building a Docker Image with a Dockerfile1.15 Using Supervisor to Run WordPress in a Single Container1.16 Running a WordPress Blog Using Two Linked Containers1.17 Backing Up a Database Running in a Container1.18 Sharing Data in Your Docker Host with Containers1.19 Sharing Data Between Containers1.20 Copying Data to and from Containers
2. Image Creation and Sharing2.0 Introduction2.1 Keeping Changes Made to a Container by Committing to an Image2.2 Saving Images and Containers as Tar Files for Sharing2.3 Writing Your First Dockerfile2.4 Packaging a Flask Application Inside a Container2.5 Optimizing Your Dockerfile by Following Best Practices2.6 Versioning an Image with Tags2.7 Migrating from Vagrant to Docker with the Docker Provider2.8 Using Packer to Create a Docker Image2.9 Publishing Your Image to Docker Hub2.10 Using ONBUILD Images2.11 Running a Private Registry2.12 Setting Up an Automated Build on Docker Hub for Continuous Integration/Deployment2.13 Setting Up a Local Automated Build by Using a Git Hook and a Private Registry2.14 Using Conduit for Continuous Deployment
3. Docker Networking3.0 Introduction3.1 Finding the IP Address of a Container3.2 Exposing a Container Port on the Host3.3 Linking Containers in Docker3.4 Understanding Docker Container Networking3.5 Choosing a Container Networking Namespace3.6 Configuring the Docker Daemon IP Tables and IP Forwarding Settings3.7 Using pipework to Understand Container Networking3.8 Setting Up a Custom Bridge for Docker3.9 Using OVS with Docker3.10 Building a GRE Tunnel Between Docker Hosts3.11 Running Containers on a Weave Network3.12 Running a Weave Network on AWS3.13 Deploying flannel Overlay Between Docker Hosts3.14 Networking Containers on Multiple Hosts with Docker Network3.15 Diving Deeper into the Docker Network Namespaces Configuration
4. Docker Configuration and Development4.0 Introduction4.1 Managing and Configuring the Docker Daemon4.2 Compiling Your Own Docker Binary from Source4.3 Running the Docker Test Suite for Docker Development4.4 Replacing Your Current Docker Binary with a New One4.5 Using nsenter4.6 Introducing runc4.7 Accessing the Docker Daemon Remotely4.8 Exploring the Docker Remote API to Automate Docker Tasks4.9 Securing the Docker Daemon for Remote Access4.10 Using docker-py to Access the Docker Daemon Remotely4.11 Using docker-py Securely4.12 Changing the Storage Driver
5. Kubernetes5.0 Introduction5.1 Understanding Kubernetes Architecture5.2 Networking Pods for Container Connectivity5.3 Creating a Multinode Kubernetes Cluster with Vagrant5.4 Starting Containers on a Kubernetes Cluster with Pods5.5 Taking Advantage of Labels for Querying Kubernetes Objects5.6 Using a Replication Controller to Manage the Number of Replicas of a Pod5.7 Running Multiple Containers in a Pod5.8 Using Cluster IP Services for Dynamic Linking of Containers5.9 Creating a Single-Node Kubernetes Cluster Using Docker Compose5.10 Compiling Kubernetes to Create Your Own Release5.11 Starting Kubernetes Components with the hyperkube Binary5.12 Exploring the Kubernetes API5.13 Running the Kubernetes Dashboard5.14 Upgrading from an Old API Version5.15 Configuring Authentication to a Kubernetes Cluster5.16 Configuring the Kubernetes Client to Access Remote Clusters
6. Optimized Operating System Distributions for Docker6.0 Introduction6.1 Discovering the CoreOS Linux Distribution with Vagrant6.2 Starting a Container on CoreOS via cloud-init6.3 Starting a CoreOS Cluster via Vagrant to Run Containers on Multiple Hosts6.4 Using fleet to Start Containers on a CoreOS Cluster6.5 Deploying a flannel Overlay Between CoreOS Instances6.6 Using Project Atomic to Run Docker Containers6.7 Starting an Atomic Instance on AWS to Use Docker6.8 Running Docker on Ubuntu Core Snappy in a Snap6.9 Starting an Ubuntu Core Snappy Instance on AWS EC26.10 Running Docker Containers on RancherOS
7. The Docker Ecosystem: Tools7.0 Introduction7.1 Using Docker Compose to Create a WordPress Site7.2 Using Docker Compose to Test Apache Mesos and Marathon on Docker7.3 Starting Containers on a Cluster with Docker Swarm7.4 Using Docker Machine to Create a Swarm Cluster Across Cloud Providers7.5 Managing Containers Locally Using the Kitematic UI7.6 Managing Containers Through Docker UI7.7 Using the Wharfee Interactive Shell7.8 Orchestrating Containers with Ansible Docker Module7.9 Using Rancher to Manage Containers on a Cluster of Docker Hosts7.10 Running Containers on a Cluster Using Lattice7.11 Running Containers via Apache Mesos and Marathon7.12 Using the Mesos Docker Containerizer on a Mesos Cluster7.13 Discovering Docker Services with Registrator
8. Docker in the Cloud8.0 Introduction8.1 Accessing Public Clouds to Run Docker8.2 Starting a Docker Host on AWS EC28.3 Starting a Docker Host on Google GCE8.4 Starting a Docker Host on Microsoft Azure8.5 Starting a Docker Host on AWS Using Docker Machine8.6 Starting a Docker Host on Azure with Docker Machine8.7 Running a Cloud Provider CLI in a Docker Container8.8 Using Google Container Registry to Store Your Docker Images8.9 Using Docker in GCE Google-Container Instances8.10 Using Kubernetes in the Cloud via GCE8.11 Setting Up to Use the EC2 Container Service8.12 Creating an ECS Cluster8.13 Starting Docker Containers on an ECS Cluster8.14 Starting an Application in the Cloud Using Docker Support in AWS Beanstalk
9. Monitoring Containers9.0 Introduction9.1 Getting Detailed Information About a Container with docker inspect9.2 Obtaining Usage Statistics of a Running Container9.3 Listening to Docker Events on Your Docker Hosts9.4 Getting the Logs of a Container with docker logs9.5 Using a Different Logging Driver than the Docker Daemon9.6 Using Logspout to Collect Container Logs9.7 Managing Logspout Routes to Store Container Logs9.8 Using Elasticsearch and Kibana to Store and Visualize Container Logs9.9 Using Collectd to Visualize Container Metrics9.10 Using cAdvisor to Monitor Resource Usage in Containers9.11 Monitoring Container Metrics with InfluxDB, Grafana, and cAdvisor9.12 Gaining Visibility into Your Containers’ Layout with Weave Scope
10. Application Use Cases10.0 Introduction10.1 CI/CD: Setting Up a Development Environment10.2 CI/CD: Building a Continuous Delivery Pipeline with Jenkins and Apache Mesos10.3 ELB: Creating a Dynamic Load-Balancer with Confd and Registrator10.4 DATA: Building an S3-Compatible Object Store with Cassandra on Kubernetes10.5 DATA: Building a MySQL Galera Cluster on a Docker Network10.6 DATA: Dynamically Configuring a Load-Balancer for a MySQL Galera Cluster10.7 DATA: Creating a Spark Cluster
Index

封面

Docker经典实例-(影印版)

书名:Docker经典实例-(影印版)

作者:塞巴斯蒂安.戈阿冈

页数:未知

定价:¥79.0

出版社:东南大学出版社

出版日期:2014-01-01

ISBN:9787564168995

PDF电子书大小:41MB 高清扫描完整版

百度云下载:http://www.chendianrong.com/pdf

发表评论

邮箱地址不会被公开。 必填项已用*标注