Skip to content

Commit 2c9acf1

Browse files
authored
Update Contents
* Fix offlineread docker image * Add warning on install * Update install follow official
1 parent 4abfa10 commit 2c9acf1

File tree

5 files changed

+13
-6
lines changed

5 files changed

+13
-6
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ script:
1414
- docker run -it --rm -v $PWD:/srv/gitbook-src yeasy/docker_practice build
1515
after_success:
1616
- sudo chmod -R 777 _book
17-
- echo "FROM nginx:alpine" >> Dockerfile
17+
- echo "FROM nginx:1.13.8-alpine" >> Dockerfile
1818
- echo "COPY _book /usr/share/nginx/html" >> Dockerfile
1919
- docker login -u "$DOCKER_USERNAME" -p "$DOCKER_PASSWORD"
2020
- docker build -t dockerpracticecn/docker_practice .

install/centos.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
## CentOS 安装 Docker CE
22

3+
>警告:切勿在没有配置 Docker YUM 源的情况下直接使用 yum 命令安装 Docker.
4+
35
### 准备工作
46

57
#### 系统要求

install/debian.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
## Debian 安装 Docker CE
22

3+
>警告:切勿在没有配置 Docker APT 源的情况下直接使用 apt 命令安装 Docker.
4+
35
### 准备工作
46

57
#### 系统要求
@@ -73,19 +75,18 @@ $ curl -fsSL https://mirrors.ustc.edu.cn/docker-ce/linux/debian/gpg | sudo apt-k
7375

7476
```bash
7577
$ sudo add-apt-repository \
76-
"deb [arch=amd64] https://mirrors.ustc.edu.cn/docker-ce/linux/$(. /etc/os-release; echo "$ID") \
78+
"deb [arch=amd64] https://mirrors.ustc.edu.cn/docker-ce/linux/debian \
7779
$(lsb_release -cs) \
7880
stable"
7981

80-
8182
# 官方源
8283
# $ sudo add-apt-repository \
8384
# "deb [arch=amd64] https://download.docker.com/linux/debian \
8485
# $(lsb_release -cs) \
85-
# stable"
86+
# stable"
8687
```
8788

88-
>以上命令会添加稳定版本的 Docker CE APT 镜像源,如果需要最新或者测试版本的 Docker CE 请将 stable 改为 edge 或者 test。从 Docker 17.06 开始,edge test 版本的 APT 镜像源也会包含稳定版本的 Docker CE。
89+
>以上命令会添加稳定版本的 Docker CE APT ,如果需要最新或者测试版本的 Docker CE 请将 stable 改为 edge 或者 test。从 Docker 17.06 开始,edge test 版本的 APT 源也会包含稳定版本的 Docker CE。
8990
9091
Debian 7 需要进行额外的操作:
9192

install/raspberry-pi.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
## 树莓派卡片电脑安装 Docker CE
22

3+
>警告:切勿在没有配置 Docker APT 源的情况下直接使用 apt 命令安装 Docker.
4+
35
### 系统要求
46

57
Docker CE 不仅支持 `x86_64` 架构的计算机,同时也支持 `ARM` 架构的计算机,本小节内容以树莓派单片电脑为例讲解 `ARM` 架构安装 Docker CE。
@@ -56,7 +58,7 @@ $ sudo add-apt-repository \
5658
# stable"
5759
```
5860

59-
>以上命令会添加稳定版本的 Docker CE APT 镜像源,如果需要最新版本的 Docker CE 请将 stable 改为 edge 或者 test。从 Docker 17.06 开始,edge test 版本的 APT 镜像源也会包含稳定版本的 Docker CE。
61+
>以上命令会添加稳定版本的 Docker CE APT ,如果需要最新版本的 Docker CE 请将 stable 改为 edge 或者 test。从 Docker 17.06 开始,edge test 版本的 APT 源也会包含稳定版本的 Docker CE。
6062
6163
#### 安装 Docker CE
6264

install/ubuntu.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
## Ubuntu 安装 Docker CE
22

3+
>警告:切勿在没有配置 Docker APT 源的情况下直接使用 apt 命令安装 Docker.
4+
35
### 准备工作
46

57
#### 系统要求

0 commit comments

Comments
 (0)