klee network rm
Remove one or more networks.
Usage
$ klee network rm [OPTIONS] NETWORKS...
Refer to the options section for an overview of available OPTIONS
for this command.
Description
Remove one or more networks. Any connected containers will be disconnected.
For example uses of this command, refer to the examples section below.
Options
Name, shorthand | Default | Description |
--help |
Show this message and exit. |
Examples
Remove a network
To remove the network named ‘my-network’:
$ klee network rm my-net
422aec867d4e
Remove multiple networks
To delete multiple networks in a single klee network rm
command, provide
multiple network identifiers, i.e., names, IDs, or initial segments of IDs:
$ klee network rm my-net2 f4c88f269007 ec03
6129eb13a227
f4c88f269007
ec033436e65e
When you specify multiple networks, Klee attempts to delete each in turn. If the deletion of one network fails, Klee stops deleting the remaining networks.
Parent command
Command | Description |
---|---|
klee network | Manage networks |