mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Merge pull request #30265 from allencloud/add-CheckDuplicate-details-and-logic
add CheckDuplicate docs and logics in network
This commit is contained in:
commit
e1da516598
8 changed files with 48 additions and 6 deletions
|
|
@ -3281,7 +3281,12 @@ Content-Type: application/json
|
|||
**JSON parameters**:
|
||||
|
||||
- **Name** - The new network's name. this is a mandatory field
|
||||
- **CheckDuplicate** - Requests daemon to check for networks with same name. Defaults to `false`
|
||||
- **CheckDuplicate** - Requests daemon to check for networks with same name. Defaults to `false`.
|
||||
Since Network is primarily keyed based on a random ID and not on the name,
|
||||
and network name is strictly a user-friendly alias to the network
|
||||
which is uniquely identified using ID, there is no guaranteed way to check for duplicates.
|
||||
This parameter CheckDuplicate is there to provide a best effort checking of any networks
|
||||
which has the same name but it is not guaranteed to catch all name collisions.
|
||||
- **Driver** - Name of the network driver plugin to use. Defaults to `bridge` driver
|
||||
- **Internal** - Restrict external access to the network
|
||||
- **IPAM** - Optional custom IP scheme for the network
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue