mirror of
https://github.com/yeasy/docker_practice.git
synced 2026-03-25 19:25:27 +00:00
Add blank lines before headers
This commit is contained in:
@@ -112,6 +112,7 @@ Docker 的存储驱动经历了从早期各式各样的机制(如 aufs, device
|
||||
#### 查看当前存储驱动与后端
|
||||
|
||||
```bash
|
||||
|
||||
## 查看默认存储驱动 (Storage Driver)
|
||||
$ docker info | grep "Storage Driver"
|
||||
Storage Driver: overlay2
|
||||
@@ -161,6 +162,7 @@ flowchart TD
|
||||
### 12.4.6 查看镜像层
|
||||
|
||||
```bash
|
||||
|
||||
## 查看镜像的层信息
|
||||
|
||||
$ docker history nginx:alpine
|
||||
@@ -192,6 +194,7 @@ $ docker inspect nginx:alpine --format '{{json .GraphDriver.Data}}' | jq
|
||||
#### 1. 减少镜像层数
|
||||
|
||||
```docker
|
||||
|
||||
## ❌ 每条命令创建一层
|
||||
|
||||
RUN apt-get update
|
||||
|
||||
Reference in New Issue
Block a user