Search or ask Docker

ContainerWaitResponse

ContainerWaitResponse schema in Docker Engine API 1.57.

View Markdown

Schema

Type: object

OK response to ContainerWait operation
Error

Schema: ContainerWaitExitError

StatusCode · required

Type: integer

Exit code of the container
All schema constraints and annotations
{
  "description": "Exit code of the container",
  "format": "int64",
  "type": "integer",
  "x-nullable": false
}
All schema constraints and annotations
{
  "description": "OK response to ContainerWait operation",
  "properties": {
    "Error": {
      "$ref": "#/components/schemas/ContainerWaitExitError"
    },
    "StatusCode": {
      "description": "Exit code of the container",
      "format": "int64",
      "type": "integer",
      "x-nullable": false
    }
  },
  "required": [
    "StatusCode"
  ],
  "title": "ContainerWaitResponse",
  "type": "object",
  "x-go-name": "WaitResponse"
}