// CmdNetworkInspect inspects the network object for more details
//
// Usage: docker network inspect <NETWORK>
// CmdNetworkInspect handles Network inspect UI
CmdNetworkInspect inspects the network object for more details

docker network inspect 
CmdNetworkInspect handles Network inspect UI
// CmdNetworkInspect inspects the network object for more details // // Usage : docker network inspect <NETWORK > // CmdNetworkInspect handles Network inspect UI
func (cli *DockerCli) CmdNetworkInspect(args ...string) error {
	cmd := Cli.Subcmd("network inspect", []string{"NETWORK"}, "Displays detailed information on a network", false)
	cmd.Require(flag.Exact, 1)
	err := cmd.ParseFlags(args, true)
	if err != nil {
		return err
	}
	obj, _, err := readBody(cli.call("GET", "/networks/"+cmd.Arg(0), nil, nil))
	if err != nil {
		return err
	}
	networkResource := &types.NetworkResource{}
	if err := json.NewDecoder(bytes.NewReader(obj)).Decode(networkResource); err != nil {
		return err
	}
	indented := new(bytes.Buffer)
	if err := json.Indent(indented, obj, "", "    "); err != nil {
		return err
	}
	if _, err := io.Copy(cli.out, indented); err != nil {
		return err
	}
	return nil
}
func ( cli * DockerCli ) CmdNetworkInspect ( args ... string ) error { cmd := Cli . Subcmd ( " " , [ ] string { " " } , " " , false ) cmd . Require ( flag . Exact , 1 ) err := cmd . ParseFlags ( args , true ) if err != nil { return err } obj , _ , err := readBody ( cli . call ( " " , " " + cmd . Arg ( 0 ) , nil , nil ) ) if err != nil { return err } networkResource := & types . NetworkResource { } if err := json . NewDecoder ( bytes . NewReader ( obj ) ) . Decode ( networkResource ) ; err != nil { return err } indented := new ( bytes . Buffer ) if err := json . Indent ( indented , obj , " " , " " ) ; err != nil { return err } if _ , err := io . Copy ( cli . out , indented ) ; err != nil { return err } return nil }
CmdNetworkInspect inspects the network object for more details
CmdNetworkInspect inspects the network object for more details