Podmanはコンテナを終了できません。実行中ではありませんが、状態が正しくありません。

Podmanはコンテナを終了できません。実行中ではありませんが、状態が正しくありません。

走ると手にpodman container kill -a入る

can only kill running containers. 11d887d57069b3ee630fd6f1b13d600485c34f5020ff09fec65f4e31dd7242a5 is in state configured: container state improper
can only kill running containers. 2132c0543eedbe3c4ee8680da508fea6251d38107d5e707f260eb5aa8549409d is in state configured: container state improper
can only kill running containers. 2db317cc73ec92e434fda88653f872e4c4cf07e9f32c0c29ecc5e69515beb96d is in state exited: container state improper
can only kill running containers. 465d133dec7a568bd8a6231036e1c489b6a6f88c65154629d75ce4161fb6e3c4 is in state exited: container state improper

その後の実行では、まだコンテナが表示されます。どのように削除できますか?

ベストアンサー1

私の考えでは実行されていないコンテナをターゲットにしてはいけないので、これはバグのようです。podman kill -a

私は以下を実行してこれらのコンテナを削除することができました。

podman container rm -fa

おすすめ記事