DeleteImageContainers
This method stops and then deletes the containers which were instantiated from the
given image. It returns True if the image's containers are deleted, and False if the image
does not exist or if the image does not have containers.
Synopsis
boolean deleteImageContainers(String imageId)
imageId
is the id of
the image whose containers must be stopped. 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.