mirror of https://github.com/docker/docker-py.git
Add resize API in doc
This commit is contained in:
parent
9bb6a6fd56
commit
1cb8894024
10
docs/api.md
10
docs/api.md
|
@ -703,6 +703,16 @@ Rename a container. Similar to the `docker rename` command.
|
||||||
* container (str): ID of the container to rename
|
* container (str): ID of the container to rename
|
||||||
* name (str): New name for the container
|
* 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
|
||||||
|
|
||||||
Restart a container. Similar to the `docker restart` command.
|
Restart a container. Similar to the `docker restart` command.
|
||||||
|
|
Loading…
Reference in New Issue