From c5cb0e6619466e8bf50f9560dbd5ee2f226bc438 Mon Sep 17 00:00:00 2001 From: YuCheng Hu Date: Wed, 18 Nov 2020 15:33:22 -0500 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E6=9E=84=E5=BB=BA=E5=B8=AE?= =?UTF-8?q?=E5=8A=A9=E6=96=87=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 23 ++++++++++------------- 1 file changed, 10 insertions(+), 13 deletions(-) diff --git a/README.md b/README.md index e34d30f..008c5fc 100644 --- a/README.md +++ b/README.md @@ -91,37 +91,34 @@ Docker 的官方和 CWIKIUS 都非常欢迎您对我们的内容进行反馈, ## 在本地构建和查看文档 -On your local machine, clone this repo: +在你的本地计算机上,克隆这个仓库: ```bash -git clone --recursive https://github.com/docker/docker.github.io.git -cd docker.github.io +git clone --recursive https://github.com/cwiki-us-docs/docker-docs.git +cd docker-docs ``` -Then build and run the documentation with [Docker Compose](https://docs.docker.com/compose/) +然后使用 Docker Compose 来运行和构建这个文档,Docker Compose 的访问链接为:https://docs.docker.com/compose ```bash docker-compose up -d --build ``` -> Docker Compose is included with [Docker Desktop](https://docs.docker.com/desktop/). -> If you don't have Docker Compose installed, [follow these installation instructions](https://docs.docker.com/compose/install/). +> Docker Compose 包含有 [Docker Desktop](https://docs.docker.com/desktop)。 +> 如果你的计算机上没有安装 Docker Compose,请访问下面的链接上的参考来进行安装:https://docs.docker.com/compose/install/。 -Once the container is built and running, visit [http://localhost:4000](http://localhost:4000) -in your web browser to view the docs. +一旦容器被构建和运行了,请通过浏览器来访问 [http://localhost:4000](http://localhost:4000]地址来查看构建成功的文档页面。 -To rebuild the docs after you made changes, run the `docker-compose up` command -again. This rebuilds the documentation, and updates the container with your changes: +当你对文档进行了新的修改后,你可以再次运行 *docker-compose up* 命令。这个命令将会重新构建文档,并且将你的容器进行更新。 ```bash docker-compose up -d --build ``` -Once the container is built and running, visit [http://localhost:4000](http://localhost:4000) -in your web browser to view the docs. +一旦容器被构建和运行了,请通过浏览器来访问 [http://localhost:4000](http://localhost:4000]地址来查看构建成功的文档页面。 -To stop the staging container, use the `docker-compose down` command: +如果你想停止预存(staging)的容器,请使用 *docker-compose down* 命令 ```bash docker-compose down