diff options
| author | Colin Huang <sidawei@gmail.com> | 2015-08-25 09:40:21 +0800 |
|---|---|---|
| committer | Colin Huang <sidawei@gmail.com> | 2015-08-25 09:40:21 +0800 |
| commit | 1cb8894024ec0a6d823d0a652c35bfeaf74a08b0 (patch) | |
| tree | c6ad172cca825f44252320921296cc1761f1f9e7 /docs/api.md | |
| parent | 9bb6a6fd5649e33af88242b09fa0a5d979ea9220 (diff) | |
| download | docker-py-1cb8894024ec0a6d823d0a652c35bfeaf74a08b0.tar.gz | |
Add resize API in doc
Diffstat (limited to 'docs/api.md')
| -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. |
