package
1.5.0
Repository: https://github.com/hashicorp/vic.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
No description provided by the author
No description provided by the author
MapPorts maps ports defined in bridge endpoint for containerID.
returns port bindings as a slice of Docker Ports for return to the client returns empty slice on errorfunc PortForwardingInformation(t *models.ContainerInfo, ips []string) []types.Port {.
portMapFromContainer constructs a docker portmap from the container's info as returned by the portlayer and adds nil entries for any exposed ports that are unmapped.
No description provided by the author
UnmapPorts unmaps ports defined in hostconfig if it's mapped for this container.

# Variables

port:containerID.