code: func (c *Container) SetRegistryAuthCredentials(credential credentials.IAMRoleCredentials) {
  	c.lock.Lock()
  	defer c.lock.Unlock()
  
  	c.RegistryAuthentication.ECRAuthData.SetPullCredentials(credential)
  }
docs: // SetRegistryAuthCredentials sets the credentials for pulling image from ECR