From c0f0afb1458aedbb5d1278d47c54df55fde8e797 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=9A=AE=E8=B1=AA?= Date: Tue, 7 Jan 2025 08:21:31 +0000 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0manifest.yml:services.init?= =?UTF-8?q?=E6=96=87=E6=A1=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 皮豪 --- docs/spec/manifest.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/spec/manifest.md b/docs/spec/manifest.md index de4b5d5..5db19ee 100644 --- a/docs/spec/manifest.md +++ b/docs/spec/manifest.md @@ -84,6 +84,7 @@ | 字段名 | 类型 | 描述 | | ---- | ---- | ---- | | `image` | `string` | 对应容器的docker镜像 | +| `init` | `bool` | 对应容器内部运行一个初始化进程(进程 ID 为 1),该进程转发信号并回收进程。将此选项设置为true以启用服务的此功能。 | | `environment` | `[]string` | 对应容器的环境变量 | | `entrypoint` | `*string` | 对应容器的entrypoint,可选 | | `command` | `*string` | 对应容器的command,可选 | -- Gitee