Skip to content

Commit cdc2d4e

Browse files
Merge pull request #26838 from Raghul-M/podmanrm
docs: Add missing --ignore flag example to podman rm man page
2 parents e8a40a3 + e1d6dfd commit cdc2d4e

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

docs/source/markdown/podman-rm.1.md.in

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,15 @@ Remove by network:
151151
$ podman rm --filter network=web-net
152152
1c057cac90c0512df86197599eef5a9485afc900b1ade03c9739fa24c360bbda
153153
```
154+
155+
Remove containers ignoring errors if they don't exist :
156+
```
157+
$ podman rm --ignore mycontainer1 mycontainer2 nonexistent-container
158+
mycontainer1
159+
mycontainer2
160+
```
161+
162+
154163
## Exit Status
155164
**0** All specified containers removed
156165

0 commit comments

Comments
 (0)