diff options
author | Maxime Petazzoni <maxime.petazzoni@bulix.org> | 2015-08-25 14:53:40 +0200 |
---|---|---|
committer | Maxime Petazzoni <maxime.petazzoni@bulix.org> | 2015-08-25 14:53:40 +0200 |
commit | 4d2c15fad15fc9dcb102d273c45277f3b09fecab (patch) | |
tree | c33cc6ddee112b8d9146a7ac7aad5a16244ed9a8 | |
parent | 747c1ca290fb4c71de6ddabfa3274f2e606717b9 (diff) | |
parent | 1cb8894024ec0a6d823d0a652c35bfeaf74a08b0 (diff) | |
download | docker-py-4d2c15fad15fc9dcb102d273c45277f3b09fecab.tar.gz |
Merge pull request #733 from ColinHuang/doc
Add resize API in doc
-rw-r--r-- | docs/api.md | 10 |
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. |