# PortBinding


[API catalog](/reference/api/) · [Docker Engine overview](/reference/api/engine/version/v1.57/) · [Product manual](https://docs.docker.com/engine/) · [OpenAPI specification](/reference/api/engine/version/v1.57.yaml)

API version: 1.57





Schema constraints and annotations:

```json
{
  "description": "PortBinding represents a binding between a host IP address and a host\nport.\n",
  "properties": {
    "HostIp": {
      "description": "Host IP address that the container's port is mapped to.",
      "example": "127.0.0.1",
      "type": "string",
      "x-go-type": {
        "import": {
          "package": "net/netip"
        },
        "type": "Addr"
      }
    },
    "HostPort": {
      "description": "Host port number that the container's port is mapped to.",
      "example": "4443",
      "type": "string"
    }
  },
  "type": "object"
}
```



