DockerCLI/cli/command/network
Conner Crosby 0ea587b0d7
Add --force option to network rm subcommand
The code is similar to that used by the volume rm subcommand, however,
one difference I noticed was VolumeRemove takes the force flag/option
was a parameter. This isn't the case for NetworkRemove.

To get NetworkRemove to take a similar parameter, this would require
modifying the Docker daemon. For now this isn't a route I wish to take
when the code can be arrange to mimic the same behavior.

Co-authored-by: Sebastiaan van Stijn <github@gone.nl>
Signed-off-by: Conner Crosby <conner@cavcrosby.tech>
2022-04-29 13:56:33 +02:00
..
testdata formatter: reduce minimum width for columns in table-view 2020-08-31 16:31:15 +02:00
client_test.go Add --force option to network rm subcommand 2022-04-29 13:56:33 +02:00
cmd.go Hide "builder" and "network" commands on old API versions 2019-01-30 01:06:09 +01:00
connect.go Refactor network parsing, add preliminary support for multiple networks 2019-04-03 16:42:57 +02:00
connect_test.go cli/command/context: remove deprecated io/ioutil 2022-02-25 15:42:05 +01:00
create.go Update flag doc 2019-10-29 12:01:30 +01:00
create_test.go cli/command/context: remove deprecated io/ioutil 2022-02-25 15:42:05 +01:00
disconnect.go Switch from x/net/context to context 2018-05-11 16:49:43 -07:00
disconnect_test.go cli/command/context: remove deprecated io/ioutil 2022-02-25 15:42:05 +01:00
formatter.go formatter package heavy refactoring 2018-10-23 17:05:44 +02:00
formatter_test.go linting: fix incorrectly formatted errors (revive) 2022-03-28 10:37:25 +02:00
inspect.go Output compact JSON by default for --format=json 2022-03-15 15:42:35 +01:00
list.go Update list commands with better format flag description 2022-03-15 15:35:53 +01:00
list_test.go cli/command/context: remove deprecated io/ioutil 2022-02-25 15:42:05 +01:00
prune.go improve "network prune" output to mention custom networks only 2020-04-10 13:45:10 +02:00
remove.go Add --force option to network rm subcommand 2022-04-29 13:56:33 +02:00
remove_test.go Add --force option to network rm subcommand 2022-04-29 13:56:33 +02:00