Browse code

add docs

Signed-off-by: Victor Vieux <vieux@docker.com>

Victor Vieux authored on 2014/12/24 09:03:24
Showing 3 changed files
... ...
@@ -64,7 +64,7 @@ func (e *execStore) Delete(id string) {
64 64
 func (e *execStore) List() []string {
65 65
 	var IDs []string
66 66
 	e.RLock()
67
-	for id, _ := range e.s {
67
+	for id := range e.s {
68 68
 		IDs = append(IDs, id)
69 69
 	}
70 70
 	e.RUnlock()
... ...
@@ -51,6 +51,11 @@ You can still call an old version of the API using
51 51
 **New!**
52 52
 Docker client now hints potential proxies about connection hijacking using HTTP Upgrade headers.
53 53
 
54
+`GET /containers/(id)/json`
55
+
56
+**New!**
57
+This endpoint now returns the list current execs associated with the container (`ExecIDs`).
58
+
54 59
 ## v1.16
55 60
 
56 61
 ### Full Documentation
... ...
@@ -310,6 +310,9 @@ Return low-level information on the container `id`
310 310
                      "SysInitPath": "/home/kitty/go/src/github.com/docker/docker/bin/docker",
311 311
                      "ResolvConfPath": "/etc/resolv.conf",
312 312
                      "Volumes": {},
313
+                     "ExecIDs": [
314
+                         "15f211491dced6a353a2e0f37fe3f3692ee2370a4782418e9bf7052865c10fde"
315
+                     ],
313 316
                      "HostConfig": {
314 317
                          "Binds": null,
315 318
                          "ContainerIDFile": "",