remove

suspend fun remove(name: String, force: Boolean = false, noPrune: Boolean = false): Result<List<ImageDeleteResponseItem>, ErrorResponse>

Remove an image

Remove an image, along with any untagged parent images that were referenced by that image.

Images can't be removed if they have descendant images, are being used by a container, or are being pushed or pulled.