Browse code

docs: Update `docker exec` examples

Signed-off-by: Fabio Rehm <fgrehm@gmail.com>

Fabio Rehm authored on 2014/10/03 12:58:50
Showing 1 changed files
... ...
@@ -1486,7 +1486,7 @@ starting the `exec` command. Otherwise, this API sets up an interactive session
1486 1486
 
1487 1487
 **Example request**:
1488 1488
 
1489
-        POST /containers/e90e34656806/exec HTTP/1.1
1489
+        POST /exec/e90e34656806/start HTTP/1.1
1490 1490
         Content-Type: application/json
1491 1491
 
1492 1492
         {
... ...
@@ -1522,7 +1522,7 @@ This API is valid only if `tty` was specified as part of creating and starting t
1522 1522
 
1523 1523
 **Example request**:
1524 1524
 
1525
-        POST /containers/e90e34656806/exec HTTP/1.1
1525
+        POST /exec/e90e34656806/resize HTTP/1.1
1526 1526
         Content-Type: plain/text
1527 1527
 
1528 1528
 **Example response**: