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

@@ -117,6 +117,7 @@ $ docker run --device-read-bps /dev/sda:10mb myapp
$ docker run --device-write-iops /dev/sda:100 myapp
```
#### 进程数限制
```bash
@@ -165,6 +166,7 @@ abc123 Exited (137) 5 seconds ago hopeful_darwin
...
```
#### CPU 限制验证
```bash
@@ -253,11 +255,13 @@ services:
$ docker run -m 1g myapp
```
#### 2. 为关键应用设置 CPU 保证
```bash
$ docker run --cpus=2 --cpu-shares=2048 critical-app
```
#### 3. 监控资源使用
```bash