浏览代码

Add `init` support in 3.7 schema

> Run an init inside the container that forwards signals and reaps
> processes

This is already supported in 2.4 schema

Signed-off-by: Vincent Demeester <[email protected]>
Vincent Demeester 7 年之前
父节点
当前提交
c584ad67fc
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      compose/config/config_schema_v3.7.json

+ 1 - 0
compose/config/config_schema_v3.7.json

@@ -154,6 +154,7 @@
         "healthcheck": {"$ref": "#/definitions/healthcheck"},
         "hostname": {"type": "string"},
         "image": {"type": "string"},
+	"init": {"type": "boolean"},
         "ipc": {"type": "string"},
         "isolation": {"type": "string"},
         "labels": {"$ref": "#/definitions/list_or_dict"},