v3

latestOpenAPI 3.0.0raw.githubusercontent.com2026-02-14107155281.0 KB

Create a network

post/networks/create

Request body

Namestring required
Driverstring
Scopestring
Internalboolean
Attachableboolean
Ingressboolean
ConfigOnlyboolean
EnableIPv4boolean
EnableIPv6boolean
Optionsobject
Labelsobject

Response

The request has succeeded.

Idstring required

The ID of the created network.

Warningstring required

Warnings encountered when creating the container