summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxime Petazzoni <maxime.petazzoni@bulix.org>2015-08-25 14:53:40 +0200
committerMaxime Petazzoni <maxime.petazzoni@bulix.org>2015-08-25 14:53:40 +0200
commit4d2c15fad15fc9dcb102d273c45277f3b09fecab (patch)
treec33cc6ddee112b8d9146a7ac7aad5a16244ed9a8
parent747c1ca290fb4c71de6ddabfa3274f2e606717b9 (diff)
parent1cb8894024ec0a6d823d0a652c35bfeaf74a08b0 (diff)
downloaddocker-py-4d2c15fad15fc9dcb102d273c45277f3b09fecab.tar.gz
Merge pull request #733 from ColinHuang/doc
Add resize API in doc
-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.