From bec21cfce1f8694e7d36f403c99e3354902c53cb Mon Sep 17 00:00:00 2001 From: Peter Ericson Date: Sun, 19 Jul 2015 01:51:58 -0400 Subject: [PATCH 1/2] docs/api.md: singal -> signal --- docs/api.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/api.md b/docs/api.md index f1e2d034fd..f73ad84baa 100644 --- a/docs/api.md +++ b/docs/api.md @@ -511,7 +511,7 @@ Kill a container or send a signal to a container **Params**: * container (str): The container to kill -* signal (str or int): The singal to send. Defaults to `SIGKILL` +* signal (str or int): The signal to send. Defaults to `SIGKILL` ## load_image From 874be5b3338e80454c302b33eeb57cef7ab98e84 Mon Sep 17 00:00:00 2001 From: Peter Ericson Date: Sun, 19 Jul 2015 02:02:45 -0400 Subject: [PATCH 2/2] docs/api.md: rework stats params --- docs/api.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/docs/api.md b/docs/api.md index f73ad84baa..2dd175a4c7 100644 --- a/docs/api.md +++ b/docs/api.md @@ -726,6 +726,10 @@ Identical to the `docker search` command. Similar to the `docker start` command, but doesn't support attach options. Use `.logs()` to recover `stdout`/`stderr`. +**Params**: + +* container (str): The container to start + **Deprecation warning:** For API version > 1.15, it is highly recommended to provide host config options in the [`host_config` parameter of `create_container`](#create_container) @@ -748,7 +752,7 @@ This will stream statistics for a specific container. **Params**: -* container (str): The container to start +* container (str): The container to stream statistics for * decode (bool): If set to true, stream will be decoded into dicts on the fly. False by default.