prune

suspend fun prune(filters: Map<String, List<String>>? = null): Result<VolumePruneResponse, ErrorResponse>

Deletes unused volumes selected by Docker and the supplied filters. This can destroy persistent data.

Return

Operation response on success, or the Docker error response. Transport failures and cancellation can throw.

Parameters

filters

Docker filter names mapped to accepted values; encoded as JSON by the SDK.