podman network rm accepts --ignore
Introduced 2026-08-12 · score 0.95
HOW TO USE IT
When cleanup may include network names that do not exist, run `podman network rm --ignore <network>...`; it ignores missing networks while returning other failures.
podman network rm --ignore <network>...WHY THIS HELPS
Remove networks during cleanup when some requested networks may not exist.
BEFORE THIS CHANGE
Run `podman network rm` without `--ignore`; attempts to remove nonexistent networks report errors.
REQUIREMENTS AND LIMITATIONS
- Version: v6.1.0
- --ignore, -i: Ignore an error when a specified network does not exist; other failures, including a network being in use, are still returned.
- [network...]: One or more networks to delete.
FIRST-PARTY EVIDENCE
- https://github.com/podman-container-tools/podman/releases/tag/v6.1.0
- https://github.com/podman-container-tools/podman/blob/v6.1.0/docs/source/markdown/podman-network-rm.1.md
Check the installed version and the source before using it. Entry JSON