1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

Merge pull request #18743 from wenchma/plugin_not_found

Sync the docker network create api docs with the error code
This commit is contained in:
Sebastiaan van Stijn 2015-12-17 12:16:23 +01:00
commit 3f4dc49210
2 changed files with 4 additions and 4 deletions

View file

@ -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

View file

@ -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