Add blank lines before lists per CommonMark

This commit is contained in:
yeasy
2026-04-25 15:13:27 +00:00
parent f4fa272dc5
commit e3861040ec
27 changed files with 62 additions and 0 deletions
+2
View File
@@ -36,6 +36,7 @@ COPY index.html /usr/share/nginx/html/index.html
```bash
$ docker build -t my-hello-world .
```
* `docker build`构建命令
* `-t my-hello-world`给镜像起个名字 (标签)
* `.`指定上下文路径为当前目录
@@ -47,6 +48,7 @@ $ docker build -t my-hello-world .
```bash
$ docker run -d -p 8080:80 my-hello-world
```
* `docker run`运行命令
* `-d`后台运行
* `-p 8080:80`将宿主机的 8080 端口映射到容器的 80 端口
+1
View File
@@ -93,6 +93,7 @@ flowchart LR
runC --> OCI["OCI<br/>标准化"]
end
```
- **LXC** (2013)Docker 最初基于 Linux Containers
- **libcontainer** (2014Docker 0.9)Docker 自研的容器运行时
- **runC** (2015Docker 1.11 整合)捐献给 OCI 的标准容器运行时