Fix and improve

This commit is contained in:
Baohua Yang
2026-02-12 16:51:50 -08:00
parent bae82e993a
commit 0835f8467a
100 changed files with 280 additions and 622 deletions

View File

@@ -1,3 +1,3 @@
# 热门镜像介绍
# 热门镜像介绍
本章将介绍一些热门镜像的功能使用方法等包括 UbuntuCentOSMySQLMongoDBRedisNginxWordpressNode.js

View File

@@ -33,7 +33,7 @@ $ docker save -o minio.tar minio/minio:latest
把压缩文件复制到内网服务器上使用下面的命令导入镜像
```bash
$ docker load minio.tar
$ docker load -i minio.tar
```
#### 运行 minio
@@ -55,4 +55,4 @@ $ sudo docker run -d -p 9000:9000 -p 9090:9090 --name minio1 \
#### 访问 web 管理页面
http://x.x.x.x:9090
打开 `http://<server-ip>:9090` 访问 Web 控制台

View File

@@ -4,7 +4,7 @@
[MongoDB](https://en.wikipedia.org/wiki/MongoDB) 是开源的 NoSQL 数据库实现。
该仓库位于 `https://hub.docker.com/_/mongo/` 提供了 MongoDB 2.x ~ 4.x 各个版本的镜像
该仓库位于 `https://hub.docker.com/_/mongo/`具体可用版本以 Docker Hub 上的 tags 列表为准
### 使用方法
@@ -37,7 +37,6 @@ $ docker run -it --rm \
mongo \
sh -c 'exec mongo "some-mongo:27017/test"'
```
```
### Dockerfile

View File

@@ -4,7 +4,7 @@
[MySQL](https://en.wikipedia.org/wiki/MySQL) 是开源的关系数据库实现。
该仓库位于 `https://hub.docker.com/_/mysql/` 提供了 MySQL 5.5 ~ 8.x 各个版本的镜像
该仓库位于 `https://hub.docker.com/_/mysql/`具体可用版本以 Docker Hub 上的 tags 列表为准
### 使用方法

View File

@@ -4,7 +4,7 @@
[Nginx](https://en.wikipedia.org/wiki/Nginx) 是开源的高效的 Web 服务器实现,支持 HTTP、HTTPS、SMTP、POP3、IMAP 等协议。
该仓库位于 `https://hub.docker.com/_/nginx/` 提供了 Nginx 1.0 ~ 1.19.x 各个版本的镜像
该仓库位于 `https://hub.docker.com/_/nginx/`具体可用版本以 Docker Hub 上的 tags 列表为准
### 使用方法

View File

@@ -4,7 +4,7 @@
[Node.js](https://en.wikipedia.org/wiki/Node.js) 是基于 JavaScript 的可扩展服务端和网络软件开发平台。
该仓库位于 `https://hub.docker.com/_/node/` 提供了 Node.js 0.10 ~ 14.x 各个版本的镜像
该仓库位于 `https://hub.docker.com/_/node/`具体可用版本以 Docker Hub 上的 tags 列表为准
### 使用方法
@@ -30,7 +30,7 @@ $ docker run -it --rm --name my-running-app my-nodejs-app
$ docker run -it --rm \
--name my-running-script \
# -v "$(pwd)":/usr/src/myapp \
--mount type=bind,src=`$(pwd)`,target=/usr/src/myapp \
--mount type=bind,src="$(pwd)",target=/usr/src/myapp \
-w /usr/src/myapp \
node:12-alpine \
node your-daemon-or-script.js

View File

@@ -4,7 +4,7 @@
[PHP](https://en.wikipedia.org/wiki/Php)Hypertext Preprocessor 超文本预处理器的字母缩写)是一种被广泛应用的开放源代码的多用途脚本语言,它可嵌入到 HTML 中,尤其适合 web 开发。
该仓库位于 `https://hub.docker.com/_/php/` 提供了 PHP 5.x ~ 8.x 各个版本的镜像
该仓库位于 `https://hub.docker.com/_/php/`具体可用版本以 Docker Hub 上的 tags 列表为准
### 使用方法

View File

@@ -4,7 +4,7 @@
[Redis](https://en.wikipedia.org/wiki/Redis) 是开源的内存 Key-Value 数据库实现。
该仓库位于 `https://hub.docker.com/_/redis/` 提供了 Redis 3.x ~ 6.x 各个版本的镜像
该仓库位于 `https://hub.docker.com/_/redis/`具体可用版本以 Docker Hub 上的 tags 列表为准
### 使用方法

View File

@@ -4,7 +4,7 @@
[Ubuntu](https://en.wikipedia.org/wiki/Ubuntu) 是流行的 Linux 发行版,其自带软件版本往往较新一些。
该仓库位于 `https://hub.docker.com/_/ubuntu/` 提供了 Ubuntu 12.04 ~ 20.04 各个版本的镜像
该仓库位于 `https://hub.docker.com/_/ubuntu/`具体可用版本以 Docker Hub 上的 tags 列表为准
### 使用方法

View File

@@ -4,7 +4,7 @@
[WordPress](https://en.wikipedia.org/wiki/WordPress) 是开源的 Blog 和内容管理系统框架,它基于 PHP 和 MySQL。
该仓库位于 `https://hub.docker.com/_/wordpress/` 提供了 WordPress 4.x ~ 5.x 版本的镜像
该仓库位于 `https://hub.docker.com/_/wordpress/`具体可用版本以 Docker Hub 上的 tags 列表为准
### 使用方法