docker/runconfig.go
func (s *RunConfig) PublishPort(hostPort, containerPort uint16) {
	s.Options = append(s.Options, "-p",
		fmt.Sprintf("%d:%d", hostPort, containerPort))
}
func (s *RunConfig) PublishPort(hostPort, containerPort uint16) {
	s.Options = append(s.Options, "-p",
		fmt.Sprintf("%d:%d", hostPort, containerPort))
}
func ( s * RunConfig ) PublishPort ( hostPort , containerPort uint16 ) { s . Options = append ( s . Options , " " , fmt . Sprintf ( " " , hostPort , containerPort ) ) }
// PublishPort publish a container's port to the host.
PublishPort publish a container s port to the host .