summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--docs/api.md10
1 files changed, 10 insertions, 0 deletions
diff --git a/docs/api.md b/docs/api.md
index b9b29c5..1fdbd1e 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.