mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Sync the docker network create api docs with the error code
Signed-off-by: Wen Cheng Ma <wenchma@cn.ibm.com>
This commit is contained in:
parent
0f749ad55a
commit
597835e645
2 changed files with 4 additions and 4 deletions
|
@ -2763,13 +2763,13 @@ Content-Type: application/json
|
|||
Status Codes:
|
||||
|
||||
- **201** - no error
|
||||
- **404** - driver not found
|
||||
- **404** - plugin not found
|
||||
- **500** - server error
|
||||
|
||||
JSON Parameters:
|
||||
|
||||
- **Name** - The new network's name. this is a mandatory field
|
||||
- **Driver** - Name of the network driver to use. Defaults to `bridge` driver
|
||||
- **Driver** - Name of the network driver plugin to use. Defaults to `bridge` driver
|
||||
- **IPAM** - Optional custom IP scheme for the network
|
||||
- **Options** - Network specific options to be used by the drivers
|
||||
- **CheckDuplicate** - Requests daemon to check for networks with same name
|
||||
|
|
|
@ -2893,13 +2893,13 @@ Content-Type: application/json
|
|||
Status Codes:
|
||||
|
||||
- **201** - no error
|
||||
- **404** - driver not found
|
||||
- **404** - plugin not found
|
||||
- **500** - server error
|
||||
|
||||
JSON Parameters:
|
||||
|
||||
- **Name** - The new network's name. this is a mandatory field
|
||||
- **Driver** - Name of the network driver to use. Defaults to `bridge` driver
|
||||
- **Driver** - Name of the network driver plugin to use. Defaults to `bridge` driver
|
||||
- **IPAM** - Optional custom IP scheme for the network
|
||||
- **Options** - Network specific options to be used by the drivers
|
||||
- **CheckDuplicate** - Requests daemon to check for networks with same name
|
||||
|
|
Loading…
Reference in a new issue