mirror of https://github.com/containers/podman.git
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:
commit
20d5b78a79
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue