From e6420bd011d4dbb5593981fbb9ff80dda50ff98a Mon Sep 17 00:00:00 2001 From: Joffrey F Date: Fri, 30 Mar 2018 12:41:19 -0700 Subject: [PATCH] Update 2.4 schema Signed-off-by: Joffrey F --- compose/config/config_schema_v2.4.json | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/compose/config/config_schema_v2.4.json b/compose/config/config_schema_v2.4.json index 7cf0c006e..731fa2f9b 100644 --- a/compose/config/config_schema_v2.4.json +++ b/compose/config/config_schema_v2.4.json @@ -93,7 +93,8 @@ "network": {"type": "string"}, "target": {"type": "string"}, "shm_size": {"type": ["integer", "string"]}, - "extra_hosts": {"$ref": "#/definitions/list_or_dict"} + "extra_hosts": {"$ref": "#/definitions/list_or_dict"}, + "isolation": {"type": "string"} }, "additionalProperties": false } @@ -113,6 +114,9 @@ "cpu_percent": {"type": "integer", "minimum": 0, "maximum": 100}, "cpu_shares": {"type": ["number", "string"]}, "cpu_quota": {"type": ["number", "string"]}, + "cpu_period": {"type": ["number", "string"]}, + "cpu_rt_period": {"type": ["number", "string"]}, + "cpu_rt_runtime": {"type": ["number", "string"]}, "cpus": {"type": "number", "minimum": 0}, "cpuset": {"type": "string"}, "depends_on": { @@ -219,6 +223,7 @@ "mem_swappiness": {"type": "integer"}, "memswap_limit": {"type": ["number", "string"]}, "network_mode": {"type": "string"}, + "networks": { "oneOf": [ {"$ref": "#/definitions/list_of_strings"}, @@ -258,7 +263,6 @@ }, "uniqueItems": true }, - "privileged": {"type": "boolean"}, "read_only": {"type": "boolean"}, "restart": {"type": "string"},