Go to file
rhinoceros.xn 6158dda40e Update case/supervisor.md : Resolve apache2 install error
Resolve error below:


Step 5 : RUN apt-get install -y openssh-server apache2 supervisor
 ---> Running in 816b405cf0d1
Reading package lists...
Building dependency tree...
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 apache2 : Depends: apache2-mpm-worker (= 2.2.22-1ubuntu1) but it is not going to be installed or
                    apache2-mpm-prefork (= 2.2.22-1ubuntu1) but it is not going to be installed or
                    apache2-mpm-event (= 2.2.22-1ubuntu1) but it is not going to be installed or
                    apache2-mpm-itk (= 2.2.22-1ubuntu1) but it is not going to be installed
           Depends: apache2.2-common (= 2.2.22-1ubuntu1) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
The command '/bin/sh -c apt-get install -y openssh-server apache2 supervisor' returned a non-zero code: 100
2015-10-13 13:53:05 +08:00
_images Add more details on docker machine 2015-07-16 15:34:54 +08:00
_local Update .bashrc_docker for CentOS usage 2015-05-08 11:21:02 +08:00
advanced_network 添加遗漏字 2014-11-06 09:06:49 +08:00
appendix_command Fix issue#20, format following the guidelines 2014-10-14 13:25:01 +08:00
appendix_repo Fix issue#20, format following the guidelines 2014-10-14 13:25:01 +08:00
appendix_resources Fix issue#20, format following the guidelines 2014-10-14 13:25:01 +08:00
basic_concept minor fix space; delete useless file 2014-10-21 13:59:03 +08:00
cases Update case/supervisor.md : Resolve apache2 install error 2015-10-13 13:53:05 +08:00
compose Replace compose logo with latest version 2015-07-16 14:26:23 +08:00
container Fix issue #68: 在5.2 守护状态运行中,命令错误 2015-08-18 10:07:45 +08:00
coreos coreos cluster quickstart section 2015-09-28 17:33:45 +08:00
data_management add an example to validate restored data from data volume container 2015-07-03 16:23:46 +08:00
dockerfile 删除多余字 2014-11-06 10:16:10 +08:00
etcd fix url format 2015-02-12 13:42:06 +08:00
fig Add the compose chapter 2015-05-08 20:10:01 +08:00
image add sections to cleanup unused containers and images 2015-07-03 16:52:47 +08:00
install minor fix space; delete useless file 2014-10-21 13:59:03 +08:00
introduction minor fix space; delete useless file 2014-10-21 13:59:03 +08:00
kubernetes Add the architecture design for k8s 2015-06-08 11:19:52 +08:00
machine Add more details on docker machine 2015-07-16 15:34:54 +08:00
mesos Add mesos framework 2015-06-30 17:11:45 +08:00
network Update linking.md 2015-03-11 09:52:45 +08:00
repository simple typo 2015-02-23 10:25:27 +08:00
security Merge branch 'master' of github.com:yeasy/docker_practice 2014-11-07 15:27:30 +08:00
swarm Update usage.md 2015-08-26 13:24:48 +08:00
underly Refine the preface content 2014-12-21 19:24:20 +08:00
.gitignore 试试如何贡献 2014-12-13 00:16:10 +08:00
book.json Add the book.json file 2014-09-21 21:32:13 +08:00
cover_small.jpg Add cover pages 2014-09-21 21:32:42 +08:00
cover.jpg Add cover pages 2014-09-21 21:32:42 +08:00
docker_primer.png Refine the preface content 2014-12-21 19:24:20 +08:00
README.md Merge branch 'master' of github.com:yeasy/docker_practice 2015-07-16 15:35:13 +08:00
SUMMARY.md coreos cluster quickstart section 2015-09-28 17:33:45 +08:00

Docker —— 从入门到实践

v0.5.1

Docker 是个伟大的项目,它彻底释放了虚拟化的威力,极大降低了云计算资源供应的成本,同时让应用的部署、测试和分发都变得前所未有的高效和轻松!

本书既适用于具备基础 Linux 知识的 Docker 初学者,也希望可供理解原理和实现的高级用户参考。同时,书中给出的实践案例,可供在进行实际部署时借鉴。前六章为基础内容,供用户理解 Docker 的基本概念和操作7 ~ 9 章介绍一些高级操作;第 10 章给出典型的应用场景和实践案例11 ~ 13 章介绍关于 Docker 实现的相关细节技术。后续章节则分别介绍一些相关的热门开源项目。

在线阅读:GitBookDockerPool

欢迎关注 DockerPool 社区微博 @dockerpool,或加入 DockerPool QQ 群419042067分享 Docker 资源,交流 Docker 技术。

Docker 技术入门与实战

Docker 技术入门与实战》一书已经正式出版,包含大量第一手实战案例和更为深入的技术剖析,欢迎大家阅读使用。

主要版本历史

  • 0.6: 2015-07-?
    • 补充 Machine 项目
  • 0.5: 2015-06-29
    • 添加 Compose 项目
    • 添加 Machine 项目
    • 添加 Swarm 项目
    • 完善 Kubernetes 项目内容
    • 添加 Mesos 项目内容
  • 0.4: 2015-05-08
    • 添加 Etcd 项目
    • 添加 Fig 项目
    • 添加 CoreOS 项目
    • 添加 Kubernetes 项目
  • 0.3: 2014-11-25
    • 完成仓库章节;
    • 重写安全章节;
    • 修正底层实现章节的架构、名字空间、控制组、文件系统、容器格式等内容;
    • 添加对常见仓库和镜像的介绍;
    • 添加 Dockerfile 的介绍;
    • 重新校订中英文混排格式。
    • 修订文字表达。
    • 发布繁体版本分支zh-Hant。
  • 0.2: 2014-09-18
    • 对照官方文档重写介绍、基本概念、安装、镜像、容器、仓库、数据管理、网络等章节;
    • 添加底层实现章节;
    • 添加命令查询和资源链接章节;
    • 其它修正。
  • 0.1: 2014-09-05
    • 添加基本内容;
    • 修正错别字和表达不通顺的地方。

Docker 自身仍在快速发展中,生态环境也在蓬勃成长。源码开源托管在 Github 上,欢迎参与维护:https://github.com/yeasy/docker_practice。贡献者 名单

参加步骤

  • 在 GitHub 上 fork 到自己的仓库,如 docker_user/docker_practice,然后 clone 到本地,并设置用户信息。
$ git clone git@github.com:docker_user/docker_practice.git
$ cd docker_practice
$ git config user.name "yourname"
$ git config user.email "your email"
  • 修改代码后提交,并推送到自己的仓库。
$ #do some change on the content
$ git commit -am "Fix issue #1: change helo to hello"
$ git push
  • 在 GitHub 网站上提交 pull request。
  • 定期使用项目仓库内容更新自己仓库内容。
$ git remote add upstream https://github.com/yeasy/docker_practice
$ git fetch upstream
$ git checkout master
$ git rebase upstream/master
$ git push -f origin master