code: func (task *Task) initializeContainersV3MetadataEndpoint(uuidProvider utils.UUIDProvider) {
  	for _, container := range task.Containers {
  		v3EndpointID := container.GetV3EndpointID()
  		if v3EndpointID == "" { // if container's v3 endpoint has not been set
  			container.SetV3EndpointID(uuidProvider.New())
  		}
  
  		container.InjectV3MetadataEndpoint()
  	}
  }
docs: // initializeContainersV3MetadataEndpoint generates an v3 endpoint id for each container, constructs the
  // v3 metadata endpoint, and injects it as an environment variable