Function: networkConnect() ​
networkConnect(
opts
):Promise
<NetworkConnectResponse
>
Connect a container to a network
The network must be either a local-scoped network or a swarm-scoped network with the attachable
option set. A network cannot be re-attached to a running container
Parameters ​
Parameter | Type |
---|---|
|
Returns ​
Promise
<NetworkConnectResponse
>