Add resize API in doc

This commit is contained in:
Colin Huang 2015-08-25 09:40:21 +08:00
parent 9bb6a6fd56
commit 1cb8894024
1 changed files with 10 additions and 0 deletions

View File

@ -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.