code: func parseSandboxName(name string) (*runtimeapi.PodSandboxMetadata, error) {
  	// Docker adds a "/" prefix to names. so trim it.
  	name = strings.TrimPrefix(name, "/")
  
  	parts := strings.Split(name, nameDelimiter)
  	// Tolerate the random suffix.
  	// TODO(random-liu): Remove 7 field case when docker 1.11 is deprecated.
  	if len(parts) != 6 && len(parts) != 7 {
  		return nil, fmt.Errorf("failed to parse the sandbox name: %q", name)
  	}
  	if parts[0] != kubePrefix {
  		return nil, fmt.Errorf("container is not managed by kubernetes: %q", name)
  	}
  
  	attempt, err := parseUint32(parts[5])
  	if err != nil {
  		return nil, fmt.Errorf("failed to parse the sandbox name %q: %v", name, err)
  	}
  
  	return &runtimeapi.PodSandboxMetadata{
  		Name:      parts[2],
  		Namespace: parts[3],
  		Uid:       parts[4],
  		Attempt:   attempt,
  	}, nil
  }
docs: // TODO: Evaluate whether we should rely on labels completely.