Skip to content

Conversation

@Raghul-M
Copy link
Contributor

Does this PR introduce a user-facing change?

None

Add missing --ignore flag example to podman-rm man page

This PR addresses the missing example for the --ignore flag in the podman rm
command documentation. The --ignore flag is particularly useful for scripting
scenarios where containers may or may not exist.

Added example shows:

  • How to use --ignore when removing multiple containers
  • Demonstrates that the command succeeds even when some containers don't exist
  • Shows expected output when containers are successfully removed

The --ignore flag prevents errors when trying to remove non-existent containers,
making it valuable for automation scripts and cleanup operations where container
existence is uncertain.

Before this change, users could see the --ignore flag was available in the
OPTIONS section but had no practical example of how to use it effectively.

This improvement helps users understand when and how to use the --ignore flag
for more robust container management scripts.

Fixes: #26369

Signed-off-by: Raghul-M raghul.m1430@gmail.com

Signed-off-by: Raghul-M <raghul.m1430@gmail.com>
@Raghul-M
Copy link
Contributor Author

/assign @baude

Copy link
Member

@Honny1 Honny1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, LGTM

@Raghul-M
Copy link
Contributor Author

@baude can you approve and merge this PR

@baude
Copy link
Member

baude commented Aug 18, 2025

/approve
/lgtm

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Aug 18, 2025
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Aug 18, 2025

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: baude, Honny1, Raghul-M

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Aug 18, 2025
@openshift-merge-bot openshift-merge-bot bot merged commit cdc2d4e into containers:main Aug 18, 2025
38 of 40 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged. release-note-none

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Manpages: Missing example of --ignore flag in podman ignore manpage

3 participants