ports

Set host port mapping for a container port

Records a mapping from container port to host port and broadcasts an SSE event

post/v1/ports/mappings

Request body

object required

Response

Mapping set

object required

Changes

Changed in 2 of the 50 revisions of this API.11