code: func getDockerOS(serverHeader string) string {
  	var osType string
  	matches := headerRegexp.FindStringSubmatch(serverHeader)
  	if len(matches) > 0 {
  		osType = matches[1]
  	}
  	return osType
  }
docs: // getDockerOS returns the operating system based on the server header from the daemon.