mirror of
https://github.com/yeasy/docker_practice.git
synced 2026-03-11 04:14:38 +00:00
Fix space with bold markdown
This commit is contained in:
@@ -135,7 +135,7 @@ $ docker attach 容器名
|
||||
|
||||
#### 工作原理
|
||||
|
||||
`attach` 会附加到容器的**主进程** (PID 1) 的标准输入输出:
|
||||
`attach` 会附加到容器的 **主进程** (PID 1) 的标准输入输出:
|
||||
|
||||
```mermaid
|
||||
flowchart LR
|
||||
@@ -181,7 +181,7 @@ CONTAINER ID IMAGE STATUS NAMES
|
||||
|
||||
#### 安全退出 attach
|
||||
|
||||
使用 `Ctrl+P` 然后 `Ctrl+Q` 可以从 attach 会话中**分离**,而不停止容器:
|
||||
使用 `Ctrl+P` 然后 `Ctrl+Q` 可以从 attach 会话中 **分离**,而不停止容器:
|
||||
|
||||
```bash
|
||||
$ docker attach myubuntu
|
||||
|
||||
Reference in New Issue
Block a user