Resize a container
POST /containers/(id)/resize
Resize the TTY for container with id
. The unit is number of characters. You must restart the container for the resize to take effect.
Example request:
Example response:
Query Parameters:
h – height of
tty
sessionw – width
Status Codes:
200 – no error
404 – No such container
500 – Cannot resize container
Last updated