DeleteImage

This method stops and then deletes the containers instantiated from the given image, and deletes the image itself. It returns True if the image is deleted, and False if the image does not exist.

Synopsis

boolean deleteImage(String imageId)
The
imageId
of the image that should be deleted. This can be either the sha256 id of the image, or the image repository tag in the [REPOSITORY[:TAG]] format.

Faults

  • CannotExecuteDockerCommand
  • DockerCommandFailed
  • RuntimeFault
  • SraOperationsDisabled
For more information about the faults, see Faults in Site Recovery Manager Appliance Management API.