Skip to content

Commit

Permalink
appendix/repo目录下语法格式修改
Browse files Browse the repository at this point in the history
  • Loading branch information
mzeht committed Feb 7, 2017
1 parent 5bc5219 commit 25178fd
Show file tree
Hide file tree
Showing 7 changed files with 19 additions and 9 deletions.
4 changes: 3 additions & 1 deletion appendix/repo/centos.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
### 基本信息
[CentOS](https://en.wikipedia.org/wiki/CentOS) 是流行的 Linux 发行版,其软件包大多跟 RedHat 系列保持一致。

该仓库位于 https://hub.docker.com/_/centos/,提供了 CentOS 从 5 ~ 7 各个版本的镜像。
该仓库位于 https://hub.docker.com/_/centos/ ,提供了 CentOS 从 5 ~ 7 各个版本的镜像。

### 使用方法
默认会启动一个最小化的 CentOS 环境。
Expand Down Expand Up @@ -56,3 +56,5 @@ LABEL name="CentOS Base Image" \
CMD ["/bin/bash"]
```


5 changes: 3 additions & 2 deletions appendix/repo/mongodb.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
### 基本信息
[MongoDB](https://en.wikipedia.org/wiki/MongoDB) 是开源的 NoSQL 数据库实现。

该仓库位于 https://hub.docker.com/_/mongo/,提供了 MongoDB 2.x ~ 3.x 各个版本的镜像。
该仓库位于 https://hub.docker.com/_/mongo/ ,提供了 MongoDB 2.x ~ 3.x 各个版本的镜像。

### 使用方法
默认会在 `27017` 端口启动数据库。
Expand Down Expand Up @@ -260,4 +260,5 @@ ENTRYPOINT ["/entrypoint.sh"]
EXPOSE 27017
CMD ["mongod"]
```
```

4 changes: 3 additions & 1 deletion appendix/repo/mysql.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
### 基本信息
[MySQL](https://en.wikipedia.org/wiki/MySQL) 是开源的关系数据库实现。

该仓库位于 https://hub.docker.com/_/mysql/,提供了 MySQL 各个版本的镜像,包括 5.6 系列、5.7 系列等。
该仓库位于 https://hub.docker.com/_/mysql/ ,提供了 MySQL 各个版本的镜像,包括 5.6 系列、5.7 系列等。

### 使用方法
默认会在 `3306` 端口启动数据库。
Expand Down Expand Up @@ -122,3 +122,5 @@ ENTRYPOINT ["/entrypoint.sh"]
EXPOSE 3306
CMD ["mysqld", "--datadir=/var/lib/mysql", "--user=mysql"]
```


4 changes: 3 additions & 1 deletion appendix/repo/nginx.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
### 基本信息
[Nginx](https://en.wikipedia.org/wiki/Nginx) 是开源的高效的 Web 服务器实现,支持 HTTP、HTTPS、SMTP、POP3、IMAP 等协议。

该仓库位于 https://hub.docker.com/_/nginx/,提供了 Nginx 1.0 ~ 1.11.x 各个版本的镜像。
该仓库位于 https://hub.docker.com/_/nginx/ ,提供了 Nginx 1.0 ~ 1.11.x 各个版本的镜像。

### 使用方法
下面的命令将作为一个静态页面服务器启动。
Expand Down Expand Up @@ -99,3 +99,5 @@ EXPOSE 80 443
CMD ["nginx", "-g", "daemon off;"]
```


2 changes: 1 addition & 1 deletion appendix/repo/nodejs.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
### 基本信息
[Node.js](https://en.wikipedia.org/wiki/Node.js)是基于 JavaScript 的可扩展服务端和网络软件开发平台。

该仓库位于 https://hub.docker.com/_/node/,提供了 Node.js 0.10 ~ 6.3.x 各个版本的镜像。
该仓库位于 https://hub.docker.com/_/node/ ,提供了 Node.js 0.10 ~ 6.3.x 各个版本的镜像。

### 使用方法
在项目中创建一个 Dockerfile。
Expand Down
4 changes: 3 additions & 1 deletion appendix/repo/redis.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
### 基本信息
[Redis](https://en.wikipedia.org/wiki/Redis) 是开源的内存 Key-Value 数据库实现。

该仓库位于 https://hub.docker.com/_/redis/,提供了 Redis 3.x 各个版本的镜像。
该仓库位于 https://hub.docker.com/_/redis/ ,提供了 Redis 3.x 各个版本的镜像。

### 使用方法
默认会在 `6379` 端口启动数据库。
Expand Down Expand Up @@ -139,3 +139,5 @@ ENTRYPOINT ["docker-entrypoint.sh"]
EXPOSE 6379
CMD [ "redis-server" ]
```


5 changes: 3 additions & 2 deletions appendix/repo/wordpress.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
### 基本信息
[WordPress](https://en.wikipedia.org/wiki/WordPress) 是开源的 Blog 和内容管理系统框架,它基于 PhP 和 MySQL。

该仓库位于 https://hub.docker.com/_/wordpress/,提供了 WordPress 4.x 版本的镜像。
该仓库位于 https://hub.docker.com/_/wordpress/ ,提供了 WordPress 4.x 版本的镜像。

### 使用方法
启动容器需要 MySQL 的支持,默认端口为 `80`
Expand Down Expand Up @@ -114,4 +114,5 @@ COPY docker-entrypoint.sh /entrypoint.sh
# grr, ENTRYPOINT resets CMD now
ENTRYPOINT ["/entrypoint.sh"]
CMD ["apache2-foreground"]
```
```

0 comments on commit 25178fd

Please sign in to comment.