func BuildContainerName(metadata *runtimeApi.ContainerMetadata) string { return fmt.Sprintf("%s_%d", metadata.GetName(), metadata.GetAttempt()) }
func BuildContainerName(metadata *runtimeapi.ContainerMetadata, sandboxID string) string { // include the sandbox ID to make the container ID unique. return fmt.Sprintf("%s_%s_%d", sandboxID, metadata.GetName(), metadata.GetAttempt()) }