podman network rm --force fails when the network is used by a pod #7791
Labels
kind/bug
Categorizes issue or PR as related to a bug.
locked - please file new issue/PR
Assist humans wanting to comment on an old issue or PR with locked comments.
Is this a BUG REPORT or FEATURE REQUEST? (leave only one on its own line)
/kind bug
Description
podman network rm --force
fails when the network is used by a pod.Steps to reproduce the issue:
Describe the results you received:
Error: container 5cbf27a71bbd576c4449788859148feb4ec46a8bcfd6068ff06b01fc98353427 is the infra container of pod 38e69fa18b8462743bd878050ae2cf643c38debb8fa147dd384401bdf1c82ea3 and cannot be removed without removing the pod
The network is not removed with --force set.
Describe the results you expected:
The network and pod should have been removed.
Output of
podman version
:Output of
podman info --debug
:The text was updated successfully, but these errors were encountered: