code: func OptionPortMapping(portBindings []types.PortBinding) SandboxOption {
  	return func(sb *sandbox) {
  		if sb.config.generic == nil {
  			sb.config.generic = make(map[string]interface{})
  		}
  		// Store a copy of the bindings as generic data to pass to the driver
  		pbs := make([]types.PortBinding, len(portBindings))
  		copy(pbs, portBindings)
  		sb.config.generic[netlabel.PortMap] = pbs
  	}
  }
docs: // OptionPortMapping function returns an option setter for the mapping
  // ports option to be passed to container Create method.