Skip to main content

has_previous_image

Function has_previous_image 

Source
pub async fn has_previous_image(
    client: &DockerClient,
) -> Result<bool, DockerError>
Expand description

Check if a previous image exists for rollback

Returns true if a rollback is possible, false otherwise.

ยงArguments

  • client - Docker client