// CmdNetworkRm deletes a network
//
// Usage: docker network rm <NETWORK-NAME | NETWORK-ID>
CmdNetworkRm deletes a network

docker network rm 
// CmdNetworkRm deletes a network // // Usage : docker network rm <NETWORK - NAME | NETWORK - ID >
func (cli *DockerCli) CmdNetworkRm(args ...string) error {
	cmd := Cli.Subcmd("network rm", []string{"NETWORK"}, "Deletes a network", false)
	cmd.Require(flag.Exact, 1)
	err := cmd.ParseFlags(args, true)
	if err != nil {
		return err
	}
	_, _, err = readBody(cli.call("DELETE", "/networks/"+cmd.Arg(0), nil, nil))
	if err != nil {
		return err
	}
	return nil
}
func ( cli * DockerCli ) CmdNetworkRm ( args ... string ) error { cmd := Cli . Subcmd ( " " , [ ] string { " " } , " " , false ) cmd . Require ( flag . Exact , 1 ) err := cmd . ParseFlags ( args , true ) if err != nil { return err } _ , _ , err = readBody ( cli . call ( " " , " " + cmd . Arg ( 0 ) , nil , nil ) ) if err != nil { return err } return nil }
CmdNetworkRm deletes a network
CmdNetworkRm deletes a network