Skip to content

Commit

Permalink
doc: update docs/docker-compose.md
Browse files Browse the repository at this point in the history
  • Loading branch information
jaywcjlove committed May 12, 2024
1 parent a10d0f8 commit f2183a9
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion docs/docker-compose.md
Original file line number Diff line number Diff line change
Expand Up @@ -621,7 +621,11 @@ devices:
- "/dev/sda:/dev/xvda:rwm"
```

以 `HOST_PATH:CONTAINER_PATH[:CGROUP_PERMISSIONS]` 的形式定义已创建容器的设备映射列表。
定义已创建容器的设备映射列表

```sh
HOST_PATH:CONTAINER_PATH[:CGROUP_PERMISSIONS]
```

### dns

Expand Down

0 comments on commit f2183a9

Please sign in to comment.