mirror of
https://github.com/clearlinux/docker.git
synced 2026-08-28 21:35:47 +00:00
929f2c2f40
Addresses #14756 Signed-off-by: Srini Brahmaroutu <srbrahma@us.ibm.com>
17 lines
409 B
Go
17 lines
409 B
Go
// +build experimental
|
|
|
|
package client
|
|
|
|
import (
|
|
"os"
|
|
|
|
nwclient "github.com/docker/libnetwork/client"
|
|
)
|
|
|
|
// CmdNetwork is used to create, display and configure network endpoints.
|
|
func (cli *DockerCli) CmdNetwork(args ...string) error {
|
|
nCli := nwclient.NewNetworkCli(cli.out, cli.err, nwclient.CallFunc(cli.callWrapper))
|
|
args = append([]string{"network"}, args...)
|
|
return nCli.Cmd(os.Args[0], args...)
|
|
}
|