Docker in Practice

上传:woride7792 浏览: 41 推荐: 0 文件:PDF 大小:6.35MB 上传时间:2019-09-18 06:56:55 版权申诉
Docker in Practice By Ian Miell2016 | 370 Pages | ISBN: 1617292729 | PDF | 6 MBDocker is impossible to ignore. This lightweight container system is easier to deploy and more flexible than traditional VMs. Built for simplicity and speed, it radically reduces your reliance on manual system administDocker in practiceIAN MIELLAIDAN HOBSON SAYERSMANNINGSHELTER SLANDFor online information and ordering of this and other Manning books, please visitwww.manning.com.ThepublisheroffersdiscountsonthisbookwhenorderedinquantityFor more information, please contactSpecial sales DepartmentManning publications co20 Baldwin roadPOBoⅹ761Shelter island. nY11964Emailorders@manning.com02016 by Manning Publications Co. All rights reservedNo part of this publication may be reproduced, stored in a retrieval system, or transmitted, inany form or by means electronic, mechanical, photocopying, or otherwise, without prior writtenpermission of the publisherMany of the designations used by manufacturers and sellers to distinguish their products areclaimed as trademarks. Where those designations appear in the book, and manningPublications was aware of a trademark claim, the designations have been printed in initial capsOIlIcapsRecognizing the importance of preserving what has been written, it is Mannings policy to havethe books we publish printed on acid-free paper and we exert our best efforts to that endRecognizing also our responsibility to conserve the resources of our planet, Manning books areprinted on paper that is at least 15 percent recycled and processed without the use of elementalchlorineManning publications coDevelopment editor: Cynthia Kane20 Baldwin RoadTechnical development editors: Alain CouniotPO BoX 761and robert WennerShelter island. ny11964Copyeditor: Andy carrollProofreader: Melody dolabTechnical proofreader ose San LeandroTypesetter: Gordan SalinovicCover designer: Marja TudorISBN9781617292729Printed in the united states of america12345678910-EBM-212019181716brief contentsPART 1 DOCKER FUNDAMENTALSDiscovering Docker 32 Understanding Docker-inside the engine room 19PaRt 2 DOCKER AND DEVELOPMENTUsing Docker as a lightweight virtual machine 48Day-to-day docker 655 Configuration management--getting your house inorder 103Part 3 DOCKER AND DEVOPS143Continuous integration: speeding up your developmentpipeline 145Continuous delivery: a perfect fit for Dockerprinciples 169Network simulation: realistic environment testing withoutthe pain 186BRIEF CONTENTSPART 4 DOCKER IN PRODUCTION ...............................................2139 Container orchestration: managing multiple dockercontainers 215Docker and security 262Plain sailing--Docker in production and operationaconsiderations 2912 Docker in production--dealing with challenges 308contentsacknowledgments xixabout the cover illustration xxiiiPART 1 DOCKER FUNDAMENTALSrecoverinDocRe1.1 The what and why of Docker 5What is Docker? 5. What is Docker good for? 7. Keyconcepts 81.2BuIding a docker appligPplicate10Ways to create a new Docker image 11 Writing a Dockerfile 12Building a Docker image 13. Running a Docker container 14cher layering 161.3 Summary 18Understanding Docker--inside the engine room 192.1 Dockers architecture 20CONTENTS2.2 The Docker daemon 21TECHNIQUE I Open your Docker daemon to the world 22TECHNIQUE 2 Running containers as daemons 28TEChNIQue 3 Moving docker to a different partition 262.3 The Docker client 27TECHNIQUE 4 Use socat to monitor Docker APi traffic 27TECHNIQUE 5 Using ports to connect to containers 29TECHNIQUE 6 Linking containers for port isolation 31TECHNIQUE 7 Using Docker in your browser 332.4 Docker registries 34TECHNIQUE 8 Setting up a local Docker registry 352.5 The Docker hub 36TECHNIQUE 9 Finding and running a Docker image 372.6 Summary 39PaRT 2 DOCKER AND DEVELOPMENT413Using Docker as a lightweight virtual machine 433.1 From vm to container 44TECHNIQUE 11 A host-like container 4? Ontainer 44TECHNIQUe 10 Converting your vm to a container 44TECHNIQUE 12 Splitting a system into microservice containers 493.2 Managing services on your containers 52ECHNIOUUE 13Managing thege startup of your containersservices 538.8 Saving and restoring your work 55TECHNIQUE 14 The"save game approach to development 55TECHNIQUE 15 Docker tagging 57TECHNIQUE 16 Sharing images on the Docker Hub 59TECHNIQUE 17 Referring to a specific image in builds 613.4 Environments as processes 62TECHNIQUE 18 The"save game"approach to development 623.5 Summary 644Day-to-day Docker 654.1 Volumes-a persistent problem 66TECHNIQUE 19 Docker volumes-problems of persistence 66TecHnique 20 Distributed volumes with BitTorrent Sync 67CONTENTSTECHNIQUE 21 Retain your containers bash history 69TECHNIQUE 22 Data containers 71TECHNIQUE 23 Remote volume mounting using sshfs 74TECHNIQUE 24 Sharing data over NFS 76TECHNIQUE 25 Dev tools container 784.2 Running containers 79TECHNIQUE 26 Running GUIs within Docker 79TECHNIQUE 27 Inspecting containers 81TEcHnique 28 Cleanly killing containers 83TECHNIQUE 29 USing docker machine to provision Dockerhosts 844.3 Building images 87TECHNIQUE 30 Injecting files into your image using ADD 88TECHNIQUE 31 Rebuilding without the cache 90TECHNIQUE 32 Busting the cache 924. Staying ship-shape 93TECHNIQUE 38 Running Docker without sudo 93TECHNIQUe 34 Housekeeping containers 94TECHNIQUE 35 Housekeeping volumes 95TECHNIQUE 36 Detaching containers without stopping them 97TECHNIQUE 37 Using DockerUI to manage your Dockerdaemon 98TECHNIQUE 38 Generate a dependency graph of your DockerImagesQTECHNIque 39 Direct action-execute commands on yourcontainer 1015 Summary 102Configuration management-getting your house in order 1035.1 Configuration management and Dockerfiles 104TECHNIQUE 40 Create reliable bespoke tools withENTRYPOINT 104TECHNIQUE 41 Avoid package drift by specifying versions in yourbuild 106TECHNIQUE 42 Replacing text with perl-p-i-e 107TECHNIQUE 48 Flattening images 109TECHNIQUE 44 Managing foreign packages with alien 1llTECHNIQUE 45 Reverse-engineer a Dockerfile from an5.2 Traditional configuration management tools withDocker 116TECHNIQUE 46 Traditional: using make with Docker 116
上传资源
用户评论

