Search or ask Docker

Platform

Platform schema in Docker Engine API 1.57.

View Markdown

Schema

Type: object

Platform represents the platform (Arch/OS).
Architecture

Type: string

Architecture represents the hardware architecture (for example, x86_64).
All schema constraints and annotations
{
  "description": "Architecture represents the hardware architecture (for example,\n`x86_64`).\n",
  "example": "x86_64",
  "type": "string"
}
OS

Type: string

OS represents the Operating System (for example, linux or windows).
All schema constraints and annotations
{
  "description": "OS represents the Operating System (for example, `linux` or `windows`).\n",
  "example": "linux",
  "type": "string"
}
All schema constraints and annotations
{
  "description": "Platform represents the platform (Arch/OS).\n",
  "properties": {
    "Architecture": {
      "description": "Architecture represents the hardware architecture (for example,\n`x86_64`).\n",
      "example": "x86_64",
      "type": "string"
    },
    "OS": {
      "description": "OS represents the Operating System (for example, `linux` or `windows`).\n",
      "example": "linux",
      "type": "string"
    }
  },
  "type": "object"
}