From 6b86f98e4c3556b135329cc673ee705bb10615f7 Mon Sep 17 00:00:00 2001 From: Maxime Cottret Date: Sat, 6 Feb 2016 20:45:22 +0100 Subject: [PATCH] Update README.md translation --- README.md | 41 +++++++++++++++++++++++++---------------- 1 file changed, 25 insertions(+), 16 deletions(-) diff --git a/README.md b/README.md index 59ac941..c050dec 100644 --- a/README.md +++ b/README.md @@ -1,37 +1,46 @@ # docker-offline -Docker 离线化安装包,可以离线安装Docker +Docker offline installation package -支持操作系统 +Supported operating systems: * Ubuntu 14.04 (Working) * Centos 7 (Working) -## 发布方法 +## Build package -编辑`version`文件。控制docker版本 +An installed Docker engine is needed to build packages - make +Edit `version` file to specify docker version, then run: -可以得到 +``` +make +``` + +to generates the following archives: * docker-offline-all-.tar.gz * docker-offline-ubuntu-14.04-.tar.gz * docker-offline-centos-7-.tar.gz - -可以发布到 github +## Publish to Github + +Use the following command to publish to github: + +``` +make github-tag (create tag) +make github-release +``` - make github-tag (试图创建tag) - make github-release +In order to use this functionality, github-release should be availble on the system. -需要安装github-release -需要环境变量 GITHUB_TOKEN +Be sur to set the GITHUB_TOKEN environment variable -## 使用方法 +## Install a package - tar -zxvf docker-offline-all-.tar.gz - ./docker-offline/install.sh - +``` +tar -zxvf docker-offline-all-.tar.gz +./docker-offline/install.sh +```