mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Merge pull request #19090 from thaJeztah/fix-api-markdown
fix markdown and typos in API docs
This commit is contained in:
commit
3442339b98
1 changed files with 7 additions and 11 deletions
|
@ -862,9 +862,10 @@ This endpoint returns a live stream of a container's resource usage statistics.
|
||||||
"total_usage" : 36488948,
|
"total_usage" : 36488948,
|
||||||
"usage_in_kernelmode" : 20000000
|
"usage_in_kernelmode" : 20000000
|
||||||
},
|
},
|
||||||
"system_cpu_usage" : 20091722000000000,
|
"system_cpu_usage" : 20091722000000000,
|
||||||
"throttling_data" : {}
|
"throttling_data" : {}
|
||||||
} }
|
}
|
||||||
|
}
|
||||||
|
|
||||||
Query Parameters:
|
Query Parameters:
|
||||||
|
|
||||||
|
@ -923,7 +924,7 @@ Start the container `id`
|
||||||
|
|
||||||
Query Parameters:
|
Query Parameters:
|
||||||
|
|
||||||
- **detacheys** – Override the key sequence for detaching a
|
- **detachKeys** – Override the key sequence for detaching a
|
||||||
container. Format is a single character `[a-Z]` or `ctrl-<value>`
|
container. Format is a single character `[a-Z]` or `ctrl-<value>`
|
||||||
where `<value>` is one of: `a-z`, `@`, `^`, `[`, `,` or `_`.
|
where `<value>` is one of: `a-z`, `@`, `^`, `[`, `,` or `_`.
|
||||||
|
|
||||||
|
@ -1138,7 +1139,7 @@ Attach to the container `id`
|
||||||
|
|
||||||
Query Parameters:
|
Query Parameters:
|
||||||
|
|
||||||
- **detacheys** – Override the key sequence for detaching a
|
- **detachKeys** – Override the key sequence for detaching a
|
||||||
container. Format is a single character `[a-Z]` or `ctrl-<value>`
|
container. Format is a single character `[a-Z]` or `ctrl-<value>`
|
||||||
where `<value>` is one of: `a-z`, `@`, `^`, `[`, `,` or `_`.
|
where `<value>` is one of: `a-z`, `@`, `^`, `[`, `,` or `_`.
|
||||||
- **logs** – 1/True/true or 0/False/false, return logs. Default `false`.
|
- **logs** – 1/True/true or 0/False/false, return logs. Default `false`.
|
||||||
|
@ -1221,7 +1222,7 @@ Implements websocket protocol handshake according to [RFC 6455](http://tools.iet
|
||||||
|
|
||||||
Query Parameters:
|
Query Parameters:
|
||||||
|
|
||||||
- **detacheys** – Override the key sequence for detaching a
|
- **detachKeys** – Override the key sequence for detaching a
|
||||||
container. Format is a single character `[a-Z]` or `ctrl-<value>`
|
container. Format is a single character `[a-Z]` or `ctrl-<value>`
|
||||||
where `<value>` is one of: `a-z`, `@`, `^`, `[`, `,` or `_`.
|
where `<value>` is one of: `a-z`, `@`, `^`, `[`, `,` or `_`.
|
||||||
- **logs** – 1/True/true or 0/False/false, return logs. Default `false`.
|
- **logs** – 1/True/true or 0/False/false, return logs. Default `false`.
|
||||||
|
@ -2501,7 +2502,7 @@ Json Parameters:
|
||||||
- **AttachStdin** - Boolean value, attaches to `stdin` of the `exec` command.
|
- **AttachStdin** - Boolean value, attaches to `stdin` of the `exec` command.
|
||||||
- **AttachStdout** - Boolean value, attaches to `stdout` of the `exec` command.
|
- **AttachStdout** - Boolean value, attaches to `stdout` of the `exec` command.
|
||||||
- **AttachStderr** - Boolean value, attaches to `stderr` of the `exec` command.
|
- **AttachStderr** - Boolean value, attaches to `stderr` of the `exec` command.
|
||||||
- **Detacheys** – Override the key sequence for detaching a
|
- **DetachKeys** – Override the key sequence for detaching a
|
||||||
container. Format is a single character `[a-Z]` or `ctrl-<value>`
|
container. Format is a single character `[a-Z]` or `ctrl-<value>`
|
||||||
where `<value>` is one of: `a-z`, `@`, `^`, `[`, `,` or `_`.
|
where `<value>` is one of: `a-z`, `@`, `^`, `[`, `,` or `_`.
|
||||||
- **Tty** - Boolean value to allocate a pseudo-TTY.
|
- **Tty** - Boolean value to allocate a pseudo-TTY.
|
||||||
|
@ -2973,11 +2974,6 @@ Create a network
|
||||||
|
|
||||||
**Example request**:
|
**Example request**:
|
||||||
|
|
||||||
```
|
|
||||||
Create a network
|
|
||||||
|
|
||||||
**Example request**:
|
|
||||||
|
|
||||||
```
|
```
|
||||||
POST /networks/create HTTP/1.1
|
POST /networks/create HTTP/1.1
|
||||||
Content-Type: application/json
|
Content-Type: application/json
|
||||||
|
|
Loading…
Add table
Reference in a new issue