Skip to content

重写定制镜像章节#128

Merged
yeasy merged 1 commit intoyeasy:masterfrom
twang2218:image-create
Nov 26, 2016
Merged

重写定制镜像章节#128
yeasy merged 1 commit intoyeasy:masterfrom
twang2218:image-create

Conversation

@twang2218
Copy link
Copy Markdown
Contributor

由于定制镜像是 Docker 使用环境的重中之重,因此将原来的 image/create.md 扩展为4篇:image/commit.md, image/build.md, image/dockerfile/*, image/other.md。其中 dockerfile 进一步扩展,包括大部分指令详解。

由于 image/dockerfile/* 已经涵盖了 dockefile/* 的内容,并且增加了很多。因此去掉了原有的 dockerfile/ 章节。从另一个角度来看,相当于是将后续 dockerfile 章节前移。
Dockerfile 是镜像构建必须掌握的技能,在介绍镜像定制的时候,就应该将其详细讲解。

image/save_load.md 合并到 image/other.md 并重写。docker import, export, save, load 是不常使用的命令,他们是早期 Docker 生态环境不完善的时候留下来的东西,现在已经不推荐使用,因此将这些方法合并到一篇里作为了解即可。

Signed-off-by: Tao Wang twang2218@gmail.com

由于定制镜像是 Docker 使用环境的重中之重,因此将原来的 `image/create.md` 扩展为4篇:`image/commit.md`, `image/build.md`, `image/dockerfile/*`, `image/other.md`。其中 `dockerfile` 进一步扩展,包括大部分指令详解。

由于 `image/dockerfile/*` 已经涵盖了 `dockefile/*` 的内容,并且增加了很多。因此去掉了原有的 `dockerfile/` 章节。从另一个角度来看,相当于是将后续 `dockerfile` 章节前移。
Dockerfile 是镜像构建必须掌握的技能,在介绍镜像定制的时候,就应该将其详细讲解。

将 `image/save_load.md` 合并到 `image/other.md` 并重写。docker import, export, save, load 是不常使用的命令,他们是早期 Docker 生态环境不完善的时候留下来的东西,现在已经不推荐使用,因此将这些方法合并到一篇里作为了解即可。

Signed-off-by: Tao Wang <twang2218@gmail.com>
@yeasy yeasy merged commit 66b8170 into yeasy:master Nov 26, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants