Skip to content

Commit 4d2c15f

Browse files
committed
Merge pull request #733 from ColinHuang/doc
Add resize API in doc
2 parents 747c1ca + 1cb8894 commit 4d2c15f

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

docs/api.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -703,6 +703,16 @@ Rename a container. Similar to the `docker rename` command.
703703
* container (str): ID of the container to rename
704704
* name (str): New name for the container
705705

706+
## resize
707+
708+
Resize the tty session.
709+
710+
**Params**:
711+
712+
* container (str or dict): The container to resize
713+
* height (int): Height of tty session
714+
* width (int): Width of tty session
715+
706716
## restart
707717

708718
Restart a container. Similar to the `docker restart` command.

0 commit comments

Comments
 (0)