Search or ask Docker

ContainerCreateResponse

ContainerCreateResponse schema in Docker Engine API 1.57.

View Markdown

Schema

Type: object

OK response to ContainerCreate operation
Id · required

Type: string

The ID of the created container
All schema constraints and annotations
{
  "description": "The ID of the created container",
  "example": "ede54ee1afda366ab42f824e8a5ffd195155d853ceaec74a927f249ea270c743",
  "type": "string",
  "x-nullable": false
}
Warnings · required

Type: array

Warnings encountered when creating the container
Array item

Type: string

All schema constraints and annotations
{
  "type": "string"
}
All schema constraints and annotations
{
  "description": "Warnings encountered when creating the container",
  "example": [],
  "items": {
    "type": "string"
  },
  "type": "array",
  "x-nullable": false
}
All schema constraints and annotations
{
  "description": "OK response to ContainerCreate operation",
  "properties": {
    "Id": {
      "description": "The ID of the created container",
      "example": "ede54ee1afda366ab42f824e8a5ffd195155d853ceaec74a927f249ea270c743",
      "type": "string",
      "x-nullable": false
    },
    "Warnings": {
      "description": "Warnings encountered when creating the container",
      "example": [],
      "items": {
        "type": "string"
      },
      "type": "array",
      "x-nullable": false
    }
  },
  "required": [
    "Id",
    "Warnings"
  ],
  "title": "ContainerCreateResponse",
  "type": "object",
  "x-go-name": "CreateResponse"
}