Skip to content

dsdk / v1.47 / networkList

Function: networkList() ​

networkList(opts): Promise<NetworkListResponse>

List networks

Returns a list of networks. For details on the format, see the network inspect endpoint.

Note that it uses a different, smaller representation of a network than inspecting a single network. For example, the list of containers attached to the network is not propagated in API versions 1.28 and up.

Parameters ​

ParameterType

opts

ExtendedOptions<NetworkListData>

Returns ​

Promise<NetworkListResponse>