resize

suspend fun resize(id: String, h: Int, w: Int): Result<Unit, ErrorResponse>

Resize an exec instance

Resize the TTY session used by an exec instance. This endpoint only works if tty was specified as true when creating the exec instance.

Return

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

Parameters

id

Exec instance ID returned by Containers.execCreate.

h

Terminal height in rows.

w

Terminal width in columns.