Add blank lines around headers

This commit is contained in:
yeasy
2026-03-24 09:27:04 -07:00
parent 857e3b73f6
commit ae8636e96f
112 changed files with 468 additions and 0 deletions

View File

@@ -25,6 +25,7 @@ $ docker run --name rocky -it rockylinux:9 bash
```bash
$ docker run --name centos -it centos:7 bash
```
### Dockerfile
请到 [CentOS 官方镜像文档目录](https://github.com/docker-library/docs/tree/master/centos) 查看。

View File

@@ -13,6 +13,7 @@ MinIO 是一个非常轻量的服务,可以很简单的和其他应用的结
```bash
$ docker run -d -p 9000:9000 -p 9090:9090 minio/minio server /data --console-address ':9090'
```
### 离线部署
许多生产环境是一般是没有公网资源的这就需要从有公网资源的服务器上把镜像导出然后导入到需要运行镜像的内网服务器
@@ -33,6 +34,7 @@ $ docker save -o minio.tar minio/minio:latest
```bash
$ docker load -i minio.tar
```
#### 运行 minio
- `/mnt/data` 改成要替换的数据目录
@@ -49,6 +51,7 @@ $ sudo docker run -d -p 9000:9000 -p 9090:9090 --name minio1 \
--restart=always \
minio/minio server /data --console-address ':9090'
```
#### 访问 web 管理页面
打开 `http://<server-ip>:9090` 访问 Web 控制台

View File

@@ -33,6 +33,7 @@ $ docker run -it --rm \
mongo \
sh -c 'exec mongo "some-mongo:27017/test"'
```
### Dockerfile
请到 [Mongo 官方镜像文档目录](https://github.com/docker-library/docs/tree/master/mongo) 查看。

View File

@@ -39,6 +39,7 @@ $ docker run -d \
-v /path/nginx.conf:/etc/nginx/nginx.conf:ro \
nginx
```
### Dockerfile
请到 [Nginx 官方镜像文档目录](https://github.com/docker-library/docs/tree/master/nginx) 查看。

View File

@@ -35,6 +35,7 @@ $ docker run -it --rm \
node:20-alpine \
node your-daemon-or-script.js
```
### Dockerfile
请到 [Node 官方镜像文档目录](https://github.com/docker-library/docs/tree/master/node) 查看。

View File

@@ -13,6 +13,7 @@
```bash
$ docker run -it --rm -v "$PWD":/app -w /app php:alpine php your-script.php
```
### Dockerfile
请到 [PHP 官方镜像文档目录](https://github.com/docker-library/docs/tree/master/php) 查看。

View File

@@ -40,6 +40,7 @@ $ docker run -it --rm \
redis \
sh -c 'exec redis-cli -h some-redis'
```
### Dockerfile
请到 [Redis 官方镜像文档目录](https://github.com/docker-library/docs/tree/master/redis) 查看。

View File

@@ -14,6 +14,7 @@
$ docker run --name some-ubuntu -it ubuntu:20.04
root@523c70904d54:/#
```
### Dockerfile
请到 [Ubuntu 官方镜像文档目录](https://github.com/docker-library/docs/tree/master/ubuntu) 查看。