DockerCLI/docs/reference/commandline
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
..
attach.md docs: use "console" code-hint for shell examples 2021-08-21 18:29:13 +02:00
build.md docs: build: add named anchor tags for flags 2022-03-30 12:42:26 +02:00
checkpoint.md Update most links in docs to use https by default 2021-10-15 15:04:36 +08:00
cli.md tweak description of "docker run" command 2022-04-01 12:28:37 +02:00
commit.md docs: add anchor-tags for flags 2022-03-30 15:05:29 +02:00
config.md move orchestration commands to their own section in --help output 2022-04-08 16:55:34 +02:00
config_create.md docs: add anchor-tags for flags 2022-03-30 15:05:29 +02:00
config_inspect.md docs: add anchor-tags for flags 2022-03-30 15:05:29 +02:00
config_ls.md docs: add anchor-tags for flags 2022-03-30 15:05:29 +02:00
config_rm.md docs: use "console" code-hint for shell examples 2021-08-21 18:29:13 +02:00
container.md tweak description of "docker run" command 2022-04-01 12:28:37 +02:00
container_prune.md docs: add anchor-tags for flags 2022-03-30 15:05:29 +02:00
context.md docs: fix (table) formatting, fix some broken links 2022-03-30 15:03:25 +02:00
context_create.md docs: add anchor-tags for flags 2022-03-30 15:05:29 +02:00
context_export.md docs: remove deprecated orchestrator flags 2022-02-24 12:28:29 +01:00
context_import.md docs: fix, and touch-up "docker context" docs 2020-05-07 13:53:25 +02:00
context_inspect.md Output compact JSON by default for --format=json 2022-03-15 15:42:35 +01:00
context_ls.md docs: fix (table) formatting, fix some broken links 2022-03-30 15:03:25 +02:00
context_rm.md docs: fix, and touch-up "docker context" docs 2020-05-07 13:53:25 +02:00
context_show.md introduce `context show` command 2022-04-25 14:40:24 +02:00
context_update.md docs: remove deprecated orchestrator flags 2022-02-24 12:28:29 +01:00
context_use.md docs: fix (table) formatting, fix some broken links 2022-03-30 15:03:25 +02:00
cp.md docs: reference: remove trailing space to fix yaml formatting 2022-04-01 21:31:14 +02:00
create.md cli/command: Add quiet option for create and run 2022-03-01 14:20:18 +01:00
diff.md docs: use "console" code-hint for shell examples 2021-08-21 18:29:13 +02:00
dockerd.md tweak description of login/logout 2022-04-04 10:44:11 +02:00
events.md docs: add anchor-tags for flags 2022-03-30 15:05:29 +02:00
exec.md tweak description of "docker exec" command 2022-04-01 12:28:34 +02:00
export.md docs: use "console" code-hint for shell examples 2021-08-21 18:29:13 +02:00
history.md docs: add anchor-tags for flags 2022-03-30 15:05:29 +02:00
image.md tweak description of "docker push" and "docker pull" commands 2022-04-01 12:33:05 +02:00
image_prune.md docs: add anchor-tags for flags 2022-03-30 15:05:29 +02:00
images.md docs: add anchor-tags for flags 2022-03-30 15:05:29 +02:00
import.md docs: fix (table) formatting, fix some broken links 2022-03-30 15:03:25 +02:00
index.md tweak description of login/logout 2022-04-04 10:44:11 +02:00
info.md docs: add anchor-tags for flags 2022-03-30 15:05:29 +02:00
inspect.md docs: add anchor-tags for flags 2022-03-30 15:05:29 +02:00
kill.md docs: add anchor-tags for flags 2022-03-30 15:05:29 +02:00
load.md docs: add anchor-tags for flags 2022-03-30 15:05:29 +02:00
login.md tweak description of login/logout 2022-04-04 10:44:11 +02:00
logout.md tweak description of login/logout 2022-04-04 10:44:11 +02:00
logs.md docs: add anchor-tags for flags 2022-03-30 15:05:29 +02:00
manifest.md tweak description of login/logout 2022-04-04 10:44:11 +02:00
network.md reference docs: fix broken links and markdown touch-ups 2020-04-19 17:13:07 +02:00
network_connect.md docs: add anchor-tags for flags 2022-03-30 15:05:29 +02:00
network_create.md docs: add anchor-tags for flags 2022-03-30 15:05:29 +02:00
network_disconnect.md docs: use "console" code-hint for shell examples 2021-08-21 18:29:13 +02:00
network_inspect.md docs: add anchor-tags for flags 2022-03-30 15:05:29 +02:00
network_ls.md docs: add anchor-tags for flags 2022-03-30 15:05:29 +02:00
network_prune.md docs: add anchor-tags for flags 2022-03-30 15:05:29 +02:00
network_rm.md Add --force option to network rm subcommand 2022-04-29 13:56:33 +02:00
node.md remove unneeded comment from reference files 2020-03-19 15:15:23 +01:00
node_demote.md docs: use "console" code-hint for shell examples 2021-08-21 18:29:13 +02:00
node_inspect.md docs: add anchor-tags for flags 2022-03-30 15:05:29 +02:00
node_ls.md docs: add anchor-tags for flags 2022-03-30 15:05:29 +02:00
node_promote.md docs: use "console" code-hint for shell examples 2021-08-21 18:29:13 +02:00
node_ps.md docs: add anchor-tags for flags 2022-03-30 15:05:29 +02:00
node_rm.md docs: add anchor-tags for flags 2022-03-30 15:05:29 +02:00
node_update.md docs: add anchor-tags for flags 2022-03-30 15:05:29 +02:00
pause.md docs: use "console" code-hint for shell examples 2021-08-21 18:29:13 +02:00
plugin.md remove unneeded comment from reference files 2020-03-19 15:15:23 +01:00
plugin_create.md docs: use "console" code-hint for shell examples 2021-08-21 18:29:13 +02:00
plugin_disable.md docs: use "console" code-hint for shell examples 2021-08-21 18:29:13 +02:00
plugin_enable.md docs: use "console" code-hint for shell examples 2021-08-21 18:29:13 +02:00
plugin_inspect.md docs: add anchor-tags for flags 2022-03-30 15:05:29 +02:00
plugin_install.md docs: use "console" code-hint for shell examples 2021-08-21 18:29:13 +02:00
plugin_ls.md docs: add anchor-tags for flags 2022-03-30 15:05:29 +02:00
plugin_push.md docs: use "console" code-hint for shell examples 2021-08-21 18:29:13 +02:00
plugin_rm.md docs: use "console" code-hint for shell examples 2021-08-21 18:29:13 +02:00
plugin_set.md docs: use "console" code-hint for shell examples 2021-08-21 18:29:13 +02:00
plugin_upgrade.md docs: use "console" code-hint for shell examples 2021-08-21 18:29:13 +02:00
port.md docs: use "console" code-hint for shell examples 2021-08-21 18:29:13 +02:00
ps.md docs: add anchor-tags for flags 2022-03-30 15:05:29 +02:00
pull.md Merge pull request #3509 from thaJeztah/docs_anchors 2022-04-01 20:40:16 +02:00
push.md Merge pull request #3509 from thaJeztah/docs_anchors 2022-04-01 20:40:16 +02:00
rename.md docs: use "console" code-hint for shell examples 2021-08-21 18:29:13 +02:00
restart.md docs: use "console" code-hint for shell examples 2021-08-21 18:29:13 +02:00
rm.md docs: add anchor-tags for flags 2022-03-30 15:05:29 +02:00
rmi.md docs: use "console" code-hint for shell examples 2021-08-21 18:29:13 +02:00
run.md Merge pull request #3509 from thaJeztah/docs_anchors 2022-04-01 20:40:16 +02:00
save.md docs: use "console" code-hint for shell examples 2021-08-21 18:29:13 +02:00
search.md docs: add anchor-tags for flags 2022-03-30 15:05:29 +02:00
secret.md move orchestration commands to their own section in --help output 2022-04-08 16:55:34 +02:00
secret_create.md docs: add anchor-tags for flags 2022-03-30 15:05:29 +02:00
secret_inspect.md docs: add anchor-tags for flags 2022-03-30 15:05:29 +02:00
secret_ls.md docs: add anchor-tags for flags 2022-03-30 15:05:29 +02:00
secret_rm.md docs: use "console" code-hint for shell examples 2021-08-21 18:29:13 +02:00
service.md move orchestration commands to their own section in --help output 2022-04-08 16:55:34 +02:00
service_create.md docs: add anchor-tags for flags 2022-03-30 15:05:29 +02:00
service_inspect.md docs: add anchor-tags for flags 2022-03-30 15:05:29 +02:00
service_logs.md fix docs, completion and docker service 2020-08-06 17:37:08 +03:00
service_ls.md docs: add anchor-tags for flags 2022-03-30 15:05:29 +02:00
service_ps.md docs: add anchor-tags for flags 2022-03-30 15:05:29 +02:00
service_rm.md docs: use "console" code-hint for shell examples 2021-08-21 18:29:13 +02:00
service_rollback.md docs: use "console" code-hint for shell examples 2021-08-21 18:29:13 +02:00
service_scale.md docs: use "console" code-hint for shell examples 2021-08-21 18:29:13 +02:00
service_update.md docs: add anchor-tags for flags 2022-03-30 15:05:29 +02:00
stack.md move orchestration commands to their own section in --help output 2022-04-08 16:55:34 +02:00
stack_deploy.md docs: add anchor-tags for flags 2022-03-30 15:05:29 +02:00
stack_ls.md docs: add anchor-tags for flags 2022-03-30 15:05:29 +02:00
stack_ps.md docs: add anchor-tags for flags 2022-03-30 15:05:29 +02:00
stack_rm.md docs: remove deprecated orchestrator flags 2022-02-24 12:28:29 +01:00
stack_services.md docs: add anchor-tags for flags 2022-03-30 15:05:29 +02:00
start.md docs: use "console" code-hint for shell examples 2021-08-21 18:29:13 +02:00
stats.md docs: add anchor-tags for flags 2022-03-30 15:05:29 +02:00
stop.md docs: use "console" code-hint for shell examples 2021-08-21 18:29:13 +02:00
swarm.md remove unneeded comment from reference files 2020-03-19 15:15:23 +01:00
swarm_ca.md docs: add anchor-tags for flags 2022-03-30 15:05:29 +02:00
swarm_init.md docs: use "console" code-hint for shell examples 2021-08-21 18:29:13 +02:00
swarm_join-token.md docs: use "console" code-hint for shell examples 2021-08-21 18:29:13 +02:00
swarm_join.md docs: use "console" code-hint for shell examples 2021-08-21 18:29:13 +02:00
swarm_leave.md docs: use "console" code-hint for shell examples 2021-08-21 18:29:13 +02:00
swarm_unlock-key.md docs: use "console" code-hint for shell examples 2021-08-21 18:29:13 +02:00
swarm_unlock.md docs: use "console" code-hint for shell examples 2021-08-21 18:29:13 +02:00
swarm_update.md docs: use "console" code-hint for shell examples 2021-08-21 18:29:13 +02:00
system.md remove unneeded comment from reference files 2020-03-19 15:15:23 +01:00
system_df.md docs: add anchor-tags for flags 2022-03-30 15:05:29 +02:00
system_events.md docs: add anchor-tags for flags 2022-03-30 15:05:29 +02:00
system_prune.md docs: add anchor-tags for flags 2022-03-30 15:05:29 +02:00
tag.md docs: hyphens are not dashes 2022-03-20 18:42:18 -05:00
top.md remove unneeded comment from reference files 2020-03-19 15:15:23 +01:00
trust_inspect.md docs: use "console" code-hint for shell examples 2021-08-21 18:29:13 +02:00
trust_key_generate.md docs: use "console" code-hint for shell examples 2021-08-21 18:29:13 +02:00
trust_key_load.md docs: use "console" code-hint for shell examples 2021-08-21 18:29:13 +02:00
trust_revoke.md docs: use "console" code-hint for shell examples 2021-08-21 18:29:13 +02:00
trust_sign.md docs: use "console" code-hint for shell examples 2021-08-21 18:29:13 +02:00
trust_signer_add.md docs: use "console" code-hint for shell examples 2021-08-21 18:29:13 +02:00
trust_signer_remove.md docs: use "console" code-hint for shell examples 2021-08-21 18:29:13 +02:00
unpause.md docs: use "console" code-hint for shell examples 2021-08-21 18:29:13 +02:00
update.md docs: add anchor-tags for flags 2022-03-30 15:05:29 +02:00
version.md introduce `context show` command 2022-04-25 14:40:24 +02:00
volume.md reference docs: fix broken links and markdown touch-ups 2020-04-19 17:13:07 +02:00
volume_create.md docs: add anchor-tags for flags 2022-03-30 15:05:29 +02:00
volume_inspect.md docs: add anchor-tags for flags 2022-03-30 15:05:29 +02:00
volume_ls.md docs: add anchor-tags for flags 2022-03-30 15:05:29 +02:00
volume_prune.md docs: add anchor-tags for flags 2022-03-30 15:05:29 +02:00
volume_rm.md docs: use "console" code-hint for shell examples 2021-08-21 18:29:13 +02:00
wait.md docs: use "console" code-hint for shell examples 2021-08-21 18:29:13 +02:00