code: func parseDevice(device, serverOS string) (container.DeviceMapping, error) {
  	switch serverOS {
  	case "linux":
  		return parseLinuxDevice(device)
  	case "windows":
  		return parseWindowsDevice(device)
  	}
  	return container.DeviceMapping{}, errors.Errorf("unknown server OS: %s", serverOS)
  }
docs: // parseDevice parses a device mapping string to a container.DeviceMapping struct