mirror of
https://github.com/containers/podman.git
synced 2025-10-13 01:06:10 +08:00
Merge pull request #26838 from Raghul-M/podmanrm
docs: Add missing --ignore flag example to podman rm man page
This commit is contained in:
@ -151,6 +151,15 @@ Remove by network:
|
|||||||
$ podman rm --filter network=web-net
|
$ podman rm --filter network=web-net
|
||||||
1c057cac90c0512df86197599eef5a9485afc900b1ade03c9739fa24c360bbda
|
1c057cac90c0512df86197599eef5a9485afc900b1ade03c9739fa24c360bbda
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Remove containers ignoring errors if they don't exist :
|
||||||
|
```
|
||||||
|
$ podman rm --ignore mycontainer1 mycontainer2 nonexistent-container
|
||||||
|
mycontainer1
|
||||||
|
mycontainer2
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
## Exit Status
|
## Exit Status
|
||||||
**0** All specified containers removed
|
**0** All specified containers removed
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user