client9049 2019-09-18 06:56:55

英文清晰版,非常好的资源。

inaugurate7856 2019-09-18 06:56:55

不错,所需积分略高

yxf25696 2019-09-18 06:56:55

学习,很实用

qqtact51126 2019-09-18 06:56:55

很好,很实用

相关推荐
Docker in Practice Docker实战
Docker实战一书涵盖了与Docker相关的101个技术问题,是一半cookbook风格的实战技术指南。DockerinPracticeisahands-onguidethatcovers101sp
PDF
0B
2019-06-01 08:07
docker实战docker_practice
docker实战docker_practice
PDF
0B
2020-05-30 22:30
docker_practice
非常实用的docker学习文档,适合初学者,以及要系统学习docker的开发、运维人员。
PDF
0B
2019-05-13 13:48
Docker_in_Practice.pdf
InSeptember2013,whilebrowsingHackerNews,IstumbledacrossanarticleinWiredaboutanewtechnologycalled“Doc
PDF
0B
2019-04-28 07:47
docker_practice.pdf
很实用的一本docker入门和进阶教程。有需要的可以学习参考。
PDF
0B
2019-06-01 08:07
docker practice.mobi
dockerpractice.mobidockerpractice.mobidockerpractice.mobi
其他文档
0B
2019-07-25 15:09
docker_practice.epub
docker_practice.epub
EPUB
0B
2020-01-12 13:14
Docker in Practice.pdf
DockerinPractice.pdf
PDF
0B
2020-03-24 14:04
docker in practice.rar
Docker 最初是 dotCloud 公司创始人 Solomon Hykes 在法国期间发起的一个公司内部项目, 它是基于 dotCloud 公司多年云服务技术的一次革新,并于 2013 年 3 月
RAR
10.28MB
2020-08-09 09:37
docker_practice源码
要使用副本docker服务安装nginx服务器,请创建--name nginx --replicas = 5 nginx 查看docker服务(集群)列表docker service ps nginx
ZIP
12KB
2021-04-21 16:31
中文docker_practice.pdf
docker官方文档中文版,快速入门docker必看,适合开发人员,运维人员,以及对docker技术感兴趣的初学者
PDF
0B
2019-06-01 08:07
Docker.in.Practice.2016.4.pdf
Docker.in.Practice.2016.4.pdf
PDF
0B
2020-03-12 11:25
Docker in Practice Errata.docx
Docker实践(docker in practice)勘误表,隶属精品,值得一阅。
DOCX
19KB
2020-08-09 18:22
compose practice Docker compose源码
compose-practice:Docker compose
ZIP
5KB
2021-02-26 04:15
docker从入门到实践docker_practice
高清电子书,可编辑,可复制,很方便。高清电子书,可编辑,可复制,很方便。高清电子书,可编辑,可复制,很方便。高清电子书,可编辑,可复制,很方便。高清电子书,可编辑,可复制,很方便。高清电子书,可编辑,
ZIP
0B
2020-03-24 14:06