forked from docker/docs
-
Notifications
You must be signed in to change notification settings - Fork 10
Home
Li Yi edited this page Dec 11, 2016
·
5 revisions
- Docker for Mac / Docker Toolbox for Mac 安装
- Docker on Linux 和 Docker Compose 安装
- 执行如下命令
# Download the Git repo snapshot
wget http://acs-upload.oss-cn-qingdao.aliyuncs.com/docker.github.io.tar.gz
tar xzvf docker.github.io.tar.gz
# Set the proper branch
cd docker.github.io
git remote set-url origin https://github.com/denverdino/denverdino.github.io.git
git fetch
git checkout vnext-engine-zh
# Pull docker image for testing
docker-compose pull
- 测试翻译内容
docker-compose up
在浏览器中打开 "http://localhost:4000"
- Docker for Windows 安装 (切换到Linux容器模式)
- 下载并解压
http://acs-upload.oss-cn-qingdao.aliyuncs.com/docker.github.io.tar.gz
到指定目录 - 共享指定目录所在驱动器给 Docker for Windows
- 执行如下命令
# Set the proper branch
cd docker.github.io
git remote set-url origin https://github.com/denverdino/denverdino.github.io.git
git fetch
git checkout vnext-engine-zh
# Pull docker image for testing
docker-compose pull
测试翻译内容
docker-compose up
在浏览器中打开 "http://localhost:4000"