Commit Graph

82 Commits (7cba69c5f796a107434a0fe8ce25bab5770b7679)

Author SHA1 Message Date
khs1994 75b1c683e0 Update image 2017-11-27 14:29:13 +08:00
khs1994 f2386afe6c Add multistage builds #226 2017-11-24 18:37:38 +08:00
khs1994 e65cf12625 Add multistage builds #226 2017-11-24 18:36:30 +08:00
khs1994 04c031fc40 Update image 2017-11-24 12:30:57 +08:00
khs1994 3c27207c8e Fix spelling error 2017-11-23 23:48:52 +08:00
khs1994 eb1573a1fe Update content #227 #180 2017-11-22 20:28:10 +08:00
khs1994 7cbdf27d93 Fix #117 2017-11-22 11:13:23 +08:00
khs1994 f838297f05 Update image install content 2017-11-13 18:19:35 +08:00
Baohua Yang 096350920c
Merge pull request #204 from khs1994/master
Fix #203 #206 #208 #209
2017-10-31 19:11:08 -05:00
khs1994 23d6736c12 Use 「docker image」 in docker v1.13+ 2017-10-24 13:06:50 +08:00
khs1994 d8632d8554 Add Docker Management Commands in docker v1.13+ 2017-10-24 12:30:17 +08:00
Letian Feng 6bbd85cc37 Fix 单词错误 Dockrfile -> Dockerfile 2017-10-20 11:09:52 +02:00
khs1994 a0135f2b71 Fix links 2017-09-16 10:27:27 +08:00
khs1994 beea9fae4b link install/mirror.md 2017-09-04 20:05:15 +08:00
leotian e7719de38f refactor: image not found 2017-07-17 11:12:42 +08:00
Baohua Yang aa3b036630 Merge pull request #175 from shuizhongyueming/f/RUN命令调整
Fix run cmd
2017-06-01 18:50:13 +08:00
shuizhongyueming 8aaf0927d2 修复在ONBUILD章节里面RUN命令的使用错误
在ONBUILD章节里面RUN后面要执行的命令被双引号括起来了
在基于demo提供的Dockerfile来构建镜像时,Docker会报类似"/bin/sh: 1: mkdir /app: not found"的错误
去掉之后就一切正常了
2017-06-01 18:11:18 +08:00
Baohua Yang bd34ba8077 Update figure location 2017-05-24 11:37:58 +08:00
wg1j 293cd25271 Fixed url and add footnote to new Docker Store 2017-04-22 00:27:44 +08:00
Rui Ma d032b463e5 Update workdir.md
workdir 可以自动帮忙建立目录
2017-03-14 17:06:48 +08:00
Howld 34fc0e801a #160 2017-03-02 19:58:32 +08:00
Jason 394b6622f9 在 -> 再 2017-02-18 22:07:35 +08:00
Jason aee43fea12 是用 -> 使用 2017-02-18 21:02:39 +08:00
Jason f4bb30b9f4 至于修改为置于 2017-02-18 14:35:44 +08:00
gerryke 80a64ac0a4 修改Entrypoint介绍章节中错别字“远了”为“原来” 2017-02-09 17:12:26 +08:00
Baohua Yang af4ac70ceb Merge branch 'master' of github.com:yeasy/docker_practice 2017-02-09 09:36:10 +08:00
Kim Wu 9f9151580d 改正输入错漏。
CMD ["nginx" "-g" "daemon off;"] -> CMD ["nginx", "-g", "daemon off;"]
2017-01-13 14:21:35 +08:00
yeasy abce07cda6 Add cloud chapter 2017-01-12 16:11:33 +08:00
hzwangsiyu 29c0385b12 fix typo 2016-12-20 00:57:27 +08:00
Baohua Yang a46012033f Merge pull request #141 from xiaoxing598/master
Change term of "internal"
2016-12-15 16:44:50 +08:00
Allen b1cf8d3dc1 修复错误描述 2016-12-15 09:42:50 +08:00
chenshenyou 63d52eba72 Fix issue #139: fix typo, change from 意外 to 以外 2016-12-14 23:12:58 +08:00
Baohua Yang f2d6f998ab Move image mirror introcution to the installation chapter
Fix issue #136.
2016-11-28 11:33:23 +08:00
Baohua Yang e537012881 Merge pull request #137 from twang2218/update-dockerfile-arg
Add --build-arg doc on Docker 1.13
2016-11-28 11:29:24 +08:00
Baohua Yang 590b0bea31 Merge pull request #135 from twang2218/image-remove
Refine the image remove chapter
2016-11-28 11:25:22 +08:00
Tao Wang b0330ce1d8 修正 --build-arg 的参数的说明以适应 Docker 1.13 的变化
Signed-off-by: Tao Wang <twang2218@gmail.com>
2016-11-28 10:53:44 +11:00
Tao Wang bd7b7c18c3 重写删除镜像章节
扩展了删除镜像的信息。
调整GitHub按钮的大小。

Signed-off-by: Tao Wang <twang2218@gmail.com>
2016-11-28 02:29:45 +11:00
Tao Wang 3484bb3cf6 修正 image/commit.md 中的图片链接错误
Signed-off-by: Tao Wang <twang2218@gmail.com>
2016-11-27 04:34:38 +11:00
Tao Wang 5aec4fae19 重写定制镜像章节
由于定制镜像是 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>
2016-11-26 05:02:43 +11:00
TRISTAN-TK\Tristan_Liu 34a0655774 调整验证mirror配置的说明,验证方法只在Linux下生效。Windows下的验证方法暂时不知道 2016-11-17 21:42:30 +08:00
TRISTAN-TK\Tristan_Liu 72fbb7ed15 镜像加速器添加windows10配置说明 2016-11-17 21:36:22 +08:00
Tao Wang f3be1fe1f5 重新改写"镜像列表"章节
更新命令结果,并添加更多的内容。

Signed-off-by: Tao Wang <twang2218@gmail.com>
2016-11-15 06:40:27 +11:00
Baohua Yang f1b622ebfd Update pull.md 2016-11-13 23:01:49 +08:00
Tao Wang fc5d514ec1 添加关于加速器配置章节的引用。 2016-11-13 18:39:24 +11:00
Baohua Yang a119a30fa5 Merge pull request #118 from twang2218/image-pull
Refine image pull chapter
2016-11-13 09:01:29 +08:00
Baohua Yang 48badeb0a0 Merge branch 'install-mirror' of https://github.com/twang2218/docker_practice into twang2218-install-mirror 2016-11-13 08:59:52 +08:00
Tao Wang 3f41302794 改进'获取镜像'章节
修正一些表达,以及扩展更多信息。
关于下载缓慢的问题,改为推荐使用加速器,这样可以始终保持官方维护的新版本。因此在前面的安装章节将来需要补充一些安装配置的内容,包括加速器的设置。
2016-11-11 17:22:30 +11:00
Kang Li dcb2cfe246 better translations
Sorry I don't know much about the word 'save-out', but here are some common translations of docker commands in Chinese:

save: 保存
load: 加载
export: 导出 
import: 导入

It seems that there is a big difference between 'save' and 'export' in Docker, it will be great if you make a detail explanation :P
2016-09-14 13:37:21 +08:00
Kang Li e4e10ead0f fix typo 2016-09-13 16:37:59 +08:00
Yunfeng Wang 904fb90f5b 修改句式错误
根据上下文,将`写着`改成了`写成`
2016-07-29 15:09:35 +08:00