Merge pull request #26442 from shu-kitamura/example_network-rm-time

docs: add an example to podman-network-rm man page
This commit is contained in:
openshift-merge-bot[bot] 2025-06-17 13:32:02 +00:00 committed by GitHub
commit 20d5b78a79
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 8 additions and 2 deletions

View File

@ -24,13 +24,19 @@ Seconds to wait before forcibly stopping the running containers that are using t
Delete specified network: Delete specified network:
``` ```
# podman network rm podman9 # podman network rm podman9
Deleted: podman9 podman9
``` ```
Delete specified network and all containers associated with the network: Delete specified network and all containers associated with the network:
``` ```
# podman network rm -f fred # podman network rm -f fred
Deleted: fred fred
```
Delete specified network and all containers associated with the network after waiting up to 15 seconds:
```
# podman network rm --force --time 15 fred
fred
``` ```
## Exit Status ## Exit Status