From f2183a90c371e30e2f079996f2c8374f9b1e7f29 Mon Sep 17 00:00:00 2001 From: jaywcjlove <398188662@qq.com> Date: Sun, 12 May 2024 14:35:56 +0800 Subject: [PATCH] doc: update docs/docker-compose.md --- docs/docker-compose.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/docs/docker-compose.md b/docs/docker-compose.md index 675b9559f2b..334aaea2a0e 100644 --- a/docs/docker-compose.md +++ b/docs/docker-compose.md @@ -621,7 +621,11 @@ devices: - "/dev/sda:/dev/xvda:rwm" ``` -以 `HOST_PATH:CONTAINER_PATH[:CGROUP_PERMISSIONS]` 的形式定义已创建容器的设备映射列表。 +定义已创建容器的设备映射列表 + +```sh +HOST_PATH:CONTAINER_PATH[:CGROUP_PERMISSIONS] +``` ### dns