|
102 | 102 | "shm_size": {"type": ["integer", "string"]}, |
103 | 103 | "extra_hosts": {"$ref": "#/definitions/list_or_dict"}, |
104 | 104 | "isolation": {"type": "string"}, |
| 105 | + "privileged": {"type": "boolean"}, |
105 | 106 | "secrets": {"$ref": "#/definitions/service_config_or_secret"}, |
106 | 107 | "tags": {"type": "array", "items": {"type": "string"}}, |
107 | 108 | "platforms": {"type": "array", "items": {"type": "string"}} |
|
407 | 408 | {"type": "string"} |
408 | 409 | ] |
409 | 410 | }, |
410 | | - "mode": { |
411 | | - "type": "number" |
412 | | - } |
| 411 | + "mode": {"type": "number"} |
413 | 412 | }, |
414 | 413 | "additionalProperties": false, |
415 | 414 | "patternProperties": {"^x-": {}} |
|
581 | 580 | "items": { |
582 | 581 | "type": "object", |
583 | 582 | "properties": { |
584 | | - "capabilities": {"$ref": "#/definitions/list_of_strings"}, |
585 | | - "count": {"type": ["string", "integer"]}, |
586 | | - "device_ids": {"$ref": "#/definitions/list_of_strings"}, |
587 | | - "driver":{"type": "string"}, |
588 | | - "options":{"$ref": "#/definitions/list_or_dict"} |
589 | | - }, |
| 583 | + "capabilities": {"$ref": "#/definitions/list_of_strings"}, |
| 584 | + "count": {"type": ["string", "integer"]}, |
| 585 | + "device_ids": {"$ref": "#/definitions/list_of_strings"}, |
| 586 | + "driver":{"type": "string"}, |
| 587 | + "options":{"$ref": "#/definitions/list_or_dict"} |
| 588 | + }, |
590 | 589 | "additionalProperties": false, |
591 | 590 | "patternProperties": {"^x-": {}} |
592 | 591 | } |
|
0 commit comments