Search or ask Docker

PeerInfo

PeerInfo schema in Docker Engine API 1.57.

View Markdown

Schema

Type: object

represents one peer of an overlay network.
IP

Type: string

IP-address of the peer-node in the Swarm cluster.
All schema constraints and annotations
{
  "description": "IP-address of the peer-node in the Swarm cluster.",
  "example": "10.133.77.91",
  "type": "string",
  "x-go-type": {
    "import": {
      "package": "net/netip"
    },
    "type": "Addr"
  },
  "x-omitempty": false
}
Name

Type: string

ID of the peer-node in the Swarm cluster.
All schema constraints and annotations
{
  "description": "ID of the peer-node in the Swarm cluster.",
  "example": "6869d7c1732b",
  "type": "string",
  "x-omitempty": false
}
All schema constraints and annotations
{
  "description": "represents one peer of an overlay network.\n",
  "properties": {
    "IP": {
      "description": "IP-address of the peer-node in the Swarm cluster.",
      "example": "10.133.77.91",
      "type": "string",
      "x-go-type": {
        "import": {
          "package": "net/netip"
        },
        "type": "Addr"
      },
      "x-omitempty": false
    },
    "Name": {
      "description": "ID of the peer-node in the Swarm cluster.",
      "example": "6869d7c1732b",
      "type": "string",
      "x-omitempty": false
    }
  },
  "type": "object",
  "x-nullable": false
}