Type Definition docker_api::models::PortMap

source · []
pub type PortMap = HashMap<String, Vec<PortBinding, Global>, RandomState>;
Expand description

PortMap describes the mapping of container ports to host ports, using the container’s port-number and protocol as key in the format <port>/<protocol>, for example, 80/udp.

If a container’s port is mapped for multiple protocols, separate entries are added to the mapping table.