From 1cb8894024ec0a6d823d0a652c35bfeaf74a08b0 Mon Sep 17 00:00:00 2001 From: Colin Huang Date: Tue, 25 Aug 2015 09:40:21 +0800 Subject: [PATCH] Add resize API in doc --- docs/api.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/docs/api.md b/docs/api.md index b9b29c5a..1fdbd1e0 100644 --- a/docs/api.md +++ b/docs/api.md @@ -703,6 +703,16 @@ Rename a container. Similar to the `docker rename` command. * container (str): ID of the container to rename * name (str): New name for the container +## resize + +Resize the tty session. + +**Params**: + +* container (str or dict): The container to resize +* height (int): Height of tty session +* width (int): Width of tty session + ## restart Restart a container. Similar to the `docker restart` command.