Browse Source

docs: Update `docker exec` examples

Signed-off-by: Fabio Rehm <fgrehm@gmail.com>
Fabio Rehm 10 years ago
parent
commit
6480b30a99
1 changed files with 2 additions and 2 deletions
  1. 2 2
      docs/sources/reference/api/docker_remote_api_v1.15.md

+ 2 - 2
docs/sources/reference/api/docker_remote_api_v1.15.md

@@ -1486,7 +1486,7 @@ starting the `exec` command. Otherwise, this API sets up an interactive session
 
 
 **Example request**:
 **Example request**:
 
 
-        POST /containers/e90e34656806/exec HTTP/1.1
+        POST /exec/e90e34656806/start HTTP/1.1
         Content-Type: application/json
         Content-Type: application/json
 
 
         {
         {
@@ -1522,7 +1522,7 @@ This API is valid only if `tty` was specified as part of creating and starting t
 
 
 **Example request**:
 **Example request**:
 
 
-        POST /containers/e90e34656806/exec HTTP/1.1
+        POST /exec/e90e34656806/resize HTTP/1.1
         Content-Type: plain/text
         Content-Type: plain/text
 
 
 **Example response**:
 **Example response**: