code: func parseRuncVersion(v string) (version string, commit string, err error) {
  	lines := strings.Split(strings.TrimSpace(v), "\n")
  	for _, line := range lines {
  		if strings.HasPrefix(line, "runc version") {
  			version = strings.TrimSpace(strings.TrimPrefix(line, "runc version"))
  			continue
  		}
  		if strings.HasPrefix(line, "commit:") {
  			commit = strings.TrimSpace(strings.TrimPrefix(line, "commit:"))
  			continue
  		}
  	}
  	if version == "" && commit == "" {
  		err = errors.Errorf("unknown output format: %s", v)
  	}
  	return version, commit, err
  }
docs: // parseRuncVersion parses the output of `runc --version` and extracts the
  // "version" and "git commit" from the output.
  //
  // Output example from `runc --version`:
  //
  //   runc version 1.0.0-rc5+dev
  //   commit: 69663f0bd4b60df09991c08812a60108003fa340
  //   spec: 1.0.0