code: func verifyContainerMetadata(containerMetadataRawMsg json.RawMessage) error {
  	containerMetadataMap := make(map[string]json.RawMessage)
  	json.Unmarshal(containerMetadataRawMsg, &containerMetadataMap)
  
  	if containerMetadataMap["Name"] == nil {
  		return notEmptyErrMsg("Name")
  	}
  
  	var actualContainerName string
  	json.Unmarshal(containerMetadataMap["Name"], &actualContainerName)
  
  	if actualContainerName != containerName {
  		return fmt.Errorf("incorrect container name, expected %s, received %s",
  			containerName, actualContainerName)
  	}
  
  	if containerMetadataMap["DockerId"] == nil {
  		return notEmptyErrMsg("DockerId")
  	}
  
  	if containerMetadataMap["DockerName"] == nil {
  		return notEmptyErrMsg("DockerName")
  	}
  
  	if containerMetadataMap["Volumes"] == nil {
  		return notEmptyErrMsg("Volumes")
  	}
  
  	return nil
  }
docs: // verifyContainerMetadata verifies the container name of the container metadata,
  // and each necessary field is not empty.