Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
translation
  • Loading branch information
aolwas committed Feb 6, 2016
1 parent 3076ced commit 6b86f98
Showing 1 changed file with 25 additions and 16 deletions.
41 changes: 25 additions & 16 deletions README.md
Original file line number Diff line number Diff line change
@@ -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-<docker-version>.tar.gz
* docker-offline-ubuntu-14.04-<docker-version>.tar.gz
* docker-offline-centos-7-<docker-version>.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-<docker-version>.tar.gz
./docker-offline/install.sh

```
tar -zxvf docker-offline-all-<docker-version>.tar.gz
./docker-offline/install.sh
```

0 comments on commit 6b86f98

Please sign in to comment.