export

suspend fun export(id: String): Result<ByteReadChannel, ErrorResponse>

Returns a tar archive of the container filesystem. Read the channel to completion or cancel it. This is not a backup of data held in mounted volumes.

Return

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

Parameters

id

Container ID or name.