code: func ParsePortBindingPolicies(policies []json.RawMessage) ([]types.PortBinding, error) {
  	var bindings []types.PortBinding
  	hcsPolicy := &hcsshim.NatPolicy{}
  
  	for _, elem := range policies {
  
  		if err := json.Unmarshal([]byte(elem), &hcsPolicy); err != nil || hcsPolicy.Type != "NAT" {
  			continue
  		}
  
  		binding := types.PortBinding{
  			HostPort:    hcsPolicy.ExternalPort,
  			HostPortEnd: hcsPolicy.ExternalPort,
  			Port:        hcsPolicy.InternalPort,
  			Proto:       types.ParseProtocol(hcsPolicy.Protocol),
  			HostIP:      net.IPv4(0, 0, 0, 0),
  		}
  
  		bindings = append(bindings, binding)
  	}
  
  	return bindings, nil
  }
docs: // ParsePortBindingPolicies parses HNS endpoint response message to PortBindings