mirror of
https://github.com/moby/moby.git
synced 2026-08-03 22:51:03 +00:00
Fix Volumes property definition in ContainerConfig
Actually the specification was expecting a 'additionalProperties' for the Volumes data, where in fact it's expecting a map of string pointing to empty object. Signed-off-by: Joel Wurtz <joel.wurtz@gmail.com>
This commit is contained in:
@@ -838,12 +838,11 @@ definitions:
|
||||
Volumes:
|
||||
description: "An object mapping mount point paths inside the container to empty objects."
|
||||
type: "object"
|
||||
properties:
|
||||
additionalProperties:
|
||||
type: "object"
|
||||
enum:
|
||||
- {}
|
||||
default: {}
|
||||
additionalProperties:
|
||||
type: "object"
|
||||
enum:
|
||||
- {}
|
||||
default: {}
|
||||
WorkingDir:
|
||||
description: "The working directory for commands to run in."
|
||||
type: "string"
|
||||
|
||||
Reference in New Issue
Block a user