1. 首页
  2. 网络技术
  3. 系统集成
  4. Thedockerbook

Thedockerbook

上传者: 2019-05-13 13:48:49上传 PDF文件 500kb 热度 14次
干货分享,docker入门书籍, the docker book.ContentsPageList of FiguresV111st of ListingsXIXForewordWho is this book for?Credits and AcknowledgmentsTechnical reviewersScott collierJohn ferlito2Paul nasratTechnical illustratorProofreaderAuthor4Conventions in the book4Code and Examples鲁··ColophonErrataVersion5Copyright......Chapter 1 IntroductionIntroducing Docker............8An easy and lightweight way to model realityA logical segregation of dutiesFast, efficient development life cycleContentsDocker components10Docker client and server10Docker images,,,,,,,,,,,12Registries12Containers·····.······13What can you use docker for?14Docker with configuration management14Docker's technical components16What's in the book?16Docker resourcesChapter 2 Installing Docker19Requirements20Installing on Ubuntu21Checking for prerequisites22Installing Docker24Docker and uFw25Installing on Red Hat and family26Checking for prerequisites................27Installing Docker28Starting the Docker daemon on the red Hat family29Boot2Docker installation on os X30Installing Boot2Docker on OSX31Setting up Boot2Docker on OSX ................. 32Testing Boot 2 Docker33Boot2Docker installation on windows33Installing Boot2Docker on Windows33Setting up boot 2Docker on Windows34Testing Boot2Docker35Using Boot2Docker with this book36Docker installation script.,37Binary installation38The docker daemon39Configuring the docker daemon39Checking that the docker daemon is runningVersion: v1.0.7(8f1618C)ContentsUpgrading dockerpg843Docker user interfaces43Summary43Chapter 3 Getting Started with Docker45Ensuring Docker is ready45Building our first container46Working with our first container49Container naming52Starting a stopped container52Attaching to a container,,,,,,,,,,.53Creating demonized containersSeeing what's happening inside our container.............. 55Inspecting the container's processes56Stopping a demonized container,57Finding out more about our container58Deleting a container60Summary··鲁61Chapter 4 Working with Docker images and repositories62What is a docker image?63Listing Docker images65Pulling images·69Searching for images71Building our own imagesCreating a docker hub account73Using Docker commit to create images75Building images with a dockerfile77Building the image from our dockerfile80What happens if an instruction fails?83Dockerfiles and the build cache85Using the build cache for templating85Viewing our new image86Launching a container from our new image,,,87Dockerfile instructions,,,,,,,,,,,,,,91Version: v1.0.7(8/1618c)ContentsPushing images to the Docker Hub104Automated builds106Deleting an image,,,,,,,.,..,111Running your own Docker registry,,,.114Running a registry from a container.............. 114Testing the new registry114Alternative indexes116Quay116Summary116Chapter 5 Testing with Docker117Using Docker to test a static website118An initial dockerfile118Building our nginx image,121Building containers from our Nginx image123Editing our website125Using Docker to build and test a web application............... 127Building our Sinatra application127Creating our Sinatra container128Building a Redis image and container.......... 131Connecting to the redis container132Our redis connection137Linking docker containers139Using our container link to communicate143Using Docker for continuous integration146Build a jenkins and docker server148Create a new Jenkins job153Running our Jenkins job...158Next steps with our Jenkins job160Summary of our Jenkins setup160Multi-configuration Jenkins161Create a multi-configuration job,,,,,,,,,,161Testing our multi-configuration job,,,,,,,,,166Summary of our multi-configuration Jenkins,,,,,,,,,,168Other alternatives168Version: v1.0.7(8/1618c)ContentsDrone168Shippable.169SInnd169Chapter 6 Building services with Docker170Building our first application.170The jekyll base image.171Building the jekyll base image172The apache image173Building the jekyll Apache image175Launching our Jekyll site,,,,,,,,,,,176dating our Jekyll site179Backing up our Jekyll volume................ 181Extending our Jekyll website example182Building a Java application server with Docker183A WAR file fetcher183Fetching a War file184Our Tomcat 7 application server186Running our WAR file,,,,188Building on top of our Tomcat application server............ 189A multi-container application stack.,,,,,,,,,,,,,,,,,192The Node. js image193The redis base image196The redis primary image197The Redis replica image198Creating our Redis back-end cluster.199Creating our node container205Capturing our application logs...206Summary of our Node stack210Managing Docker containers without SSh.211Summary212Chapter 7 Using the Docker API214The Docker APis.,,.214First steps with the remote api215Version: v1.0.7(8/1618c)ContentsTesting the Docker Remote aPI217Managing images with the API.218Managing containers with the aPI......,...221Improving PRov,225Authenticating the Docker Remote API230Create a Certificate Authority231Create a server certificate signing request and key232Configuring the docker daemon235Creating a client certificate and key.237Configuring our Docker client for authentication239Summary .,,241Chapter8 Getting help and extending Docker242Getting help243The Docker user and dev mailing lists243Docker on irc243Docker on github244Reporting issues for Docker244Setting up a build environment245Install docker,,,,245Install source and build tools...,,,,.,,,,,,,,.,,,245Check out the source245Contributing to the documentation246Build the environmentRunning the tests248Use Docker inside our development environment249Submitting a pull request...250Merge approval and maintainers252SUummar253Index254Version: v1.0.7(8/1618c)List of Figures1.1 Docker architecture2.1 Installing Boot2Docker on OSX................... 312.2 Running boot2Docker on osX322.3 Installing Boot2 Docker on Windows342.4 Running boot2 Docker on windows353.1 Listing Docker containers514.1 The Docker filesystem layers644.2 Docker hub674.3 Creating a Docker hub account744.4 Your image on the docker hub1054.5 The Add Repository button,,,,,,,,,,,,,,..1064.6 Account linking options1074.7 Linking your GitHub account1084.8 Selecting your repository1094.9 Configuring your Automated Build1104.10Creating your Automated Build,1114.1lDeleting a repository.,.1135.1 Browsing the nginx test site1255.2 Browsing the edited Nginx test site1265.3 Browsing the Jenkins server.1525. 4 Creating a new Jenkins job.1535.5 Jenkins job details part 11545.6 Jenkins job details part 21575.7 Running the Jenkins job,,,,,158List of figures5.8 The Jenkins job details1595.9 The Jenkins job console output1595. 10Creating a multi-configuration job.,,,,,,,,,,,,1615.11Configuring a multi-configuration job Part 1..1625.12Configuring a multi-configuration job Part 21635.130ur Jenkins multi-configuration job1655.14The centos sub-job.1665.15The centos sub-job details1675.16The centos sub-job console output.676. 1 Our Jekyll website,,,,,,,,,,.1796.2 Our updated jekyll website1806. 3 Our Tomcat sample application,,,,,,,,1886. 4 Our TProv web application1906. 5 Downloading a sample application.1916.6 Listing the Tomcat instances,1916. 7 Our Node application,.205Version: v1.0.7(8/1618c)
下载地址
用户评论
码姐姐匿名网友 2019-05-13 13:48:49

thanks for share..

码姐姐匿名网友 2019-05-13 13:48:49

扫描版,文件有点大,不过内容是完整的。讲docker入门书籍,值得一读

码姐姐匿名网友 2019-05-13 13:48:49

好书,谢谢分享。

码姐姐匿名网友 2019-05-13 13:48:49

终于找到完全版的,开心

码姐姐匿名网友 2019-05-13 13:48:49

非常完整的文档,作者有心了,多谢

码姐姐匿名网友 2019-05-13 13:48:49

这个是完整的英文版,可以下载这个看

码姐姐匿名网友 2019-05-13 13:48:49

英文版,内容很全了,多谢分享,这个看不明白再去买中文的~

码姐姐匿名网友 2019-05-13 13:48:49

不错的入门教程,虽然现在版本更新加了很多东西。

码姐姐匿名网友 2019-05-13 13:48:49

书上的真快呀,网友真好。谢了!