code: func (img *Image) OperatingSystem() string {
  	os := img.OS
  	if os == "" {
  		os = runtime.GOOS
  	}
  	return os
  }
docs: // OperatingSystem returns the image's operating system. If not populated, defaults to the host runtime OS.